mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-15 21:15:57 +00:00
Updated vitreum, fixed events in render warnings
This commit is contained in:
@@ -34,6 +34,6 @@
|
|||||||
"shortid": "^2.2.4",
|
"shortid": "^2.2.4",
|
||||||
"striptags": "^2.1.1",
|
"striptags": "^2.1.1",
|
||||||
"superagent": "^1.6.1",
|
"superagent": "^1.6.1",
|
||||||
"vitreum": "^4.0.7"
|
"vitreum": "^4.0.12"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ const livereload = require('vitreum/steps/livereload.js').partial;
|
|||||||
const Proj = require('./project.json');
|
const Proj = require('./project.json');
|
||||||
|
|
||||||
Promise.resolve()
|
Promise.resolve()
|
||||||
.then(jsx('homebrew', './client/homebrew/homebrew.jsx', Proj.libs, ['shared']))
|
.then(jsx('homebrew', './client/homebrew/homebrew.jsx', Proj.libs, 'shared'))
|
||||||
.then(less('homebrew', './shared'))
|
.then(less('homebrew', './shared'))
|
||||||
.then(assets(Proj.assets, ['./shared', './client']))
|
.then(assets(Proj.assets, ['./shared', './client']))
|
||||||
.then(livereload())
|
.then(livereload())
|
||||||
|
|||||||
@@ -11,10 +11,10 @@ const RenderWarnings = React.createClass({
|
|||||||
},
|
},
|
||||||
componentDidMount: function() {
|
componentDidMount: function() {
|
||||||
this.checkWarnings();
|
this.checkWarnings();
|
||||||
window.addEventListner('onresize', this.checkWarnings);
|
window.addEventListener('resize', this.checkWarnings);
|
||||||
},
|
},
|
||||||
componentWillUnmount: function() {
|
componentWillUnmount: function() {
|
||||||
window.removeEventListener('onresize', this.checkWarnings);
|
window.removeEventListener('resize', this.checkWarnings);
|
||||||
},
|
},
|
||||||
warnings : {
|
warnings : {
|
||||||
chrome : function(){
|
chrome : function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user