@@ -198,8 +198,7 @@ |
||
198 | 198 | $this->jvname = $this->jvname . str_replace('_', '-', $this->map) . ".js"; |
199 | 199 | if (file_exists(yii::getAlias((!$this->maptype ? $this->jvpath : $this->jvpathcustom) . $this->jvname))) { |
200 | 200 | JvectormapAsset::register(Yii::$app->view); |
201 | - $this->bundle = !$this->maptype ? MapAsset::register(Yii::$app->view) : |
|
202 | - MapcustomAsset::register(Yii::$app->view); |
|
201 | + $this->bundle = !$this->maptype ? MapAsset::register(Yii::$app->view) : MapcustomAsset::register(Yii::$app->view); |
|
203 | 202 | $this->bundle->js[] = $this->jvname; // dynamic map added |
204 | 203 | $this->bundle->publishOptions[] = [ |
205 | 204 | 'only' => [ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | public $sourcePath = '@webroot/maps/js'; |
26 | 26 | |
27 | - public function registerAssetFiles($view) { |
|
27 | + public function registerAssetFiles($view) { |
|
28 | 28 | parent::registerAssetFiles($view); |
29 | 29 | } |
30 | 30 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | public $sourcePath = "@cjtterabytesoft/jvectormap/assets/maps/js"; |
26 | 26 | |
27 | - public function registerAssetFiles($view) { |
|
27 | + public function registerAssetFiles($view) { |
|
28 | 28 | parent::registerAssetFiles($view); |
29 | 29 | } |
30 | 30 |
@@ -43,11 +43,3 @@ |
||
43 | 43 | |
44 | 44 | public $depends = [ |
45 | 45 | <<<<<<< HEAD |
46 | - 'yii\web\YiiAsset', |
|
47 | -======= |
|
48 | - 'yii\web\YiiAsset', |
|
49 | - 'yii\bootstrap\BootstrapAsset', |
|
50 | - 'yii\bootstrap\BootstrapPluginAsset', |
|
51 | ->>>>>>> 36ccbfac055135fc9099db73d4e33646b31650f5 |
|
52 | - ]; |
|
53 | -} |
|
54 | 46 | \ No newline at end of file |
@@ -43,11 +43,3 @@ |
||
43 | 43 | |
44 | 44 | public $depends = [ |
45 | 45 | <<<<<<< HEAD |
46 | - 'yii\web\YiiAsset', |
|
47 | -======= |
|
48 | - 'yii\web\YiiAsset', |
|
49 | - 'yii\bootstrap\BootstrapAsset', |
|
50 | - 'yii\bootstrap\BootstrapPluginAsset', |
|
51 | ->>>>>>> 36ccbfac055135fc9099db73d4e33646b31650f5 |
|
52 | - ]; |
|
53 | -} |
|
54 | 46 | \ No newline at end of file |
@@ -42,12 +42,4 @@ |
||
42 | 42 | ]; |
43 | 43 | |
44 | 44 | public $depends = [ |
45 | -<<<<<<< HEAD |
|
46 | - 'yii\web\YiiAsset', |
|
47 | -======= |
|
48 | - 'yii\web\YiiAsset', |
|
49 | - 'yii\bootstrap\BootstrapAsset', |
|
50 | - 'yii\bootstrap\BootstrapPluginAsset', |
|
51 | ->>>>>>> 36ccbfac055135fc9099db73d4e33646b31650f5 |
|
52 | - ]; |
|
53 | -} |
|
54 | 45 | \ No newline at end of file |
46 | +<< << <<< HEAD |
@@ -43,11 +43,3 @@ |
||
43 | 43 | |
44 | 44 | public $depends = [ |
45 | 45 | <<<<<<< HEAD |
46 | - 'yii\web\YiiAsset', |
|
47 | -======= |
|
48 | - 'yii\web\YiiAsset', |
|
49 | - 'yii\bootstrap\BootstrapAsset', |
|
50 | - 'yii\bootstrap\BootstrapPluginAsset', |
|
51 | ->>>>>>> 36ccbfac055135fc9099db73d4e33646b31650f5 |
|
52 | - ]; |
|
53 | -} |
|
54 | 46 | \ No newline at end of file |
@@ -43,11 +43,3 @@ |
||
43 | 43 | |
44 | 44 | public $depends = [ |
45 | 45 | <<<<<<< HEAD |
46 | - 'yii\web\YiiAsset', |
|
47 | -======= |
|
48 | - 'yii\web\YiiAsset', |
|
49 | - 'yii\bootstrap\BootstrapAsset', |
|
50 | - 'yii\bootstrap\BootstrapPluginAsset', |
|
51 | ->>>>>>> 36ccbfac055135fc9099db73d4e33646b31650f5 |
|
52 | - ]; |
|
53 | -} |
|
54 | 46 | \ No newline at end of file |