angular-isotope icon indicating copy to clipboard operation
angular-isotope copied to clipboard

$ not defined

Open designbyadrian opened this issue 10 years ago • 2 comments

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 avatar Apr 05 '15 18:04 designbyadrian

Both could use

angular.extend

instead

designbyadrian avatar Apr 05 '15 18:04 designbyadrian

+1

MattiJarvinen avatar Oct 29 '15 11:10 MattiJarvinen