SomeKittens

San Francisco, CA

recoding.blogspot.com

Age: 23

#!/bin/sh

echo $GREETING, I am $NAME, working at $WORKPLACE in $LANGUAGE.

echo $WITTY_COMMENT;
6h
comment AngularJS Expression
@jeewan Don't forget to accept!
9h
comment AngularJS Expression
Glad I could help, thanks!
9h
comment Unit test $formatters in Angular directive
Apologies if upvote/accept was wonky - SO's app was having issues. Should be resolved now. Thanks!
9h
accepted Unit test $formatters in Angular directive
9h
comment AngularJS Expression
You have a syntax error - the dot shouldn't be there.
9h
answered AngularJS Expression
1d
revised Unit test $formatters in Angular directive
deleted 17 characters in body
1d
comment Unit test $formatters in Angular directive
$setViewValue triggers $parsers and $validators, not $formatters: docs.angularjs.org/api/ng/type/ngModel.NgModelController
1d
asked Unit test $formatters in Angular directive
1d
revised how to test $parsers.push and $formatters.push on angular with jasmine
deleted 158 characters in body; edited tags
2d
revised To test a custom validation angular directive
added 10 characters in body
2d
comment Docker: /etc/hosts not automatically updated on source container restart
I don't know why you were downvoted, this is a well-asked question.
Oct
14
answered Empty object require angular browserify
Oct
13
revised Karma/Jasmine spec -- Expected { } to equal { }
added 137 characters in body
Oct
13
comment Karma/Jasmine spec -- Expected { } to equal { }
@PSL Yep, turns out the issue was a misunderstanding of Jasmine's toEqual all along.
Oct
13
answered Karma/Jasmine spec -- Expected { } to equal { }
Oct
13
comment Karma/Jasmine spec -- Expected { } to equal { }
@PSL heh - good work proving that the issue lies with Jasmine all along (which is what my comment states)
Oct
13
comment Karma/Jasmine spec -- Expected { } to equal { }
OP: Can you provide a complete example in a Plunkr? (as well as using regular JavaScript)?
Oct
13
comment Karma/Jasmine spec -- Expected { } to equal { }
@PSL No, it's not. toEqual is NOT ===. It iterates through an object and checks the properties.
Oct
13
comment Karma/Jasmine spec -- Expected { } to equal { }
@PSL This is not a dupe, this is a Jasmine issue. toEqual should work in this instance: groups.google.com/forum/#!topic/jasmine-js/INma5VrV2Xs
1 2 3 4 5