01org/appframework — pull request #501 by swaydeng (2013-12-07 09:41:23+00:00)
Title: Fixed $().delegate to make the argument data optional

According to the [docs](http://app-framework-software.intel.com/api2/#_delegate), instance method `.delegate`'s argument `data` is optional, but the truth is `data` is required. this PR just fixed it.

And some slight modification for `for` loop execution efficiency.