Update $.fn.bindProperty to support "text" and "html" properties.

Review Request #3999 — Created March 24, 2013 and submitted

Information

Review Board
master

Reviewers

Update $.fn.bindProperty to support "text" and "html" properties.

These are not strictly properties in the same way that other things
passed to $.fn.prop() are, but from the caller's point of view,
they aren't much different.

bindProperty can now update the text or HTML of any DOM element
when a model's property changes.
Tested as part of another change.

New unit tests pass.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/js/utils/propertyUtils.js
        reviewboard/static/rb/js/utils/tests/propertyUtilsTests.js
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed