diff --git a/src/data/actions/story-format.js b/src/data/actions/story-format.js index 047d1feea..fd53c434c 100644 --- a/src/data/actions/story-format.js +++ b/src/data/actions/story-format.js @@ -226,8 +226,8 @@ const actions = (module.exports = { }, { name: 'SugarCube', - url: 'story-formats/sugarcube-2.34.1/format.js', - version: '2.34.1', + url: 'story-formats/sugarcube-2.36.1/format.js', + version: '2.36.1', userAdded: false } ]; diff --git a/src/data/actions/story-format.spec.js b/src/data/actions/story-format.spec.js index 2d82e9c27..dc6a72f44 100644 --- a/src/data/actions/story-format.spec.js +++ b/src/data/actions/story-format.spec.js @@ -104,11 +104,11 @@ describe('story format actions module', () => { 'story-formats/sugarcube-1.0.35/format.js' ); expect(created['SugarCube-1.0.35'].userAdded).to.be.false; - expect(created['SugarCube-2.34.1']).to.exist; - expect(created['SugarCube-2.34.1'].url).to.equal( - 'story-formats/sugarcube-2.34.1/format.js' + expect(created['SugarCube-2.36.1']).to.exist; + expect(created['SugarCube-2.36.1'].url).to.equal( + 'story-formats/sugarcube-2.36.1/format.js' ); - expect(created['SugarCube-2.34.1'].userAdded).to.be.false; + expect(created['SugarCube-2.36.1'].userAdded).to.be.false; }); it('sets default formats with repairFormats()', () => { @@ -167,7 +167,7 @@ describe('story format actions module', () => { {name: 'Snowman', version: '1.4.0'}, {name: 'Snowman', version: '2.0.2'}, {name: 'SugarCube', version: '1.0.35'}, - {name: 'SugarCube', version: '2.34.1'} + {name: 'SugarCube', version: '2.36.1'} ] } } diff --git a/story-formats/sugarcube-2.34.1/format.js b/story-formats/sugarcube-2.34.1/format.js deleted file mode 100644 index 6991bd389..000000000 --- a/story-formats/sugarcube-2.34.1/format.js +++ /dev/null @@ -1 +0,0 @@ -window.storyFormat({"name":"SugarCube","version":"2.34.1","description":"A full featured, highly customizable story format. See its documentation.","author":"Thomas Michael Edwards","image":"icon.svg","url":"http://www.motoslave.net/sugarcube/","license":"BSD-2-Clause","proofing":false,"source":"\n\n\n\n{{STORY_NAME}}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t
\n\t\t
\n\t\t
Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
\n\t\t
Loading…
\n\t
\n\t{{STORY_DATA}}\n\t\n\n\n"}); \ No newline at end of file diff --git a/story-formats/sugarcube-2.34.1/LICENSE b/story-formats/sugarcube-2.36.1/LICENSE similarity index 95% rename from story-formats/sugarcube-2.34.1/LICENSE rename to story-formats/sugarcube-2.36.1/LICENSE index 95e2dab3c..5af7f67c1 100644 --- a/story-formats/sugarcube-2.34.1/LICENSE +++ b/story-formats/sugarcube-2.36.1/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2013-2020, Thomas Michael Edwards . +Copyright (c) 2013-2021, Thomas Michael Edwards . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/story-formats/sugarcube-2.36.1/format.js b/story-formats/sugarcube-2.36.1/format.js new file mode 100644 index 000000000..8babb57bc --- /dev/null +++ b/story-formats/sugarcube-2.36.1/format.js @@ -0,0 +1 @@ +window.storyFormat({"name":"SugarCube","version":"2.36.1","description":"A full featured, highly customizable story format. See its documentation.","author":"Thomas Michael Edwards","image":"icon.svg","url":"http://www.motoslave.net/sugarcube/","license":"BSD-2-Clause","proofing":false,"source":"\n\n\n\n{{STORY_NAME}}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t
\n\t\t
\n\t\t

Browser lacks capabilities required to play.

Upgrade or switch to another browser.

\n\t\t
Loading…
\n\t
\n\t{{STORY_DATA}}\n\t\n\n\n"}); \ No newline at end of file diff --git a/story-formats/sugarcube-2.34.1/icon.svg b/story-formats/sugarcube-2.36.1/icon.svg similarity index 100% rename from story-formats/sugarcube-2.34.1/icon.svg rename to story-formats/sugarcube-2.36.1/icon.svg