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

Add nocache option to buildInFunction's extends #16

Closed
wants to merge 6 commits into from

Conversation

Avcajaraville
Copy link

Fix #12

@Avcajaraville
Copy link
Author

CI build failed because the base code isn't passing the tests.

It is not passing the tests BEFORE my changes, so the current version on master does not pass the tests and should be fixed as well.

- Add UMD, CommonJS & web/browser support. Based on [this pull request](umakantp#14).
- Remove **String.prototype.fetch** function (since this is a very bad practice), and instead, modifying the export of the module. Now it exports the constructor and the fetch function.
- The module now exports the following object: `{ jSmart: jSmart, fetch: fetch }`. This is, `jSmart` constructor and `fecth` function
This way, the original data object never gets modify, in case needed at some other point.
@umakantp
Copy link
Owner

I have fixed the issue. There is no need to enable nocache=true forever.

@umakantp umakantp closed this Aug 11, 2017
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