Christiaan Westerbeek
Member since Jun 4, 2012
- Profile: /members/10016-christiaan-westerbeek.htm
- Comments: 3
Recent Blog Comments By Christiaan Westerbeek
-
Understanding How To Use $scope.$watch() With Controller-As In AngularJS
Posted on Jun 22, 2017 at 7:22 AM
So cool to read your note about "Behind the scenes..." when using a watch function instead of string-based watch expression. It seems that you sort of read the minds of developers beforehand. I was actually hesitant to use the watch function because I guessed it would be more work for angu... read more »
-
Using Slice(), Substring(), And Substr() In Javascript
Posted on Sep 19, 2012 at 3:02 AM
The ECMASript site has documentation describing substr on page 234 of http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf So I guess substr is part of their standard. Although I acknowledge the IE bug, which can be fixed like so: // only run when the substr functio... read more »
-
Using Slice(), Substring(), And Substr() In Javascript
Posted on Jun 4, 2012 at 10:04 AM
Thank you. I will never use substring again. Just slice and substr.... read more »