push.js removed from cache
This commit is contained in:
parent
ada09cd8fa
commit
7b84991453
|
@ -28,19 +28,19 @@ class Push {
|
|||
|
||||
public function onActivate() {
|
||||
Zira\Assets::registerCSSAsset('push/push.css');
|
||||
Zira\Assets::registerJSAsset('push/push.js');
|
||||
//Zira\Assets::registerJSAsset('push/push.js');
|
||||
}
|
||||
|
||||
public function onDeactivate() {
|
||||
Zira\Assets::unregisterCSSAsset('push/push.css');
|
||||
Zira\Assets::unregisterJSAsset('push/push.js');
|
||||
//Zira\Assets::unregisterJSAsset('push/push.js');
|
||||
}
|
||||
|
||||
public function beforeDispatch() {
|
||||
Zira\Router::addRoute(self::ROUTE,'push/index/index');
|
||||
|
||||
Zira\Assets::registerCSSAsset('push/push.css');
|
||||
Zira\Assets::registerJSAsset('push/push.js');
|
||||
//Zira\Assets::registerJSAsset('push/push.js');
|
||||
}
|
||||
|
||||
public function bootstrap() {
|
||||
|
|
Loading…
Reference in a new issue