Skip to content

Commit e0dcb6d

Browse files
committed
chore(emscripten): upgrading to emscripten 1.38.31
1 parent e8c1f11 commit e0dcb6d

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

libsass/exported_runtime_methods.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
"ccall",
3-
"Pointer_stringify",
3+
"UTF8ToString",
44
"getValue",
55
"lengthBytesUTF8",
66
"stringToUTF8"

src/sass.util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function addTrailingSlash(text) {
2323

2424
function pointerToString(pointer) {
2525
/*jshint camelcase:false*/
26-
return pointer && Module.Pointer_stringify(pointer) || null;
26+
return pointer && Module.UTF8ToString(pointer) || null;
2727
}
2828

2929
function stringToPointer(text) {

test/test.compile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var expect = require('chai').expect;
44
var Sass = require('../dist/sass.sync.js');
5-
var BOM = '\uFEFF';
65

76
describe('Sass.compile()', function() {
87

@@ -104,7 +103,7 @@ describe('Sass.compile()', function() {
104103

105104
it('should compile UTF-8', function(done) {
106105
var source = '// some “fun” characters\n$foo: "hällö würld";\n\n.m {\n content:$foo;\n}';
107-
var expected = BOM + '.m{content:"hällö würld"}\n';
106+
var expected = '.m{content:"hällö würld"}\n';
108107

109108
Sass.options('defaults');
110109
Sass.options({

test/test.importer.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
var expect = require('chai').expect;
44
var Sass = require('../dist/sass.sync.js');
5-
var BOM = '\uFEFF';
65

76
describe('importer', function() {
87

@@ -308,7 +307,7 @@ describe('importer', function() {
308307

309308
it('should compile UTF-8', function(done) {
310309
var source = '@import "testfile";';
311-
var expected = BOM + '.yolo{content:"injöcted"}.testfile{content:"löäded"}\n';
310+
var expected = '.yolo{content:"injöcted"}.testfile{content:"löäded"}\n';
312311
var expectedFiles = [
313312
'/sass/sub/yolo.scss',
314313
'/sass/testfile.scss'

0 commit comments

Comments
 (0)