aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2008-10-05 16:29:21 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2008-10-05 16:29:21 +0000
commit923d1ec3bb7a8d20cdb17fb0929d40ab837d15d5 (patch)
tree42b568dfa447cf9dd6d3e43c0ebbae52eb0d8f8c
parentb53e2e5c7e26f22475d1762774db8f211f60066f (diff)
downloadjquery-ui-923d1ec3bb7a8d20cdb17fb0929d40ab837d15d5.tar.gz
jquery-ui-923d1ec3bb7a8d20cdb17fb0929d40ab837d15d5.zip
adding version property to all ui components
-rw-r--r--ui/ui.accordion.js1
-rw-r--r--ui/ui.colorpicker.js1
-rw-r--r--ui/ui.core.js1
-rw-r--r--ui/ui.datepicker.js1
-rw-r--r--ui/ui.dialog.js1
-rw-r--r--ui/ui.draggable.js1
-rw-r--r--ui/ui.droppable.js1
-rw-r--r--ui/ui.magnifier.js1
-rw-r--r--ui/ui.progressbar.js1
-rw-r--r--ui/ui.resizable.js1
-rw-r--r--ui/ui.selectable.js1
-rw-r--r--ui/ui.sortable.js1
-rw-r--r--ui/ui.spinner.js1
-rw-r--r--ui/ui.tabs.js1
14 files changed, 14 insertions, 0 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js
index aaafdf3b7..0a20b1250 100644
--- a/ui/ui.accordion.js
+++ b/ui/ui.accordion.js
@@ -265,6 +265,7 @@ function findActive(headers, selector) {
}
$.extend($.ui.accordion, {
+ version: "@VERSION",
defaults: {
selectedClass: "selected",
alwaysOpen: true,
diff --git a/ui/ui.colorpicker.js b/ui/ui.colorpicker.js
index 90a3ff160..0039e8e71 100644
--- a/ui/ui.colorpicker.js
+++ b/ui/ui.colorpicker.js
@@ -462,6 +462,7 @@ $.widget("ui.colorpicker", {
});
$.extend($.ui.colorpicker, {
+ version: "@VERSION",
defaults: {
eventName: 'click',
color: 'ff0000',
diff --git a/ui/ui.core.js b/ui/ui.core.js
index aea6e0ec8..877b0d023 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -268,6 +268,7 @@ $.widget.defaults = {
/** jQuery UI core **/
$.ui = {
+ version: "@VERSION",
// $.ui.plugin is deprecated. Use the proxy pattern instead.
plugin: {
add: function(module, option, set) {
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js
index 4be30d2cd..3ce47adcd 100644
--- a/ui/ui.datepicker.js
+++ b/ui/ui.datepicker.js
@@ -1735,5 +1735,6 @@ $.fn.datepicker = function(options){
$.datepicker = new Datepicker(); // singleton instance
$.datepicker.initialized = false;
$.datepicker.uuid = new Date().getTime();
+$.datepicker.version = "@VERSION";
})(jQuery);
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js
index f6ce4f5ee..87759849a 100644
--- a/ui/ui.dialog.js
+++ b/ui/ui.dialog.js
@@ -394,6 +394,7 @@ $.widget("ui.dialog", {
});
$.extend($.ui.dialog, {
+ version: "@VERSION",
defaults: {
autoOpen: true,
autoResize: true,
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 547a14aa4..d1d4e1b8c 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -350,6 +350,7 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
}));
$.extend($.ui.draggable, {
+ version: "@VERSION",
defaults: {
appendTo: "parent",
axis: false,
diff --git a/ui/ui.droppable.js b/ui/ui.droppable.js
index 6403d37d2..d316a1c3d 100644
--- a/ui/ui.droppable.js
+++ b/ui/ui.droppable.js
@@ -130,6 +130,7 @@ $.widget("ui.droppable", {
});
$.extend($.ui.droppable, {
+ version: "@VERSION",
defaults: {
disabled: false,
tolerance: 'intersect',
diff --git a/ui/ui.magnifier.js b/ui/ui.magnifier.js
index 9c691a839..c3e3d526e 100644
--- a/ui/ui.magnifier.js
+++ b/ui/ui.magnifier.js
@@ -163,6 +163,7 @@ $.widget("ui.magnifier", {
});
$.extend($.ui.magnifier, {
+ version: "@VERSION",
defaults: {
distance: 150,
magnification: 2,
diff --git a/ui/ui.progressbar.js b/ui/ui.progressbar.js
index 20285eaba..a7262e89f 100644
--- a/ui/ui.progressbar.js
+++ b/ui/ui.progressbar.js
@@ -188,6 +188,7 @@ $.widget("ui.progressbar", {
plugins: {}
});
+$.ui.progressbar.version = "@VERSION";
$.ui.progressbar.defaults = {
width: 300,
duration: 1000,
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js
index 26664cb5c..a04d5d196 100644
--- a/ui/ui.resizable.js
+++ b/ui/ui.resizable.js
@@ -516,6 +516,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
}));
$.extend($.ui.resizable, {
+ version: "@VERSION",
defaults: {
cancel: ":input",
distance: 1,
diff --git a/ui/ui.selectable.js b/ui/ui.selectable.js
index b75bb9894..090ca7f28 100644
--- a/ui/ui.selectable.js
+++ b/ui/ui.selectable.js
@@ -252,6 +252,7 @@ $.widget("ui.selectable", $.extend({}, $.ui.mouse, {
}));
$.extend($.ui.selectable, {
+ version: "@VERSION",
defaults: {
distance: 1,
delay: 0,
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index ba08bbb9b..fdee32752 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -737,6 +737,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
$.extend($.ui.sortable, {
getter: "serialize toArray",
+ version: "@VERSION",
defaults: {
helper: "original",
tolerance: "guess",
diff --git a/ui/ui.spinner.js b/ui/ui.spinner.js
index 71da1d15b..68389f1a5 100644
--- a/ui/ui.spinner.js
+++ b/ui/ui.spinner.js
@@ -392,6 +392,7 @@ $.widget('ui.spinner', {
});
$.extend($.ui.spinner, {
+ version: "@VERSION",
defaults: {
decimals: 0,
stepping: 1,
diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js
index d3bdadf79..fedd16908 100644
--- a/ui/ui.tabs.js
+++ b/ui/ui.tabs.js
@@ -514,6 +514,7 @@ $.widget("ui.tabs", {
}
});
+$.ui.tabs.version = "@VERSION";
$.ui.tabs.defaults = {
// basic setup
unselect: false,