Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

support SDK_ROOT that does not havce a trailing slash.

  • Loading branch information...
commit 6bda23199fabfbd552f9d742246cd537b994c973 1 parent 966dde3
@canuckistani canuckistani authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  data/loader.js
View
3  data/loader.js
@@ -26,6 +26,9 @@ function normalize(uri) {
self.port.on('pathChange', function(path) {
let SDK_ROOT = path
+ if (SDK_ROOT.subtr(-1) !== '/')
+ SDK_ROOT += '/'
+
function resolve(id, requirer) {
let uri = null
if (loader && id in loader.modules)
Please sign in to comment.
Something went wrong with that request. Please try again.