Open raphaeljoie opened 7 years ago
When compiling inside a Rails project I get :
function Plugin(element1, options) { this.element = element1; this.options = $.extend({}, defaults, options); this.globals = {}; this.$container = $(element); if (this.errorCheck()) { this.init(); } }
and I always get an "element is not defined" error.
When compiling inside a Rails project I get :
and I always get an "element is not defined" error.