This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Wec = { | |
Components: {}, | |
Renderers: { | |
Ratchet: {} | |
} | |
}; | |
// Component | |
// ------ | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Wec = { | |
Components: {}, | |
Renderers: { | |
Ratchet: {} | |
} | |
}; | |
// Component | |
// ------ | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/application/bundles.php b/application/bundles.php | |
index 49d126b..e8b8f26 100755 | |
--- a/application/bundles.php | |
+++ b/application/bundles.php | |
@@ -33,4 +33,8 @@ | |
| | |
*/ | |
-return array(); | |
\ No newline at end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1mdiff --git a/application/bundles.php b/application/bundles.php[m | |
[1mindex 49d126b..e8b8f26 100755[m | |
[1m--- a/application/bundles.php[m | |
[1m+++ b/application/bundles.php[m | |
[36m@@ -33,4 +33,8 @@[m | |
|[m | |
*/[m | |
[31mreturn array();[m | |
No newline at end of file[m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function add($name, $source = null, $dependencies = array(), $attributes = array()) | |
{ | |
$type = (pathinfo($source, PATHINFO_EXTENSION) == 'css') ? 'style' : 'script'; | |
return $this->$type($name, $source, $dependencies, $attributes); | |
} | |
protected function register($type, $name, $source, $dependencies, $attributes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function __construct() | |
{ | |
parent::__construct(); | |
$this->filter('before', 'auth'); | |
} | |
// Get Single news item | |
public function get_single($id, $slug = null) |
NewerOlder