You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
My app broke after the upgrade to 1.0.4 version. After debugging, I noticed that it's missing some code. For example, if you search in 1.0.4 after (isDefined(template = next.template)) you'll notice that
Thanks for the response. I included a plnkr which illustrates the problem.
First of all, I already had a patched 1.0.3 version, so this is why it worked fine, just that I forgot about it.
I decided to upgrade to official 1.0.4 (from bower) and the app broke. The plunkr example is just a dummy use case about how the app breaks. In index.html, I load my patched version (same as 1.0.3 but has isFunction(..) from the first comment ). If you switch to google cdn version, you will see that the app breaks when you click on the last 2 links from the plnkr example.
LE:
I saw now that the patched was based on this issue #1524. This issue was merged into master before the last build, so I thought the build would have the patch.
Activity
pkozlowski-opensource commentedon Feb 6, 2013
@alexbardas your are looking at the build of
1.0.4so you should be checking corresponding sources:https://github.com/angular/angular.js/blob/v1.0.4/src/ng/route.js
As you can see there is nothing wrong with the build so I've renamed the issue.
Now, if you see the blame command for the file in question: https://github.com/angular/angular.js/blame/v1.0.4/src/ng/route.js
you will notice that the lines in question weren't changed for over 6 months so so the code was like this in previous AngularJS releases.
I understand that you are facing the issue but you will have to provide more info:
1.0.4?alexbardas commentedon Feb 6, 2013
Thanks for the response. I included a plnkr which illustrates the problem.
First of all, I already had a patched 1.0.3 version, so this is why it worked fine, just that I forgot about it.
I decided to upgrade to official 1.0.4 (from bower) and the app broke. The plunkr example is just a dummy use case about how the app breaks. In index.html, I load my patched version (same as 1.0.3 but has isFunction(..) from the first comment ). If you switch to google cdn version, you will see that the app breaks when you click on the last 2 links from the plnkr example.
LE:
I saw now that the patched was based on this issue #1524. This issue was merged into master before the last build, so I thought the build would have the patch.
pkozlowski-opensource commentedon Feb 6, 2013
I guess you problem is with functions being used as
templateUrlwhich is not supported in1.0.4. Support for functions astemplateUrllanded in1.1.2: https://github.com/angular/angular.js/blob/master/CHANGELOG.md#features in this commit:faf02f0
Please check if
1.1.2works for you.alexbardas commentedon Feb 6, 2013
Ok, 10x a lot. I'll close this.