hyperandroid/CAAT — pull request #153 by rehanog (2013-07-15 10:32:19+00:00)
Title: Fixed removeBehaviour() in Actor.js

Previously, the loop only checked one value of n. Added decremement, and escape condition. Without these, function was prone to loop forever.

Also renamed function, as British spelling of "behaviour" (with a 'u') not consistent with usage through the rest of the CAAT code-base.