Skip to content

Commit

Permalink
js file path changed
Browse files Browse the repository at this point in the history
  • Loading branch information
elifceren committed Aug 27, 2015
1 parent 1c1c5c4 commit 781b14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ function findOrLoadZeroClipboard(){
else {
// load zeroclipboard from CDN
// in production we want the minified version
var ZERO_CLIPBOARD_SOURCE = 'http://zeroclipboard.org/javascripts/zc/v2.2.0/ZeroClipboard';
loadScript(process.env.NODE_ENV === 'production' ? ZERO_CLIPBOARD_SOURCE + '.min.js' : ZERO_CLIPBOARD_SOURCE + '.js', handleZeroClipLoad);
var ZERO_CLIPBOARD_SOURCE = '/js/vendor/zeroclipboard/ZeroClipboard';
loadScript(ZERO_CLIPBOARD_SOURCE + '.min.js', handleZeroClipLoad);
}
}

Expand Down

0 comments on commit 781b14c

Please sign in to comment.