From 3d71fb83fe02a307823594f5905be9848cfa5506 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 15 Jul 2015 18:26:12 -0400 Subject: Core: Move version and creation of the ui namespace into its own module Ref #9647 --- ui/version.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ui/version.js (limited to 'ui/version.js') 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"; + +} ) ); -- cgit v1.2.3