Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jesse-mm committed May 14, 2024
1 parent 430563f commit 3b6cb24
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ npm i -S task-loader
import TaskLoader, {
LoadImageTask,
LoadVideoTask,
LoadHowlerAudioTask,
LoadJsonTask,
LoadScriptTask,
} from 'task-loader';
Expand Down Expand Up @@ -63,11 +62,6 @@ taskLoader.loadTasks([
new LoadVideoTask({
assets: ['path/to/video.mp4'],
}),
new LoadHowlerAudioTask({
assets: ['path/to/audio.{format}}'],
// Define the formats of the file you've provided
formats: ['mp3', 'ogg'],
}),
new LoadImageTask({
assets: ['path/to/image-1.jpg', 'path/to/image-2.jpg'],
// Sometimes you might want change the image cross origin attribute, the default one is 'Use-Credentials'
Expand Down Expand Up @@ -143,7 +137,6 @@ import cacheManager from 'task-loader/lib/CacheManager';

import LoadImageTask from 'task-loader/lib/task/LoadImageTask';
import LoadVideoTask from 'task-loader/lib/task/LoadVideoTask';
import LoadHowlerAudioTask from 'task-loader/lib/task/LoadHowlerAudioTask';
import LoadJsonTask from 'task-loader/lib/task/LoadJsonTask';
import LoadScriptTask from 'task-loader/lib/task/LoadScriptTask';
```
Expand Down Expand Up @@ -172,7 +165,7 @@ and [Node.js](http://nodejs.org/) installed.
Clone a copy of the repo:

```sh
git clone https://github.com/larsvanbraam/task-loader.git
git clone git@github.com:mediamonks/task-loader.git
```

Change to the task-loader directory:
Expand Down

0 comments on commit 3b6cb24

Please sign in to comment.