diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2016-10-08 17:18:25 -0200 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2016-10-08 17:18:25 -0200 |
commit | 5c18e89d271fd515eaa2cbd2fb393fe133fb0bbc (patch) | |
tree | 66e97344ddc12e57138eec480d0e9c7f96c88007 /spec | |
parent | 74aab4ca721acdb34ec16e5413e906ad24b1b5c9 (diff) | |
download | svg.js-5c18e89d271fd515eaa2cbd2fb393fe133fb0bbc.tar.gz svg.js-5c18e89d271fd515eaa2cbd2fb393fe133fb0bbc.zip |
halt dev of chrome base solution
Diffstat (limited to 'spec')
-rw-r--r-- | spec/pretest.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/pretest.js b/spec/pretest.js deleted file mode 100644 index 1ccaf89..0000000 --- a/spec/pretest.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict' - -function get(uri) { - var xhr = new XMLHttpRequest() - xhr.open('GET', uri, false) - xhr.send() - if(xhr.status !== 200) - console.error('SVG.js fixture could not be loaded. Tests will fail.') - return xhr.responseText -} - -function main() { - var style = document.createElement("style") - document.head.appendChild(style) - style.sheet.insertRule( get('/base/spec/fixture.css'), 0 ) - - document.body.innerHTML = get('/base/spec/fixture.svg') -} - -main() |