teacup-rails 0.0.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/teacup-rails/version.rb +1 -1
- data/vendor/assets/javascripts/teacup.js +1 -1
- metadata +1 -1
data/lib/teacup-rails/version.rb
CHANGED
@@ -273,7 +273,7 @@
|
|
273
273
|
};
|
274
274
|
|
275
275
|
Teacup.prototype.coffeescript = function(fn) {
|
276
|
-
return this.raw("<script type=\"text/javascript\">(function() {\n var __slice = [].slice,\n __hasProp = {}.hasOwnProperty,\n __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };\n (" + (fn.toString()) + ")();\n})();</script>");
|
276
|
+
return this.raw("<script type=\"text/javascript\">(function() {\n var __slice = [].slice,\n __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n __hasProp = {}.hasOwnProperty,\n __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };\n (" + (fn.toString()) + ")();\n})();</script>");
|
277
277
|
};
|
278
278
|
|
279
279
|
Teacup.prototype.comment = function(text) {
|