Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$ not defined #42

Open
designbyadrian opened this issue Apr 5, 2015 · 2 comments
Open

$ not defined #42

designbyadrian opened this issue Apr 5, 2015 · 2 comments

Comments

@designbyadrian
Copy link

ReferenceError: $ is not defined
    at Object.store (script.js:33170)
    at new <anonymous> (script.js:32804)
    at Object.invoke (script.js:4203)
    at $get.extend.instance (script.js:8493)
    at script.js:7739
    at forEach (script.js:331)
    at nodeLinkFn (script.js:7738)
    at compositeLinkFn (script.js:7117)
    at publicLinkFn (script.js:6996)
    at $get.boundTranscludeFn (script.js:7135)

I suspect these lines:

storedOptions = $.extend.apply(null, [true, storedOptions].concat(option));
return $.extend(reduction, item);

which are likely assuming JQuery.

@designbyadrian
Copy link
Author

Both could use

angular.extend

instead

@MattiJarvinen
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants