mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
added viewer lib
This commit is contained in:
parent
7c689d8053
commit
1c31d38000
2 changed files with 17 additions and 4 deletions
|
|
@ -40,13 +40,11 @@ CloudCommander.Editor.CodeMirror = {
|
|||
var loadAll = function(pParent) {
|
||||
return function(){
|
||||
CloudCommander.cssLoad({
|
||||
src : 'http://codemirror.net/lib/codemirror.css',
|
||||
element : document.head
|
||||
src : 'http://codemirror.net/lib/codemirror.css'
|
||||
});
|
||||
|
||||
CloudCommander.cssLoad({
|
||||
src : 'http://codemirror.net/theme/night.css',
|
||||
element : document.head
|
||||
src : 'http://codemirror.net/theme/night.css'
|
||||
});
|
||||
|
||||
CloudCommander.cssSet({id:'editor',
|
||||
|
|
|
|||
15
lib/client/viewer.js
Normal file
15
lib/client/viewer.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
var CloudCommander, FuncyBox;
|
||||
/* object contains viewer FuncyBox
|
||||
* https://github.com/fancyapps/fancyBox
|
||||
*/
|
||||
CloudCommander.Viewer = {};
|
||||
CloudCommander.Viewer.FuncyBox = {
|
||||
load: function(){
|
||||
|
||||
CloudCommander.cssLoad({
|
||||
src : 'http://fancyapps.com/fancybox/source/jquery.fancybox.css'
|
||||
});
|
||||
|
||||
CloudCommander.jsload('http://fancyapps.com/fancybox/source/jquery.fancybox.pack.js');
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue