Skip to content

Commit

Permalink
Need to detect element using peace.js and not peace-js
Browse files Browse the repository at this point in the history
  • Loading branch information
humancopy committed Feb 7, 2017
1 parent 35c3b6e commit 931e047
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/peace.min.js

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

4 changes: 2 additions & 2 deletions src/peace.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/**
* PEACE.js - http://humancopy.net/peace-js.html
* Peace please, humancopy.net 2017
* Version 1.1.1
* Version 1.1.2
*
*/

var peaceJS;
(function() {

var script_tag = document.querySelector('script[src*="peace-js"]'),
var script_tag = document.querySelector('script[src*="peace.js"]'),
auto_load = script_tag && (script_tag.getAttribute('data-auto') === null || script_tag.getAttribute('data-auto') === 'true');

peaceJS = function(options) {
Expand Down
2 changes: 1 addition & 1 deletion src/peace.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* PEACE.js - http://humancopy.net/peace-js.html
* Peace please, humancopy.net 2017
* Version 1.1.1
* Version 1.1.2
*
*/

Expand Down

0 comments on commit 931e047

Please sign in to comment.