Просмотр исходного кода

NESNameTable now has a .eq() method that will return true if the object given is a NESNameTable containing the same data.

dev
Bryan Miller 7 лет назад
Родитель
Сommit
bf8dbd5eb9
1 измененных файлов: 5 добавлений и 0 удалений
  1. +5
    -0
      app/js/models/NESNameTable.js

+ 5
- 0
app/js/models/NESNameTable.js Просмотреть файл

} }




eq(nt){
return (nt instanceof NESNameTable) ? (this.base64 === nt.base64) : false;
}


/** /**
* Generates a small 6502 assembly block string containing the current nametable data. * Generates a small 6502 assembly block string containing the current nametable data.
* @param {string} [ntname="NameTableData"] The label name under which to store the data. * @param {string} [ntname="NameTableData"] The label name under which to store the data.

Загрузка…
Отмена
Сохранить