Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

AngularJS 1.3.0 fromFnPromise - Maximum call stack size exceeded #110

Closed
voslartomas opened this issue Oct 29, 2014 · 1 comment
Closed
Milestone

Comments

@voslartomas
Copy link

This code

$scope.dtOptions = DTOptionsBuilder.fromFnPromise(function() {
    return $resource('api/url').query().$promise;
})

works with AngularJS 1.2.6, but with newer version 1.3.0 throws this exception

RangeError: Maximum call stack size exceeded
    at e.toString (native)
@l-lin
Copy link
Owner

l-lin commented Oct 29, 2014

Related to #97.

@l-lin l-lin added this to the v0.3.0 milestone Nov 15, 2014
l-lin added a commit that referenced this issue Nov 15, 2014
* Add .esformatter
* Upgrade angular version dependency to 1.3.0+
* Resolve the maximum call stack when loading the options with promise
@l-lin l-lin closed this as completed Nov 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants