aboutsummaryrefslogtreecommitdiffstats
path: root/ui/version.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/version.js')
-rw-r--r--ui/version.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/ui/version.js b/ui/version.js
new file mode 100644
index 000000000..fdd99f79f
--- /dev/null
+++ b/ui/version.js
@@ -0,0 +1,17 @@
+( 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";
+
+} ) );