changed global util to _ to preview clash with app
This commit is contained in:
parent
21ef146eb0
commit
ac813ddd2e
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const app = {
|
const _ = {
|
||||||
version: 0,
|
version: 0,
|
||||||
debug: true,
|
debug: true,
|
||||||
// http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
|
// http://paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
|
||||||
|
@ -14,6 +14,6 @@ const app = {
|
||||||
};
|
};
|
||||||
|
|
||||||
riot.mixin({
|
riot.mixin({
|
||||||
log: app.log,
|
log: _.log,
|
||||||
relay: riot.observable()
|
relay: riot.observable()
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue