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

Support Browserify and related refactoring #279

Merged
merged 1 commit into from
Mar 9, 2015
Merged

Support Browserify and related refactoring #279

merged 1 commit into from
Mar 9, 2015

Conversation

whitlockjc
Copy link
Contributor

Unfortunately, supporting Browserify required a lot of refactoring.
Below is a list of the changes required to support Browserify:

  • Source restructuring so that sources now are Node.js modules and
    Browserify use used to build the browser binaries
  • NPM was cleaned up so that only the required files are packaged for
    NPM
  • Gulp file was restructured to build with Browserify
  • Removed all globals and unnecessary objects/functions from the exports
  • Removed shred and replaced with Superagent

Fixes #178
Fixes #208
Fixes #267

Others are possibly fixed but I'd rather add tests to ensure they are.

Unfortunately, supporting Browserify required a lot of refactoring.
Below is a list of the changes required to support Browserify:

* Source restructuring so that sources now are Node.js modules and
  Browserify use used to build the browser binaries
* NPM was cleaned up so that only the required files are packaged for
  NPM
* Gulp file was restructured to build with Browserify
* Removed all globals and unnecessary objects/functions from the exports
* Removed shred and replaced with Superagent

Fixes #187
Fixes #208
Fixes #267

Others are possibly fixed but I'd rather add tests to ensure they are.
whitlockjc added a commit that referenced this pull request Mar 9, 2015
Support Browserify and related refactoring
@whitlockjc whitlockjc merged commit 2061e9a into swagger-api:develop_2.0 Mar 9, 2015
@whitlockjc
Copy link
Contributor Author

@fehguy gave me the +1 to merge since all tests pass and preliminary testing with swagger-ui was fine. Since we did remove Shred and switched to Superagent I am aware that some things could have changed that will require some follow-up work.

@whitlockjc whitlockjc deleted the browserify branch March 11, 2015 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants