Permalink
Please sign in to comment.
Showing
with
108 additions
and 235 deletions.
- +1 −1 .gitignore
- +49 −66 Gruntfile.js
- +0 −6 bower.json
- +1 −1 manifest.json
- +4 −5 package.json
- +0 −64 src/index-build.html
- +3 −3 src/index.html
- +1 −1 src/js/fluxcontroller.js
- +1 −1 src/js/models/library_sync_status.js
- +1 −1 src/js/util/async-dependency-queue.js
- +47 −86 webpack.config.js
115
Gruntfile.js
| @@ -1,5 +1,5 @@ | ||
| { | ||
| - "start_url": "./src/index.html", | ||
| + "start_url": "./build/index.html", | ||
| "name": "Adobe Photoshop Design Space", | ||
| "short_name": "Design Space" | ||
| } |
| @@ -1,64 +0,0 @@ | ||
| -<!doctype html> | ||
| -<!-- | ||
| - Copyright (c) 2014 Adobe Systems Incorporated. All rights reserved. | ||
| - | ||
| - Permission is hereby granted, free of charge, to any person obtaining a | ||
| - copy of this software and associated documentation files (the "Software"), | ||
| - to deal in the Software without restriction, including without limitation | ||
| - the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
| - and/or sell copies of the Software, and to permit persons to whom the | ||
| - Software is furnished to do so, subject to the following conditions: | ||
| - | ||
| - The above copyright notice and this permission notice shall be included in | ||
| - all copies or substantial portions of the Software. | ||
| - | ||
| - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
| - DEALINGS IN THE SOFTWARE. | ||
| ---> | ||
| - | ||
| -<html> | ||
| -<head> | ||
| - <meta charset="utf-8"> | ||
| - <title>Photoshop Design Space (optimized build)</title> | ||
| - <link rel="stylesheet" type="text/css" href="style/main.css" /> | ||
| - <script src="js/require.js"></script> | ||
| - <script> | ||
| - var locale = window.navigator.language, | ||
| - parts = locale.match(/\w+/), | ||
| - language = parts.length > 0 && parts[0]; | ||
| - | ||
| - switch (language) { | ||
| - case "en": | ||
| - case "de": | ||
| - case "fr": | ||
| - case "ja": | ||
| - break; | ||
| - default: | ||
| - language = "en" | ||
| - } | ||
| - | ||
| - var localeModuleName = "js/init-build-" + language; | ||
| - | ||
| - require.config({ | ||
| - paths: { | ||
| - "js/init-build": localeModuleName | ||
| - }, | ||
| - config: { | ||
| - i18n: { | ||
| - locale: language | ||
| - } | ||
| - } | ||
| - }); | ||
| - | ||
| - require(["js/init-build"]); | ||
| - </script> | ||
| -</head> | ||
| -<body> | ||
| - <div class="main"></div> | ||
| -</body> | ||
| -</html> |
Oops, something went wrong.
0 comments on commit
cfd915f