예제 #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
파일: dropshadow.php 프로젝트: azuya/Wi3
 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
파일: filteredpaste.php 프로젝트: azuya/Wi3
 function __construct()
 {
     //register this Plugin and load dependencies
     parent::__construct();
     //load the javascript
     $this->javascript("jquery-filteredPaste.js");
 }
예제 #5
0
파일: fancybox.php 프로젝트: azuya/Wi3
 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
파일: jqtransform.php 프로젝트: azuya/Wi3
 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'));
 }