importing more stuff from Belle proj
This commit is contained in:
9
src/Umbraco.Web/UI/JavaScript/ServerVariables.js
Normal file
9
src/Umbraco.Web/UI/JavaScript/ServerVariables.js
Normal file
@@ -0,0 +1,9 @@
|
||||
//TODO: This would be nicer as an angular module so it can be injected into stuff... that'd be heaps nicer, but
|
||||
// how to do that when this is not a regular JS file, it is a server side JS file and RequireJS seems to only want
|
||||
// to force load JS files ?
|
||||
|
||||
//create the namespace (NOTE: This loads before any dependencies so we don't have a namespace mgr so we just create it manually)
|
||||
var Umbraco = {};
|
||||
Umbraco.Sys = {};
|
||||
//define a global static object
|
||||
Umbraco.Sys.ServerVariables = ##Variables## ;
|
||||
Reference in New Issue
Block a user