This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### WHAT WAS CHANGED - CONTROLLER ### | |
findIndex = (array, callback) -> | |
i = 0 | |
while i < array.length | |
return i if callback(array[i]) | |
i++ | |
array.length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
findIndex = (array, callback) -> | |
_i = 0 | |
while _i < array.length | |
return _i if callback(array[_i]) | |
_i++ | |
-1 | |
$scope.saveCurrentHtmlTemplate = () -> | |
$scope.isEdited = true |