Skip to content

Commit

Permalink
chore(dist): updating distributables to version 0.11.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Feb 6, 2018
1 parent ff51bc1 commit 341ae00
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 94 deletions.
14 changes: 9 additions & 5 deletions dist/file-size.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"dist/sass.js": {
"normal": "5 KB",
"normal": "6 KB",
"compressed": "2 KB"
},
"dist/sass.sync.js": {
"normal": "3527 KB",
"compressed": "739 KB"
"normal": "358 KB",
"compressed": "80 KB"
},
"dist/sass.worker.js": {
"normal": "3527 KB",
"compressed": "739 KB"
"normal": "357 KB",
"compressed": "80 KB"
},
"dist/libsass.wasm": {
"normal": "1701 KB",
"compressed": "522 KB"
}
}
Binary file added dist/libsass.wasm
Binary file not shown.
19 changes: 15 additions & 4 deletions dist/sass.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! sass.js - v0.10.9 (3e41106) - built 2018-02-06
/*! sass.js - v0.11.0-beta.1 (ff51bc1) - built 2018-02-06
providing libsass 3.4.9 (6de5050d)
via emscripten 1.37.33 ()
*/
Expand All @@ -12,22 +12,33 @@
} else {
root.Sass = factory();
}
}(this, function () {/*global document*/
}(this, function () {/*global document, location, SASSJS_RELATIVE_PATH*/
// identify the path sass.js is located at in case we're loaded by a simple
// <script src="path/to/sass.js"></script>
// this path can be used to identify the location of
// * sass.worker.js from sass.js
// * libsass.js.mem from sass.sync.js
// see https://github.com/medialize/sass.js/pull/32#issuecomment-103142214
// see https://github.com/medialize/sass.js/issues/33
var SASSJS_RELATIVE_PATH = (function() {
var _SASSJS_RELATIVE_PATH = typeof SASSJS_RELATIVE_PATH !== 'undefined' && SASSJS_RELATIVE_PATH
var SASSJS_RELATIVE_PATH = _SASSJS_RELATIVE_PATH || (function() {
'use strict';

var path = null;

// in Node things are rather simple
if (typeof __dirname !== 'undefined') {
return __dirname;
}

// in a WebWorker we're always relative to the the worker itself
if (typeof WorkerLocation !== 'undefined') {
path = location.href;
if (path.slice(-15) === '/sass.worker.js') {
return path.slice(0, -15);
}
}

// we can only run this test in the browser,
// so make sure we actually have a DOM to work with.
if (typeof document === 'undefined' || !document.getElementsByTagName) {
Expand All @@ -40,7 +51,7 @@ var SASSJS_RELATIVE_PATH = (function() {
return scripts[scripts.length - 1];
})();

var path = currentScript && currentScript.src;
path = currentScript && currentScript.src;
if (!path) {
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/sass.node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! sass.js - v0.10.9 (3e41106) - built 2018-02-06
/*! sass.js - v0.11.0-beta.1 (ff51bc1) - built 2018-02-06
providing libsass 3.4.9 (6de5050d)
via emscripten 1.37.33 ()
*/
Expand Down
59 changes: 17 additions & 42 deletions dist/sass.sync.js

Large diffs are not rendered by default.

42 changes: 3 additions & 39 deletions dist/sass.worker.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"commit": "6de5050d"
},
"sassjs": {
"version": "0.10.9",
"commit": "3e41106",
"branch": "upgrade-3.4.9"
"version": "0.11.0-beta.1",
"commit": "ff51bc1",
"branch": "feature/wasm"
}
}

0 comments on commit 341ae00

Please sign in to comment.