Skip to content
This repository has been archived by the owner on Sep 23, 2019. It is now read-only.

Import http.sfx.dev.js and compile without errors #6

Closed
nweedon opened this issue Aug 28, 2015 · 2 comments
Closed

Import http.sfx.dev.js and compile without errors #6

nweedon opened this issue Aug 28, 2015 · 2 comments
Milestone

Comments

@nweedon
Copy link
Owner

nweedon commented Aug 28, 2015

For reference, when importing the scripts from the following address: https://code.angularjs.org/2.0.0-alpha.35/http.sfx.dev.js, the following errors are displayed:

EXCEPTION: RangeError: Maximum call stack size exceeded
angular2.sfx.dev.js:27036 STACKTRACE:
angular2.sfx.dev.js:27036 RangeError: Maximum call stack size exceeded
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
    at assert (http.sfx.dev.js:8075)
angular2.sfx.dev.js:27040 EXCEPTION: TypeError: Cannot read property 'elementBinders' of undefined
angular2.sfx.dev.js:27036 STACKTRACE:
angular2.sfx.dev.js:27036 TypeError: Cannot read property 'elementBinders' of undefined
    at _collectNestedProtoViews (angular2.sfx.dev.js:18528)
    at System.register.execute.ProtoViewFactory.createAppProtoViews (angular2.sfx.dev.js:18878)
    at angular2.sfx.dev.js:35762
    at Zone.run (angular2.sfx.dev.js:136)
    at Zone.System.register.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (angular2.sfx.dev.js:20107)
    at zoneBoundFn (angular2.sfx.dev.js:109)
    at lib$es6$promise$$internal$$tryCatch (angular2.sfx.dev.js:1359)
    at lib$es6$promise$$internal$$invokeCallback (angular2.sfx.dev.js:1371)
    at lib$es6$promise$$internal$$publish (angular2.sfx.dev.js:1342)
    at angular2.sfx.dev.js:187

Make sure this is resolved so the Http class can start being converted.

@nweedon nweedon added this to the 0.3.3 milestone Aug 28, 2015
@nweedon
Copy link
Owner Author

nweedon commented Aug 29, 2015

Angular problem, opened angular/angular#3890. Can be resolved with the following for the time being (as a patch):

window.assert= function () {return true;};

@nweedon
Copy link
Owner Author

nweedon commented Aug 29, 2015

Closed. Patch will be removed once the above issue in Angular is resolved.

@nweedon nweedon closed this as completed Aug 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant