define( [
"jquery",
"./core",
+ "./version",
"./widget"
], factory );
} else {
"./core",
"./widget",
"./position",
+ "./version",
"./menu"
], factory );
} else {
define([
"jquery",
"./core",
+ "./version",
"./widget"
], factory );
} else {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
- define( [ "jquery" ], factory );
+ define( [
+ "jquery",
+ "./version" ], factory );
} else {
// Browser globals
}
}( function( $ ) {
-// $.ui might exist from components with no dependencies, e.g., $.ui.position
-$.ui = $.ui || {};
-
$.extend( $.ui, {
- version: "@VERSION",
keyCode: {
BACKSPACE: 8,
// AMD. Register as an anonymous module.
define([
"jquery",
- "./core"
+ "./core",
+ "./version"
], factory );
} else {
"./draggable",
"./mouse",
"./position",
- "./resizable"
+ "./resizable",
+ "./version"
], factory );
} else {
define([
"jquery",
"./core",
+ "./version",
"./mouse",
"./widget"
], factory );
// AMD. Register as an anonymous module.
define([
"jquery",
- "./core",
+ "./version",
"./widget",
"./mouse",
"./draggable"
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect",
"./effect-scale"
], factory );
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect",
"./effect-size"
], factory );
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
// AMD. Register as an anonymous module.
define( [
"jquery",
+ "./version",
"./effect"
], factory );
} else {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
- define( [ "jquery" ], factory );
+ define( [ "jquery", "./version" ], factory );
} else {
// Browser globals
// AMD. Register as an anonymous module.
define( [
"jquery",
- "ui/core"
+ "ui/core",
+ "./version"
], factory );
} else {
define( [
"jquery",
"./core",
+ "./version",
"./widget",
"./position"
], factory );
// AMD. Register as an anonymous module.
define([
"jquery",
+ "./version",
"./widget"
], factory );
} else {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
- define( [ "jquery" ], factory );
+ define( [ "jquery", "./version" ], factory );
} else {
// Browser globals
}
}( function( $ ) {
( function() {
-
-$.ui = $.ui || {};
-
var cachedScrollbarWidth, supportsOffsetFractions,
max = Math.max,
abs = Math.abs,
// AMD. Register as an anonymous module.
define( [
"jquery",
- "./core",
+ "./version",
"./widget"
], factory );
} else {
define([
"jquery",
"./core",
+ "./version",
"./mouse",
"./widget"
], factory );
// AMD. Register as an anonymous module.
define([
"jquery",
- "./core",
+ "./version",
"./mouse",
"./widget"
], factory );
define( [
"jquery",
"./core",
+ "./version",
"./widget",
"./position",
"./menu"
"jquery",
"./core",
"./mouse",
+ "./version",
"./widget"
], factory );
} else {
"jquery",
"./core",
"./mouse",
+ "./version",
"./widget"
], factory );
} else {
define( [
"jquery",
"./core",
+ "./version",
"./widget",
"./button"
], factory );
define( [
"jquery",
"./core",
+ "./version",
"./widget"
], factory );
} else {
define( [
"jquery",
"./core",
+ "./version",
"./widget",
"./position"
], factory );
--- /dev/null
+( function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+
+ // AMD. Register as an anonymous module.
+ define( [ "jquery" ], factory );
+ } else {
+
+ // Browser globals
+ factory( jQuery );
+ }
+} ( function( $ ) {
+
+$.ui = $.ui || {};
+
+return $.ui.version = "@VERSION";
+
+} ) );
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
- define( [ "jquery" ], factory );
+ define( [ "jquery", "./version" ], factory );
} else {
// Browser globals