Skip to content

Commit 6b52848

Browse files
committed
docs($interpolate): replace jerk with something nicer/more neutral
I thought `jerk` illustrated the "defacing" factor nicely, but I suppose it's not very nice to have in official documentation.
1 parent e3f78c1 commit 6b52848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/interpolate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function $InterpolateProvider() {
156156
* <example>
157157
* <file name="index.html">
158158
* <div ng-init="username='A user'">
159-
* <p ng-init="apptitle='Escaping demo'">{{apptitle}}: \{\{ username = "some jerk"; \}\}
159+
* <p ng-init="apptitle='Escaping demo'">{{apptitle}}: \{\{ username = "defaced value"; \}\}
160160
* </p>
161161
* <p><strong>{{username}}</strong> attempts to inject code which will deface the
162162
* application, but fails to accomplish their task, because the server has correctly

0 commit comments

Comments
 (0)