Skip to content

Commit

Permalink
Fix code typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalarangelo committed Dec 24, 2024
1 parent b57bf86 commit 40986f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export default class Model {
static instances = {};
static indexedInstances = {};

static prepare(model, indexes) {
static prepare(model) {
const name = model.name;

// Create an array for each model to store instances
Expand Down Expand Up @@ -376,7 +376,7 @@ export default class Model {
static instances = {};
static indexedInstances = {};

static prepare(model, indexes) {
static prepare(model) {
const name = model.name;

// Create an array for each model to store instances
Expand Down
2 changes: 1 addition & 1 deletion content/snippets/js/s/complex-object-factories.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ export default class Model {
static indexedInstances = {};
static getterCache = {};

static prepare(model, indexes) {
static prepare(model) {
const name = model.name;

// Create an array for each model to store instances
Expand Down
4 changes: 2 additions & 2 deletions content/snippets/js/s/complex-object-scopes.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default class Model {
static indexedInstances = {};
static getterCache = {};

static prepare(model, indexes) {
static prepare(model) {
const name = model.name;

// Create an array for each model to store instances
Expand Down Expand Up @@ -275,7 +275,7 @@ export default class Model {
static indexedInstances = {};
static getterCache = {};

static prepare(model, indexes) {
static prepare(model) {
const name = model.name;

// Create an array for each model to store instances
Expand Down
2 changes: 1 addition & 1 deletion content/snippets/js/s/complex-object-serialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ export default class Model {
static indexedInstances = {};
static getterCache = {};

static prepare(model, indexes) {
static prepare(model) {
const name = model.name;

// Create an array for each model to store instances
Expand Down

0 comments on commit 40986f4

Please sign in to comment.