Closed lijunle closed 8 years ago
cc @danielmiladinov
Looks good, I intend to merge unless Danny objects
:sob: My test is failing, because Travis is using Chrome 37 to run my test. It seems behavior like ES5 - MDN said Object.getOwnPropertyNames
will throws TypeError when argument is not object.
However, I will fix the test failure.
Do you need me to bump version and publish?
react-cursor 2.0 will be coming soon, this will be part of 2.0 as well.
I am OK with both options. That is your decision. :)
NODE_ENV
environment variable.Note:
Please be attention with the behavior of
Object.freeze
. According to MDN's description:use strict
, nothing happens when touch the value propertyuse strict
,TypeError
is thrown.