Git Product home page Git Product logo

Comments (10)

mgechev avatar mgechev commented on July 18, 2024

Hi @jbadeau,

AngularAOP should work on IE9 unfortunately I don't have a machine with version of IE <11, so I can't test it.

Would you share the stack trace in the issue?

from angular-aop.

jbadeau avatar jbadeau commented on July 18, 2024

The IE9 stacktrace:

13:19:34 ERROR - {anonymous}(?)
printStackTrace(#object)
printStacktrace(["$stateChangeError",?])
{anonymous}("$stateChangeError",?)
{anonymous}(#object,#object,#object,#object,#object,?)
{anonymous}("$stateChangeError",#object,#object,#object,#object,?)
{anonymous}(?)
processQueue(#object)
{anonymous}(?,undefined)
{anonymous}(#function,undefined) $stateChangeError
Exception: Object expected

the error is caused because the service (e.g fooService) that is decorated is unknown. If I remove the aspects the service is injected. @injector.get('fooService') also fails

resolve : {
    foo : ['fooService', function(fooService) {}] // resolve exception as fooService is not found
}

both the config and service time decoration styles fail

from angular-aop.

eralha avatar eralha commented on July 18, 2024

I can confirm that http://plnkr.co/edit/0ThG5wpmWByIXY1db9m2?p=preview is showing error's on IE9:
Error: Unspecified error.undefined
TypeError: Object doesn't support property or method 'apply'undefined

from angular-aop.

mgechev avatar mgechev commented on July 18, 2024

Thanks! I'll fix it as soon as possible.

from angular-aop.

jbadeau avatar jbadeau commented on July 18, 2024

thanx for the fast response :)

from angular-aop.

mgechev avatar mgechev commented on July 18, 2024

Test with the master branch in order to verify whether the issue is fixed.

from angular-aop.

jbadeau avatar jbadeau commented on July 18, 2024

Yes, it fixed my issue :) Thanx

from angular-aop.

jbadeau avatar jbadeau commented on July 18, 2024

Do you plan to make a patch release 0.4.1 or something?

from angular-aop.

mgechev avatar mgechev commented on July 18, 2024

Yes, in 30ish min it'll be up & running.

from angular-aop.

mgechev avatar mgechev commented on July 18, 2024

Here it is!

from angular-aop.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.