Refactored HistoryService, CurrentColorsService, draft for popup preview

This commit is contained in:
jdescottes
2015-02-27 23:54:18 +01:00
parent 0f1489727c
commit 7a355b39a0
12 changed files with 150 additions and 184 deletions

View File

@@ -3,9 +3,6 @@
ns.AbstractSettingController = function () {};
ns.AbstractSettingController.prototype.addEventListener = function (el, type, callback) {
if (typeof el === 'string') {
el = document.querySelector(el);
}
pskl.utils.Event.addEventListener(el, type, callback, this);
};