-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请更新一下angularjs版本 #103
Comments
把 spmjs.org 的账号给下吧,我让@leoner 给你开个 publish 权限,因为我们自己用的很少,你可以帮我们一起更新。 |
1.2 也才发布了一周左右嘛 |
@edokeh 从三个月前rc版开始就一直放在 http://angularjs.org 的默认下载位了。可能各人对rc版本的想法不同吧。 |
1.2 才是 stable ,之前的一个 stable 版本其实是 1.0.8,1.1.5 都不算 |
@afc163 现在的方式,是在这些 module 的代码外层包裹一个 define 函数,并且加入 require('angular') ,但是没有 exports 这样的封装,会造成用 Sea.js 写 angular 代码时,需要这样
这样存在两个问题,一是存在有副作用的 require(因为没有返回值),二是申明 module 的依赖时,需要用字符串,容易出错(手写代码是万恶之源) 如果在封装时,能输出定义的 angular module ,那么代码可以这样写了
看起来舒服很多,而且即使依赖的部分写错了,编辑器直接就能报警 |
如果有更好的方式,更好呀,原来的那个也是当时找到的一个解决方式,但是后续由于没有再用了,所以没有继续优化呀。 |
那我发个 PR 到 CMDJS 那边呗 |
恩, 那你发过来后, 我就给发上去呀 |
给他们加上 spmjs.org 上的发布权限吧。 |
@zicjin 已发布 1.2.3. 你看下能用否? |
@leoner 发 PR 时以为你们会补上,所以我偷了个懒,结果。。。 |
@edokeh 晕,好吧,那要不你在 PR 下,我再发布下呀。 |
当时没有注意。 |
好了,发布了,@edokeh 你在试下呀。 |
有缓存? |
@edokeh sorry. 你在试下 |
已OK! |
版本更新速度太滞后了。
The text was updated successfully, but these errors were encountered: