aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-02-03 12:01:26 -0500
committerScott González <scott.gonzalez@gmail.com>2011-02-03 12:01:26 -0500
commit678ff6326a984d4ff8e7f69fd31304c2520e66f3 (patch)
tree009e67dc7555d7b9749d092667c8a105d238437f /ui
parent352ef4c9b3bb46867ccff5aa6b2eb6a347013ba7 (diff)
downloadjquery-ui-678ff6326a984d4ff8e7f69fd31304c2520e66f3.tar.gz
jquery-ui-678ff6326a984d4ff8e7f69fd31304c2520e66f3.zip
Added version property to plugins that were missing them.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.autocomplete.js1
-rw-r--r--ui/jquery.ui.button.js4
-rw-r--r--ui/jquery.ui.menu.js2
-rw-r--r--ui/jquery.ui.spinner.js2
-rw-r--r--ui/jquery.ui.tooltip.js3
5 files changed, 11 insertions, 1 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 594d59530..c35d8180c 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -410,6 +410,7 @@ $.widget( "ui.autocomplete", {
});
$.extend( $.ui.autocomplete, {
+ version: "@VERSION",
escapeRegex: function( value ) {
return value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
},
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index 8f63ec57a..e19a68bfe 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -313,6 +313,8 @@ $.widget( "ui.button", {
}
});
+$.ui.button.version = "@VERSION";
+
$.widget( "ui.buttonset", {
options: {
items: ":button, :submit, :reset, :checkbox, :radio, a, :data(button)"
@@ -367,4 +369,6 @@ $.widget( "ui.buttonset", {
}
});
+$.ui.buttonset.version = "@VERSION";
+
}( jQuery ) );
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index c64057ee0..84ea84384 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -245,4 +245,6 @@ $.widget("ui.menu", {
}
});
+$.ui.menu.version = "@VERSION";
+
}( jQuery ));
diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js
index c8a76f4cf..df61a7494 100644
--- a/ui/jquery.ui.spinner.js
+++ b/ui/jquery.ui.spinner.js
@@ -357,4 +357,6 @@ $.widget('ui.spinner', {
}
});
+$.ui.spinner.version = "@VERSION";
+
})(jQuery);
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index 8e211c272..50e1b4437 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -130,7 +130,8 @@ $.widget("ui.tooltip", {
this._trigger( "close", event );
}
-
});
+$.ui.tooltip.version = "@VERSION";
+
})(jQuery); \ No newline at end of file