diff --git a/.gitignore b/.gitignore index e9b4327..c5f05f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ bower_components vulcanized.js -vulcanized.html \ No newline at end of file +vulcanized.html +index.build.html +index.build.js \ No newline at end of file diff --git a/README.md b/README.md index 500d379..2538725 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,5 @@ PrettyCode ========== Chrome App to prettify code and have it ready to copy and paste in presentation/documents keeping the formatting +`master` branch is the website version +`chromeApp` is the code with the changes needed to make everything works in a Chrome App diff --git a/background.js b/background.js index f460b13..abc0c16 100644 --- a/background.js +++ b/background.js @@ -6,7 +6,7 @@ */ chrome.app.runtime.onLaunched.addListener(function(launchData) { chrome.app.window.create( - 'index.html', + 'index.html',//Open the minified and CSP enabled code { id: 'mainWindow', bounds: {width: 800, height: 600} diff --git a/bower.json b/bower.json index 9ecc7f5..3d320da 100644 --- a/bower.json +++ b/bower.json @@ -6,13 +6,13 @@ "author": "", "private": true, "dependencies": { - "polymer": "Polymer/polymer#^0.5.2", - "core-elements": "Polymer/core-elements#^0.5.2", - "prettify-element": "SmokyBob/prettify-element#master", - "paper-button": "Polymer/paper-button#~0.5.2", - "paper-dropdown-menu": "Polymer/paper-dropdown-menu#~0.5.2", - "paper-dropdown": "Polymer/paper-dropdown#~0.5.2", - "paper-input": "Polymer/paper-input#~0.5.2", - "paper-toggle-button": "Polymer/paper-toggle-button#~0.5.2" + "polymer": "Polymer/polymer#^1.0.5", + "prettify-element": "smokybob/prettify-element#1.0", + "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.1", + "iron-icons": "PolymerElements/iron-icons#^1.0.1", + "paper-input": "PolymerElements/paper-input#^1.0.0", + "paper-button": "PolymerElements/paper-button#^1.0.1", + "paper-toggle-button": "PolymerElements/paper-toggle-button#^1.0.1", + "iron-autogrow-textarea": "SmokyBob/iron-autogrow-textarea#inherit-color" } } diff --git a/index.html b/index.html index 468f0b8..db1bfa5 100644 --- a/index.html +++ b/index.html @@ -2,31 +2,36 @@ PrettyCode - + + + + + - - - + - + - - + + - -