ForbesLindesay / brcdn.org

Browserify CDN
MIT License
12 stars 5 forks source link

always lowercased module names when standalone is used #5

Open tunnckoCore opened 8 years ago

tunnckoCore commented 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.

https://brcdn.org/vvcy05BVIHDkWNoQhd8nKKe8n8.js, and find g.dush, it should be g.Dush