运行Bower install 将我的 jquery 版本更新到 2.11。
我目前有:
"dependencies": {
"jquery": "= 1.11.0",
"jquery-migrate": ">= 1.2.1",
"jquery-ui": "= 1.10.4",
"bootstrap": "= 3.1.1",
"html5shiv": "=3.7.0",
"respond": "=1.4.2",
"angular": "1.2.16",
"angular-route": "1.2.16",
"angular-ui-router": "0.2.10",
"requirejs": "2.1.14",
"angular-mocks": "1.2.16",
"ngprogress": "1.0.4"
}
这是我的日志:
-----------------------------------------
Update available: 1.3.5 (current: 1.2.8)
Run npm update -g bower to update
-----------------------------------------
bower jquery#>=1.6 cached git://github.com/jquery/jquery.git#2.1.1
bower jquery#>=1.6 validate 2.1.1 against git://github.com/jquery/jquery.git#>=1.6
bower jquery#>= 1.9.0 cached git://github.com/jquery/jquery.git#2.1.1
bower jquery#>= 1.9.0 validate 2.1.1 against git://github.com/jquery/jquery.git#>= 1.9.0
bower jquery#>=1.6 install jquery#2.1.1