Skip to content

Commit

Permalink
Update to inkjs 1.2.0 for parity with ink 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
joethephish committed Sep 22, 2016
1 parent 4ccbc07 commit 43ad05c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/export-for-web-template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<h1>##STORY TITLE##</h1>
</div>

<script src="ink.iife.js"></script>
<script src="ink.js"></script>
<script src="##JAVASCRIPT FILENAME##"></script>
<script src="main.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"dependencies": {
"chokidar": "^1.6.0",
"inkjs": "^1.1.0",
"inkjs": "^1.2.0",
"lodash": "^4.13.1",
"mkdirp": "^0.5.1",
"randomstring": "^1.1.5"
Expand Down
4 changes: 2 additions & 2 deletions app/renderer/inkProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ InkProject.prototype.buildForWeb = function(jsonFilePath, targetDirectory) {
});

// Copy other files verbatim
copyFile(path.join(__dirname, "../node_modules/inkjs/dist/ink.iife.js"),
path.join(targetDirectory, "ink.iife.js"));
copyFile(path.join(__dirname, "../node_modules/inkjs/dist/ink.js"),
path.join(targetDirectory, "ink.js"));

copyFile(path.join(templateDir, "style.css"),
path.join(targetDirectory, "style.css"));
Expand Down

0 comments on commit 43ad05c

Please sign in to comment.