Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
El identificador 'DoubleCenterException' ya ha sido declarado - Angular

Tengo un archivo JS personalizado en mi proyecto Angular. Lo he incluido en scripts en angular.json

 ! function(r) { "use strict"; var a = { init: () => { a.stickyHeader() }, stickyHeader: () => { r(".navbar").length && new Headhesive(".navbar", { offset: 350, offsetSide: "top", classes: { clone: "banner--clone fixed ", stick: "banner--stick", unstick: "banner--unstick" }, onStick: function() { r(r.SmartMenus.Bootstrap.init), r(".navbar:not(.fixed) .language-select .dropdown-menu").removeClass("show") }, AonUnstick: function() { r(".navbar.fixed .language-select .dropdown-menu").removeClass("show") } }) }, }; a.init() }(jQuery);

Pero cuando la aplicación angular se recarga, aparece un error:

 Uncaught SyntaxError: Identifier 'DoubleCenterException' has already been declared src\assets\site\js\theme.js:1

¿Cuál podría ser el problema en la línea 1?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!