Closed tominhuang closed 9 years ago
I notice that the bower.json in this repo is correct. "angular": "^1.3.0",
But online version uses another repo version. https://github.com/marcoslin/bower-angularAMD/blob/master/bower.json "angular": "~1.2.0",
bower info angularAMD
bower angularAMD#* cached git://github.com/marcoslin/bower-angularAMD.git#0.2.1
bower angularAMD#* validate 0.2.1 against git://github.com/marcoslin/bower-angularAMD.git#*
{
name: 'angularAMD',
description: 'Facilitate use of RequireJS in AngularJS ',
version: '0.2.1',
main: 'angularAMD.js',
license: 'MIT',
keywords: [
'angularjs',
'requirejs'
],
authors: [
'Marcos Lin (https://github.com/marcoslin/)'
],
repository: {
type: 'git',
url: 'git@github.com:marcoslin/angularAMD.git'
},
dependencies: {
angular: '~1.2.0',
requirejs: '~2.1.0'
},
homepage: 'https://github.com/marcoslin/bower-angularAMD'
}
Available versions:
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
- 0.0.2
- 0.0.1
You can request info for a specific version with 'bower info angularAMD#<version>'
There is a bug with 1.4.x as per #138 that I have not had a chance to fix yet. If you do not lazy load animations, you should be able to fix it by adding the following to your bower.json
:
{
"dependencies": {
...
},
"resolutions": {
"angular": "~1.4.2"
}
}
I will free the dependency when (if) #138 is fixed.
+1
I look forward to using AngularAMD with Angular 1.4 (with no workarounds). Thanks!
We're using angular 1.4.2 and bower. Can you test angularAMD on angular 1.4.2? If it works, please free the dependency constraint. Thanks