Permalink
Browse files

Actually close #220 (#222)

I have to admit to a total facepalm on this one!

* Load the right module in `amd`
* Bump package
* Publish builds
  • Loading branch information...
1 parent b254842 commit 560df91a82630e491cc225cb2c7e68ec77ef697e @scott-w scott-w committed Aug 22, 2017
Showing with 4 additions and 4 deletions.
  1. +1 −1 build/backbone.localStorage.js
  2. +1 −1 build/backbone.localStorage.min.js
  3. +1 −1 package.json
  4. +1 −1 webpack.config.js
@@ -2,7 +2,7 @@
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("underscore"), require("backbone"));
else if(typeof define === 'function' && define.amd)
- define(["backbone", "backbone"], factory);
+ define(["underscore", "backbone"], factory);
else if(typeof exports === 'object')
exports["Backbone.LocalStorage"] = factory(require("underscore"), require("backbone"));
else

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
{
"author": "Scott Walton <s@cott.me.uk>",
"name": "backbone.localstorage",
- "version": "2.0.1",
+ "version": "2.0.2",
"license": "MIT",
"repository": {
"type": "git",
View
@@ -20,7 +20,7 @@ module.exports = {
root: 'Backbone'
},
underscore: {
- amd: 'backbone',
+ amd: 'underscore',
commonjs: 'underscore',
commonjs2: 'underscore',
root: '_'

0 comments on commit 560df91

Please sign in to comment.