Skip to content

Commit

Permalink
docs($interpolate): replace jerk with something nicer/more neutral
Browse files Browse the repository at this point in the history
I thought `jerk` illustrated the "defacing" factor nicely, but I suppose it's not very nice to have
in official documentation.
  • Loading branch information
caitp committed May 20, 2014
1 parent e3f78c1 commit 6b52848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/interpolate.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function $InterpolateProvider() {
* <example>
* <file name="index.html">
* <div ng-init="username='A user'">
* <p ng-init="apptitle='Escaping demo'">{{apptitle}}: \{\{ username = "some jerk"; \}\}
* <p ng-init="apptitle='Escaping demo'">{{apptitle}}: \{\{ username = "defaced value"; \}\}
* </p>
* <p><strong>{{username}}</strong> attempts to inject code which will deface the
* application, but fails to accomplish their task, because the server has correctly
Expand Down

0 comments on commit 6b52848

Please sign in to comment.