Make Styler strict

pull/36/head
Christian Paul 2017-11-24 01:42:09 -08:00
rodzic fd40b57f51
commit 9d9ef31f7b
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -8,11 +8,11 @@
Compiles layer filter instructions into a chain of true/false returning
anonymous functions to improve rendering speed compared to realtime parsing.
*/
var Styler;
'use strict';
const fs = require('fs');
module.exports = class Styler {
class Styler {
constructor(file) {
this.styleById = {};
this.styleByLayer = {};
@ -132,3 +132,5 @@ module.exports = class Styler {
}
}
}
module.exports = Styler;