Browse Source

fixed twitter bootstrap package name

fixes #1132
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
ba64f8031e
  1. 2
      extensions/bootstrap/BootstrapAsset.php
  2. 2
      extensions/bootstrap/BootstrapPluginAsset.php
  3. 2
      extensions/bootstrap/BootstrapThemeAsset.php
  4. 2
      extensions/bootstrap/composer.json

2
extensions/bootstrap/BootstrapAsset.php

@ -15,7 +15,7 @@ use yii\web\AssetBundle;
*/ */
class BootstrapAsset extends AssetBundle class BootstrapAsset extends AssetBundle
{ {
public $sourcePath = '@vendor/twitter/bootstrap/dist'; public $sourcePath = '@vendor/twbs/bootstrap/dist';
public $css = [ public $css = [
'css/bootstrap.css', 'css/bootstrap.css',
]; ];

2
extensions/bootstrap/BootstrapPluginAsset.php

@ -16,7 +16,7 @@ use yii\web\AssetBundle;
*/ */
class BootstrapPluginAsset extends AssetBundle class BootstrapPluginAsset extends AssetBundle
{ {
public $sourcePath = '@vendor/twitter/bootstrap/dist'; public $sourcePath = '@vendor/twbs/bootstrap/dist';
public $js = [ public $js = [
'js/bootstrap.js', 'js/bootstrap.js',
]; ];

2
extensions/bootstrap/BootstrapThemeAsset.php

@ -17,7 +17,7 @@ use yii\web\AssetBundle;
*/ */
class BootstrapThemeAsset extends AssetBundle class BootstrapThemeAsset extends AssetBundle
{ {
public $sourcePath = '@vendor/twitter/bootstrap/dist'; public $sourcePath = '@vendor/twbs/bootstrap/dist';
public $css = [ public $css = [
'css/bootstrap-theme.css', 'css/bootstrap-theme.css',
]; ];

2
extensions/bootstrap/composer.json

@ -14,7 +14,7 @@
"minimum-stability": "dev", "minimum-stability": "dev",
"require": { "require": {
"yiisoft/yii2": "*", "yiisoft/yii2": "*",
"twitter/bootstrap": "3.0.*" "twbs/bootstrap": "3.0.*"
}, },
"autoload": { "autoload": {
"psr-0": { "yii\\bootstrap\\": "" } "psr-0": { "yii\\bootstrap\\": "" }

Loading…
Cancel
Save