Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,12 @@ Then create a production build of the project:
```
npm run build
```
<sup>^ This command is not always needed while testing, you'll need it most prior to deploying your code</sup>
<sup>^ This command is not always needed while testing, you'll need it most prior to deploying your code because it's basically just an optimisation command you don't need to use much</sup>

And lastly, to run your project in development:
```
npm start
<sup>^ Instead of the usual procedure of running build-engine and then running npm start you can just type npm run engine-quickrun instead :)</sup>
```

If it worked, you should see something like this in the terminal.
Expand Down
4 changes: 2 additions & 2 deletions engine/src/export/wickobj/WickObjectFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Wick.WickObjectFile = class {

/**
* Create a wick file from the project.
* @param {Wick.Project} clip - the clip to create a wickobject file from
* @param {Wick.Clip} clip - the clip to create a wickobject file from
* @param {string} format - Can be 'blob' or 'dataurl'.
*/
static toWickObjectFile (clip, format, callback) {
Expand All @@ -53,7 +53,7 @@ Wick.WickObjectFile = class {
var data = clip.export();
var json = JSON.stringify(data);
var blob = new Blob([json], {type: "application/json"});

if(format === 'blob') {
callback(blob);
} else if (format === 'dataurl') {
Expand Down
Loading