-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed undefined global in the Browser in indexed-store/index.js #48
Conversation
As per Gitter post with Andrey
Function in this module that use ``global`` would raise an exception because it is undefined in the Browser. ex. ``clean()`` & ``db.onversionchange()``
Yep. I'm fine with your change. I've made that change in my fork but can't do a pull request! |
Just add new commits to your |
Looks like you have the new commit now. |
Yeap, but I do not see changes for https://github.com/clibu/client/blob/16f790f56c55a7e4adde19a7029b197b1b6ebcd0/indexed-store/index.js#L74 Also, I recommend to install dependencies and run linter. It will tell you what to fix: yarn install
yarn test |
Ok, so is this what you are thinking:
and
etc. |
Yeap, I like it! |
/home/travis/build/logux/client/indexed-store/index.js 3:1 error This line has a length of 135. Maximum allowed is 80 max-len 3:18 error There should be no space after this paren space-in-parens 3:61 error There should be no space before this paren space-in-parens 3:81 error Multiple spaces found before '// global is u...' no-multi-spaces
4:1 error This line has a length of 82. Maximum allowed is 80 max-len 4:79 error Trailing spaces not allowed no-trailing-spaces
See commit message.