title: Skip first Update on knockout custom binding
body: <p>I am creating a custom binding, named "myhandler".
  I need nothing in the initialize phase, and I do not want the update function to be executed the first time. The update member of ko.bindingHandlers, as said <a href="http://knockoutjs.com/documentation/custom-bindings.html" rel="nofollow">in the guide</a>, is executed once at binding application, then whenever observable associated changes - I want to skip the binding application execution because it has not sense since other parts of the page are not ready for it.</p>
  
  <p>In the observable associated, newID, passed in the html binding as follows, I have created a flag member in the view model, name bInitExecution (newID.bInitExecution).</p>
  
  <pre><code> &lt;div&gt;&lt;input id="objID" name="objID" data-bind="value: newID, myhandler: newID" /&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The member, which holds if handler should perform things in the first phase, is not an observable (but I also tried making it so without any change), it is a boolean and in the model it is fixed to true or false as needed, if update has to be performed also at first time or not.</p>
  
  <pre><code> newID = ko.observable();
   //.... some other data
   newID.bInitExecution = false
  </code></pre>
  
  <p>I expect that following code would skip first execution if bInitExecution is false, then execute always, while always execute if bInitExecution is true.</p>
  
  <pre><code> ko.bindingHandlers.myhandler = {
        init: function init(element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {
           //None needed here
        },
        update: function(element, valueAccessor, allBindings) {
           if (valueAccessor().bInitExecution===true) {
              //Do stuff
          }
          if (valueAccessor().bInitExecution===false) valueAccessor().bInitExecution=true;
       }
   };
  </code></pre>
  
  <p>The result is that, after the first execution, observables with bInitExecution set to true are always updated by myhandler, while the ones with bInitExecution set to false, even if valueAccessor().bInitExecution changes during binding apply as console.log before and after true assignment shows, without executing stuff, never executes myhandler.update again - as console.log placed on the head of the update function shows.</p>
  
  <p>I do not understand why, someone has any idea? Thanks</p>