generators/jelly/templates/javascripts/jelly.js in honkster-jelly-0.13.0 vs generators/jelly/templates/javascripts/jelly.js in honkster-jelly-0.13.1
- old
+ new
@@ -1,9 +1,9 @@
/**
* Jelly. a sweet unobtrusive javascript framework for Rails
*
- * version 0.13.0
+ * version 0.13.1
*
* Copyright (c) 2009 Pivotal Labs
* Licensed under the MIT license.
*
* * Date: 2009-07-20 9:50:50 (Mon, 20 Jul 2009)
@@ -60,10 +60,10 @@
runAttachOp:function (op) {
if (op[0] !== "attach") {
throw "op " + JSON.stringify(op) + " is not an attach op"
}
var args = [op[1]];
- args.concat.apply(args, op.slice(2));
+ args.push.apply(args, op.slice(2));
Jelly.Observers.attach.apply(this, args);
},
attach:function () {
if (this === Jelly) {