Skip to content

Commit

Permalink
Remove local files logic
Browse files Browse the repository at this point in the history
  • Loading branch information
lifesinger committed Aug 20, 2012
1 parent d278dea commit ea27aa3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/vendor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
;(function() {

var MODULES_PATH = 'https://a.alipayobjects.com/static/arale/'
//var MODULES_PATH = 'http://modules.seajs.org/'

var isLocal = location.href.indexOf('/~lifesinger/') > 0

if (isLocal) {
MODULES_PATH = 'http://' + location.host + '/~lifesinger/seajs/spm/modules/'
}


// Ref: https://github.com/miohtama/detectmobile.js
var isMobile = Math.max(screen.availWidth || screen.availHeight) <= 480
Expand Down

0 comments on commit ea27aa3

Please sign in to comment.