Open tunnckoCore opened 8 years ago
there have use cases that you exposes module as class, because the conventions e.g.
function App () {} App.prototype.foo = function foo () {} App.prototype.bar = function bar () {} module.exports = App
and in production you still want it as window.App not lowercased.
window.App
https://brcdn.org/vvcy05BVIHDkWNoQhd8nKKe8n8.js, and find g.dush, it should be g.Dush
g.dush
g.Dush
there have use cases that you exposes module as class, because the conventions e.g.
and in production you still want it as
window.App
not lowercased.https://brcdn.org/vvcy05BVIHDkWNoQhd8nKKe8n8.js, and find
g.dush
, it should beg.Dush