ericdrowell/KineticJS — pull request #824 by PlNG (2014-02-24 01:31:28+00:00)
Title: Possible bugs? foo Bitwise OR:"|" 0 returns foo.

Maybe you meant Logical OR: "||" which would do foo Logical OR: "||" 0 meaning if foo is falsy it is 0.