Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use universal module spec #1

Merged
merged 2 commits into from
Jul 24, 2013
Merged

Use universal module spec #1

merged 2 commits into from
Jul 24, 2013

Conversation

jrf0110
Copy link
Member

@jrf0110 jrf0110 commented Jul 24, 2013

I'd like to use this in the browser to build a tool to show the result of a query

jrf0110 added a commit that referenced this pull request Jul 24, 2013
@jrf0110 jrf0110 merged commit bdbe4f6 into master Jul 24, 2013
@jrf0110 jrf0110 deleted the 1-imprv-umd branch July 24, 2013 05:17
@sudhakar
Copy link
Contributor

sudhakar commented Aug 4, 2014

@jrf0110 How about using http://browserify.org/ with a build system to remove the module boilerplate from source files. Let me know if you are interested in a PR for this.

@jrf0110
Copy link
Member Author

jrf0110 commented Aug 4, 2014

Don't get me wrong, I like browserify, but I just don't think builds are necessary.

  1. If in the browser, you can use RequireJS to load all modules in dev mode, and have your own build file for prod
  2. If in the browser, you can use Browserify to build MoSQL just like any other node module

You're right though - the boilerplate is pretty fugly. But it's also very nice to debug experimental features at http://mosql.j0.hn/ and be able to work with the canonical source code rather than a source map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants