Commits

Christoffer Niska committed 08f1ef8

Added the EcmaScript5 shim.

  • Participants
  • Parent commits c8d5d7d

Comments (0)

Files changed (1)

File components/Cms.php

     {
         parent::init();
 
-        Yii::app()->getClientScript()->registerCssFile($this->getAssetsUrl().'/css/cms.css');
+        Yii::app()->clientScript->registerCssFile($this->getAssetsUrl().'/css/cms.css');
+        Yii::app()->clientScript->registerScriptFile($this->getAssetsUrl().'/js/es5-shim.min.js');
     }
 
     /**