examples/todos/js/backbonefire.js
function(ref, item) {
          var priority = item['.priority'];
          delete item['.priority'];
          ref.setWithPriority(item, priority);
          return item;
        }
function(ref, item) {
          var priority = item['.priority'];
          delete item['.priority'];
          ref.setWithPriority(item, priority);
          return item;
        }
function ( ref , item ) { var priority = item [ '.priority' ] ; delete item [ '.priority' ] ; ref . setWithPriority ( item , priority ) ; return item ; }
Special case if '.priority' was updated - a merge is not allowed so we'll have to do a full setWithPriority.
Special case if . priority was updated - a merge is not allowed so we ll have to do a full setWithPriority .