Пример #1
0
Файл: core.php Проект: azuya/Wi3
 function __construct()
 {
     //register this Plugin
     parent::__construct();
     //make JQuery work
     $this->javascript(array('jquery-1.8.1.min.js', 'jquery.base64.utf8.js'));
 }
Пример #2
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the javascript
     $this->javascript("jquery.dropshadow.js");
 }
Пример #3
0
Файл: tree.php Проект: azuya/Wi3
 function __construct()
 {
     //register this Plugin
     parent::__construct();
     $this->javascript("jquery.simple.tree.js");
     //for tree displaying plus drag&drop
 }
Пример #4
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the javascript
     $this->javascript("jquery-filteredPaste.js");
 }
Пример #5
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the codaslider css
     $this->css("jquery.fancybox-1.3.1.css");
     //load the javascript
     $this->javascript("jquery.fancybox-1.3.1.js");
 }
Пример #6
0
Файл: ui.php Проект: azuya/Wi3
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load JQuery UI
     $this->javascript('jquery-ui-1.8.12.custom.min.js');
     //load the UI css as well
     $this->css("jquery_ui/jquery-ui-1.8.12.custom.css");
 }
Пример #7
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the codaslider css
     $this->css("jqtransform/jqtransform.css");
     //load the javascript
     $this->javascript("jquery.jqtransform.js");
 }
Пример #8
0
 function __construct()
 {
     //register this Plugin
     parent::__construct();
     //-------------------------------------------------------------
     // this function ensures that some Wi3 information is always sent to the client for use in javascript files (ie kohana.js)
     //
     //set up the event to pass information to the clientside
     //add this event before the javascript event, so that javascript always have this information available when they load
     Event::instance('wi3.afterexecution.addcontent.javascript.variables')->callback(array("Plugin_clientjavascriptvars", "addclientjavascriptvars"));
     //-------------------------------------------------------------
 }
Пример #9
0
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     $this->css("codemirror.css");
     // CodeMirror
     $this->javascript("codemirror/lib/codemirror.js");
     $this->javascript("codemirror/lib/util/continuecomment.js");
     $this->javascript("codemirror/mode/javascript/javascript.js");
     // Esprima
     $this->javascript("esprima.js");
     // Betterexamples
     $this->javascript("betterexamples.js");
     $this->javascript("betterexamples.editor.codemirror.js");
     $this->javascript("betterexamples.editor.default.js");
 }
Пример #10
0
Файл: wi3.php Проект: azuya/Wi3
 function __construct()
 {
     //register this Plugin
     parent::__construct();
     Wi3::inst()->baseview_adminarea->javascript(array('wi3.js'));
 }