Skip to content

Commit

Permalink
feat: deprecate fa-animation
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbrown committed Aug 4, 2014
1 parent 515793b commit e50d353
Show file tree
Hide file tree
Showing 34 changed files with 125 additions and 74 deletions.
7 changes: 4 additions & 3 deletions dist/famous-angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,8 @@ angular.module('famous.angular')
* @module famous.angular
* @restrict EA
* @description
* This directive is used to animate an element in conjunction with an {@link api/directive/animate animate} directive
*
* This directive is deprecated. Prefer using the $timeline service. This directive is used to animate an element in conjunction with an {@link api/directive/animate animate} directive
* @deprecated true
* @usage
* ```html
* <fa-animation timeline="functionThatReturnsATimelineValueBetween0And1">
Expand Down Expand Up @@ -1165,8 +1165,9 @@ angular.module('famous.angular')
* @name animate
* @module famous.angular
* @restrict E
* @deprecated true
* @description
* This element is used to specify the animation of an element in a {@link api/directive/faAnimation faAnimation} directive
* This directive is deprecated. Prefer using the $timeline service. This element is used to specify the animation of an element in a {@link api/directive/faAnimation faAnimation} directive
*
* @usage
* ```html
Expand Down
11 changes: 4 additions & 7 deletions docs-generation/templates/api/api.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
Improve this doc
</a>
</div>
<@ if doc.deprecated @>
<br>
<strong>This <$ doc.docType $> is deprecated.</strong>
<@ endif @>

<@ block content @>

Expand Down Expand Up @@ -44,13 +48,6 @@ <h1 class="api-title">
<$ doc.description $>
<@ endblock @>

<@ if doc.deprecated @>
<fieldset class="deprecated">
<legend>Deprecated API</legend>
<$ doc.deprecated| marked $>
</fieldset>
<@ endif @>

<@ block dependencies @>
<@- if doc.requires @>
<h2 id="dependencies">Dependencies</h2>
Expand Down
8 changes: 5 additions & 3 deletions docs/unstable/directive/animate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ docType: "directive"
</a>
</div>

<br>
<strong>This directive is deprecated.</strong>





Expand All @@ -30,9 +34,7 @@ docType: "directive"



This element is used to specify the animation of an element in a <a href="api/directive/faAnimation">faAnimation</a> directive


This directive is deprecated. Prefer using the $timeline service. This element is used to specify the animation of an element in a <a href="api/directive/faAnimation">faAnimation</a> directive



Expand Down
8 changes: 5 additions & 3 deletions docs/unstable/directive/faAnimation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ docType: "directive"
</a>
</div>

<br>
<strong>This directive is deprecated.</strong>





Expand All @@ -30,9 +34,7 @@ docType: "directive"



This directive is used to animate an element in conjunction with an <a href="api/directive/animate">animate</a> directive


This directive is deprecated. Prefer using the $timeline service. This directive is used to animate an element in conjunction with an <a href="api/directive/animate">animate</a> directive



Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faApp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-app
Expand All @@ -41,8 +42,6 @@ it is inside of a <a href="api/directive/faSurface">fa-surface</a> directive.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faCanvasSurface/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-canvas-surface
Expand All @@ -37,8 +38,6 @@ This directive creates a Famo.us CanvasSurface.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faClick/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-click
Expand All @@ -37,8 +38,6 @@ This directive allows you to specify custom behavior when an element is clicked.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faContainerSurface/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-container-surface
Expand All @@ -40,8 +41,6 @@ constructor. See [https://famo.us/docs/surfaces/ContainerSurface]






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faFlexibleLayout/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-flexible-layout
Expand All @@ -40,8 +41,6 @@ constructor. See [https://famo.us/docs/views/FlexibleLayout]






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faFlipper/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-flipper
Expand All @@ -40,8 +41,6 @@ constructor. See [https://famo.us/docs/views/Flipper]






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faGridLayout/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-grid-layout
Expand All @@ -40,8 +41,6 @@ constructor. See [https://famo.us/docs/views/GridLayout]






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faHeaderFooterLayout/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-header-footer-layout
Expand All @@ -39,8 +40,6 @@ a Header, Content, and Footer based on the order of its child elements.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faImageSurface/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-image-surface
Expand All @@ -38,8 +39,6 @@ the specified ImageUrl.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faIndex/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-index
Expand All @@ -43,8 +44,6 @@ order is desired, then the index value must be assigned/overridden using the faI






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faModifier/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-modifier
Expand All @@ -38,8 +39,6 @@ to values (e.g. `fa-translate="[15, 20, 1]"`, Famo.us Transitionable objects, or






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faPipeFrom/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-pipe-from
Expand All @@ -37,8 +38,6 @@ This directive pipes a target event handler to an element's event handler.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faPipeTo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-pipe-to
Expand All @@ -37,8 +38,6 @@ This directive pipes an element's event handler to a source event handler.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faRenderNode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-render-node
Expand All @@ -39,8 +40,6 @@ It allows you to pass a reference to an arbitrary render node from your controll






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faScrollView/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-scroll-view
Expand All @@ -39,8 +40,6 @@ and will allow you to scroll through them with mousewheel or touch events.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faSequentialLayout/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-sequential-layout
Expand All @@ -40,8 +41,6 @@ constructor. See [https://famo.us/docs/views/SequentialLayout]






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faSurface/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-surface
Expand All @@ -43,8 +44,6 @@ ngIncludes or custom (vanilla Angular) directives.






<h2 id="usage">Usage</h2>

Expand Down
3 changes: 1 addition & 2 deletions docs/unstable/directive/faTap/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ docType: "directive"




<h1 class="api-title">

fa-tap
Expand All @@ -37,8 +38,6 @@ This directive allows you to specify custom behavior when an element is tapped.






<h2 id="usage">Usage</h2>

Expand Down
Loading

0 comments on commit e50d353

Please sign in to comment.