forked from kriskowal/q
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes kriskowal#677 This commit adds a function that is basically a noop. It simply alerts the user that they should not be using `Q.noConflict` when they are not using Q as a global. If Q finds itself sourced as a `<script>` it will store the original value of `Q` and overwites `Q.noConflict` function with an actual implementation. `Q.noConflict` returns a refernce to `Q`.
- Loading branch information
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters