diff --git a/README.md b/README.md new file mode 100644 index 00000000..0fedc950 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +Cloud-Commander +=============== \ No newline at end of file diff --git a/client.js b/client.js new file mode 100644 index 00000000..f052ff42 --- /dev/null +++ b/client.js @@ -0,0 +1,978 @@ +/* Функция которая возвратит обьект CloudCommander + * @window - обьект window + * @document - обьект document + * @CloudFunc - обьект содержащий общий функционал + * клиентский и серверный + */ +//var CloudCommander=(function(window,document){ + +var document,window; + +var CloudCommander=(function(){ +"use strict"; + +/* если функции console.log нет - создаём заглушку */ + +var console; +if(!window)window={console:{log:function(pParam){return pParam;}}}; +else if(window && !window.console){ + console={ + 'log':function(param){ + return param; + } + }; +}else console=window.console; + +/* + window.jQuery || document.write(' + + + + + --> + + +
+ + + Cloud Commander + +