-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename "shelf" into a more generic "object". (#17)
- Loading branch information
1 parent
82693a4
commit cd4dd7f
Showing
6 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import itemsJson from './items.json'; | ||
import shelvesJson from './shelves.json'; | ||
import objectsJson from './objects.json'; | ||
import categoriesJson from './categories.json'; | ||
import { itemData, shelfData, categoryData } from '$lib/appstore.js'; | ||
import { itemData, objectsData, categoryData } from '$lib/appstore.js'; | ||
|
||
export function load({ url }) { | ||
// Load data | ||
itemData.set(itemsJson); | ||
shelfData.set(shelvesJson); | ||
objectsData.set(objectsJson); | ||
categoryData.set(categoriesJson); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.