Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Nov 10, 2015
1 parent 2047d4a commit 018f87a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/dollar-third.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
*/
define(function() {
var req = window.require;
var $ = window.__dollar || window.jQuery || window.Zepto || req('jquery') || req('zepto');
var $ = window.__dollar ||
window.jQuery ||
window.Zepto ||
req('jquery') ||
req('zepto') ||
require('jquery') ||
require('zepto');

if ( !$ ) {
throw new Error('jQuery or Zepto not found!');
Expand Down

0 comments on commit 018f87a

Please sign in to comment.