aboutsummaryrefslogtreecommitdiffstats
path: root/src/directive/a.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-09 00:00:05 -0800
committerIgor Minar2012-03-09 16:14:26 -0800
commitf4d338d393dabb49182d40b4fe90c4d1b51621c0 (patch)
tree6c20fbef9865869e9db44f27c53aec11f1e30d5e /src/directive/a.js
parent0bfaa579c04d1b7cd21fbe16bfbc47a684f223b3 (diff)
downloadangular.js-f4d338d393dabb49182d40b4fe90c4d1b51621c0.tar.bz2
chore(*): refactor all ng: to ng-
Diffstat (limited to 'src/directive/a.js')
-rw-r--r--src/directive/a.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/directive/a.js b/src/directive/a.js
index bd56f3be..d96af784 100644
--- a/src/directive/a.js
+++ b/src/directive/a.js
@@ -4,14 +4,14 @@
* Modifies the default behavior of html A tag, so that the default action is prevented when href
* attribute is empty.
*
- * The reasoning for this change is to allow easy creation of action links with ng:click without
+ * The reasoning for this change is to allow easy creation of action links with ng-click without
* changing the location or causing page reloads, e.g.:
- * <a href="" ng:click="model.$save()">Save</a>
+ * <a href="" ng-click="model.$save()">Save</a>
*/
var htmlAnchorDirective = valueFn({
restrict: 'E',
compile: function(element, attr) {
- // turn <a href ng:click="..">link</a> into a link in IE
+ // turn <a href ng-click="..">link</a> into a link in IE
// but only if it doesn't have name attribute, in which case it's an anchor
if (!attr.href) {
attr.$set('href', '');