Skip to content

Commit

Permalink
chore: Fix indentation style
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Trinh authored and Scott Trinh committed Jan 7, 2017
1 parent 9745113 commit d325059
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/angular-localForage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions src/angular-localForage.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
return factory(angular, localforage);
});
} else if(typeof exports === 'object' || typeof global === 'object') {
if(typeof module === 'undefined') {
global.module.exports = factory(angular, require('localforage')); // NW.js
} else {
module.exports = factory(angular, require('localforage')); // Node/Browserify
}
if(typeof module === 'undefined') {
global.module.exports = factory(angular, require('localforage')); // NW.js
} else {
module.exports = factory(angular, require('localforage')); // Node/Browserify
}
} else {
return factory(angular, root.localforage); // Browser
}
Expand Down

0 comments on commit d325059

Please sign in to comment.