Skip to content

Commit

Permalink
Fix heroku app.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cornelius Weidmann committed Oct 3, 2015
1 parent f8fca5f commit 79cd336
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
klocalstorage
=============
####Version: 1.0.2
####Version: 1.0.3

A plug and play local storage viewer.

Expand All @@ -21,7 +21,7 @@ the closing `</body>` tag. The IDs are important, don't remove them.

Include this JS file before the closing `</body>` tag.

<script src="https://klocalstorage.herokuapp.com/app.js"></script>
<script id="klocalstorage_script" src="https://klocalstorage.herokuapp.com/app.js"></script>

Support
-------
Expand Down
4 changes: 2 additions & 2 deletions app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "klocalstorage",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "www.kycosoftware.com",
"description": "A plug and play local storage viewer.",
"main": "dist/klocalstorage.min.js",
Expand Down
2 changes: 1 addition & 1 deletion dist/klocalstorage.css

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

2 changes: 1 addition & 1 deletion dist/klocalstorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
** klocalstorage
** =============
**
** Version 1.0.2
** Version 1.0.3
**
** Brought to you by
** https://www.kycosoftware.com
Expand Down
2 changes: 1 addition & 1 deletion dist/klocalstorage.min.css

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

2 changes: 1 addition & 1 deletion dist/klocalstorage.min.js

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

3 changes: 1 addition & 2 deletions src/heroku.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ klocalstorage.JQUERY_URL = 'https://cdnjs.cloudflare.com/ajax/libs/jqu
klocalstorage.JSONEDITOR_URL = 'https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/4.2.1/jsoneditor.min.js';
klocalstorage.JSONEDITOR_STYLE_URL = 'https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/4.2.1/jsoneditor.min.css';

klocalstorage.STYLE = document.getElementById('klocalstorage_style');
klocalstorage.SCRIPT = document.getElementById('klocalstorage_script');
klocalstorage.ERROR_MSG = 'An error occurred while getting the required dependencies.';
klocalstorage.editor = {};
Expand Down Expand Up @@ -219,7 +218,7 @@ klocalstorage.appendStyle = function(d, style) {
style.rel = 'stylesheet';
style.href = klocalstorage.JSONEDITOR_STYLE_URL;

klocalstorage.STYLE.parentNode.insertBefore(style, klocalstorage.STYLE);
klocalstorage.SCRIPT.parentNode.insertBefore(style, klocalstorage.SCRIPT);
};

/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 79cd336

Please sign in to comment.