mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-13 08:56:40 +08:00
docs(tutorial/step-05): replace minify wiki link with shortened URL
marked has an existing bug where links ending with a ')' will not be parsed correctly. The workaround is to use a shortened URL. The original URL that is being replaced by this commit is http://en.wikipedia.org/wiki/Minification_(programming) . Closes #6377
This commit is contained in:
committed by
Caitlin Potter
parent
84ad0a037c
commit
58b01fac1e
@@ -109,7 +109,7 @@ properties are considered private, and should not be accessed or modified.
|
||||
### A Note on Minification
|
||||
|
||||
Since Angular infers the controller's dependencies from the names of arguments to the controller's
|
||||
constructor function, if you were to [minify](http://en.wikipedia.org/wiki/Minification_(programming)) the JavaScript code for `PhoneListCtrl` controller, all of its function arguments would be
|
||||
constructor function, if you were to [minify](http://goo.gl/SAnnsm) the JavaScript code for `PhoneListCtrl` controller, all of its function arguments would be
|
||||
minified as well, and the dependency injector would not be able to identify services correctly.
|
||||
|
||||
There are two ways to overcome issues caused by minification:
|
||||
|
||||
Reference in New Issue
Block a user