Skip to content

Conversation

daserge
Copy link
Contributor

@daserge daserge commented Feb 17, 2016

Added Travis badge
Added node_modules to gitignore
Disabled quotmark as it is deprecated
Fixed jshint issues

Jira issue

@daserge
Copy link
Contributor Author

daserge commented Feb 17, 2016

There is one issue remaining:

win({name: name, model: model, cordova: cordova,

src\ubuntu\device.js: line 27, col 24, 'name' is not defined.

@daserge
Copy link
Contributor Author

daserge commented Feb 17, 2016

@vladimir-kotikov, could you please take a look?

.jshintrc Outdated
@@ -0,0 +1,16 @@
{
"node": true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we use browser: true instead and add define, module and require to globals?

@daserge
Copy link
Contributor Author

daserge commented Feb 17, 2016

Addressed, thanks for review, @vladimir-kotikov.
BTW, jshint does not highlight the src\ubuntu\device.js: line 27, col 24, 'name' is not defined. issue with browser: true setting.

@vladimir-kotikov
Copy link
Member

I think this is because of https://developer.mozilla.org/docs/Web/API/Window/name

.travis.yml Outdated
language: node_js
sudo: false
node_js:
- "0.10"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no point in running jshint for all 3 versions of node.js. We should just have 1 version here.

Added Travis badge
Added node_modules to gitignore
Disabled quotmark as it is deprecated
Fixed jshint issues
@daserge
Copy link
Contributor Author

daserge commented Feb 18, 2016

@nikhilkh, @dblotsky, addressed, thanks!

@asfgit asfgit merged commit 7d35ac8 into apache:master Feb 18, 2016
@daserge daserge deleted the CB-10636 branch February 18, 2016 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants