Skip to content

Commit

Permalink
docs(ngTouch): include angular-touch.js in example iframes
Browse files Browse the repository at this point in the history
Mystical [deps="angular-touch.js"] is enough to get the correct file to be added to the <head> tag.

Closes angular#7058
Closes angular#7074
  • Loading branch information
caitp committed Apr 10, 2014
1 parent 6782c45 commit ab92da4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ngTouch/directive/ngClick.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* upon tap. (Event object is available as `$event`)
*
* @example
<example>
<example deps="angular-touch.js">
<file name="index.html">
<button ng-click="count = count + 1" ng-init="count=0">
Increment
Expand Down
4 changes: 2 additions & 2 deletions src/ngTouch/directive/ngSwipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* upon left swipe. (Event object is available as `$event`)
*
* @example
<example>
<example deps="angular-touch.js">
<file name="index.html">
<div ng-show="!showActions" ng-swipe-left="showActions = true">
Some list content, like an email in the inbox
Expand Down Expand Up @@ -49,7 +49,7 @@
* upon right swipe. (Event object is available as `$event`)
*
* @example
<example>
<example deps="angular-touch.js">
<file name="index.html">
<div ng-show="!showActions" ng-swipe-left="showActions = true">
Some list content, like an email in the inbox
Expand Down

0 comments on commit ab92da4

Please sign in to comment.