Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve dependency injection#14

Open
tcorral wants to merge 1 commit into
requirejs:master from
tcorral:master
Open

Improve dependency injection #14
tcorral wants to merge 1 commit into
requirejs:master from
tcorral:master

Conversation

@tcorral

@tcorral tcorral commented Mar 31, 2017

Copy link
Copy Markdown

Improve dependency injection in lib.js to:

  • Do not relay on jQuery so that it can be easily switched to use Zepto or another library with jQuery API compatible.
  • Do not load two times jQuery:
    • In lib.js
    • In each mainX.js file

jsf-clabot commented Mar 31, 2017
edited
Loading

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

* Do not relay on jQuery so that it can be easily switched to use Zepto or another library with jQuery API compatible.
* Do not load two times jQuery:
 * In lib.js
 * In each mainX.js file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /