Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Commit

Permalink
Fix bundling, closes #94
Browse files Browse the repository at this point in the history
- Update react to latest version, that way users can upgrade react and
  avoid the problem of two react versions running alongside.
- Change the way the blueimp library is required to avoid issues with
  webpack.
  • Loading branch information
gnandretta committed Jan 28, 2016
1 parent 84c357a commit 859e181
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"grunt-exec": "^0.4.6",
"grunt-http": "^1.6.0",
"mochify": "^2.12.0",
"react-addons-test-utils": "0.14.5",
"react-addons-test-utils": "0.14.6",
"sinon": "^1.15.4",
"unreleased": "^0.1.0",
"zuul": "^3.2.0",
Expand All @@ -67,10 +67,10 @@
"fbjs": "^0.3.1",
"immutable": "^3.7.3",
"jsonp": "^0.2.0",
"react": "0.14.5",
"react-addons-css-transition-group": "0.14.5",
"react-addons-transition-group": "0.14.5",
"react-dom": "0.14.5",
"react": "0.14.6",
"react-addons-css-transition-group": "0.14.6",
"react-addons-transition-group": "0.14.6",
"react-dom": "0.14.6",
"reqwest": "^1.1.4",
"trim": "0.0.1"
}
Expand Down
4 changes: 3 additions & 1 deletion src/gravatar/web_api.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { md5 } from 'blueimp-md5';
import blueimp from 'blueimp-md5';
import { validateEmail } from '../cred/index';
import jsonp from '../utils/jsonp_utils';
import * as preload from '../preload/index';

const md5 = blueimp.md5 || blueimp;

export function profile(email, success, error) {
if (validateEmail(email)) {
const url = `https://secure.gravatar.com/${md5(email)}.json`;
Expand Down

0 comments on commit 859e181

Please sign in to comment.