From 21a294cf29814b046a7c042b8068e5156b3f8b6b Mon Sep 17 00:00:00 2001 From: vieron Date: Wed, 25 Jun 2014 23:10:59 +0200 Subject: [PATCH] chore: add reference to defaults in constructors --- src/jquery.collision.js | 1 + src/jquery.draggable.js | 2 ++ src/jquery.gridster.js | 1 + 3 files changed, 4 insertions(+) diff --git a/src/jquery.collision.js b/src/jquery.collision.js index 881af220d..4a15e8e34 100644 --- a/src/jquery.collision.js +++ b/src/jquery.collision.js @@ -59,6 +59,7 @@ this.init(); } + Collision.defaults = defaults; var fn = Collision.prototype; diff --git a/src/jquery.draggable.js b/src/jquery.draggable.js index 030404c4c..779d09f70 100644 --- a/src/jquery.draggable.js +++ b/src/jquery.draggable.js @@ -82,6 +82,8 @@ this.init(); } + Draggable.defaults = defaults; + var fn = Draggable.prototype; fn.init = function() { diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 5694bcfc2..c973749cb 100755 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -147,6 +147,7 @@ this.options.auto_init && this.init(); } + Gridster.defaults = defaults; Gridster.generated_stylesheets = [];