aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorjdomnitz <jdomnitz@gmail.com>2012-02-12 19:58:56 -0500
committerScott González <scott.gonzalez@gmail.com>2012-02-12 19:58:56 -0500
commit57fe6ed01d07162fa3c9f7893137c1be509fa625 (patch)
tree5228d07c3d6d984f0764dd58c2cbe6080136f36f /ui/jquery.ui.widget.js
parentadaba7790b676fb6d75dad027c012928d8946cf4 (diff)
downloadjquery-ui-57fe6ed01d07162fa3c9f7893137c1be509fa625.tar.gz
jquery-ui-57fe6ed01d07162fa3c9f7893137c1be509fa625.zip
JavaScript "strict mode" fixes
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r--ui/jquery.ui.widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index bf26373e1..2d48ae26d 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -182,7 +182,7 @@ $.widget.bridge = function( name, object ) {
if ( instance ) {
instance.option( options || {} )._init();
} else {
- object( options, this );
+ new object( options, this );
}
});
}