Skip to content
This repository
Browse code

Merge pull request #141 from sschleicher/master

Exception when not using steal during ajax call
  • Loading branch information...
commit db3ec80474a85419348aafba66114e2fb56f5fc7 2 parents 5766048 + d756b44
David Luecke daffl authored

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. +4 1 dom/fixture/fixture.js
5 dom/fixture/fixture.js
@@ -35,7 +35,10 @@ steal('jquery/dom',
35 35 var url = settings.fixture;
36 36
37 37 if (/^\/\//.test(url) ) {
38   - url = steal.root.mapJoin(settings.fixture.substr(2))+'';
  38 + var sub = settings.fixture.substr(2) + '';
  39 + url = typeof steal === "undefined" ?
  40 + url = "/" + sub :
  41 + steal.root.mapJoin(sub) +'';
39 42 }
40 43 //!steal-remove-start
41 44 steal.dev.log("looking for fixture in " + url);

0 comments on commit db3ec80

Please sign in to comment.
Something went wrong with that request. Please try again.