Skip to content
Browse files

issue #39: renamed bindings.element to bindings.run

  • Loading branch information...
1 parent a97c666 commit d8e15c930c9fc7cb3f73ab4788c3c8bbe237baf9 @troygoode committed Apr 4, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 examples/guide/index.html
  2. +1 −2 o_O.js
View
2 examples/guide/index.html
@@ -180,7 +180,7 @@ <h1 class="sans-serif" style='text-align: center; margin-bottom: 10px'>o_O</h1>
<a class=btn>Animation</a>
<div id=Animation class=example>
<div class=inner>
-<p data-bind='element: animate; text: "fading every " + speed() + "ms"'>Animate Me!</p>
+<p data-bind='run: animate; text: "fading every " + speed() + "ms"'>Animate Me!</p>
<button data-bind='click: slowDown'>Slow Down</button>
<button data-bind='click: speedUp'>Speed Up</button>
</div>
View
3 o_O.js
@@ -443,8 +443,7 @@ o_O.helpers.position = function(fn) {
o_O.bindings = {}
-
-o_O.bindings.element = function(property, $el) {
+o_O.bindings.run = function(property, $el) {
property($el)
}

0 comments on commit d8e15c9

Please sign in to comment.
Something went wrong with that request. Please try again.