-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #481 from epeli/new-build-chain
new and simpler build workflow
- Loading branch information
Showing
37 changed files
with
333 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.eslintrc.js | ||
gulpfile.js | ||
meteor-*.js | ||
package.js | ||
dist/** | ||
scripts/** | ||
coverage/** | ||
node_modules/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
var endsWith = require('../endsWith'); | ||
|
||
module.exports = function() { | ||
endsWith("foobar", "xx"); | ||
endsWith('foobar', 'xx'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
var levenshtein = require('../levenshtein'); | ||
|
||
module.exports = function() { | ||
levenshtein('pineapple', 'potato'); | ||
levenshtein('seven', 'eight'); | ||
levenshtein('the very same string', 'the very same string'); | ||
levenshtein('very very very long string', 'something completely different'); | ||
levenshtein('pineapple', 'potato'); | ||
levenshtein('seven', 'eight'); | ||
levenshtein('the very same string', 'the very same string'); | ||
levenshtein('very very very long string', 'something completely different'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
var slugify = require('../slugify'); | ||
|
||
module.exports = function() { | ||
slugify("Un éléphant à l'orée du bois"); | ||
slugify('Un éléphant à l\'orée du bois'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
var startsWith = require('../startsWith'); | ||
|
||
module.exports = function() { | ||
startsWith("foobar", "foo"); | ||
startsWith('foobar', 'foo'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
var toNumber = require('../toNumber'); | ||
|
||
module.exports = function() { | ||
toNumber('10.232323', 2); | ||
toNumber('10.232323', 2); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
|
||
var makeString = require('./helper/makeString'); | ||
|
||
var from = "ąàáäâãåæăćčĉęèéëêĝĥìíïîĵłľńňòóöőôõðøśșşšŝťțţŭùúüűûñÿýçżźž", | ||
to = "aaaaaaaaaccceeeeeghiiiijllnnoooooooossssstttuuuuuunyyczzz"; | ||
var from = 'ąàáäâãåæăćčĉęèéëêĝĥìíïîĵłľńňòóöőôõðøśșşšŝťțţŭùúüűûñÿýçżźž', | ||
to = 'aaaaaaaaaccceeeeeghiiiijllnnoooooooossssstttuuuuuunyyczzz'; | ||
|
||
from += from.toUpperCase(); | ||
to += to.toUpperCase(); | ||
|
||
to = to.split(""); | ||
to = to.split(''); | ||
|
||
// for tokens requireing multitoken output | ||
from += "ß"; | ||
from += 'ß'; | ||
to.push('ss'); | ||
|
||
|
||
module.exports = function cleanDiacritics(str) { | ||
return makeString(str).replace(/.{1}/g, function(c){ | ||
var index = from.indexOf(c); | ||
return index === -1 ? c : to[index]; | ||
return makeString(str).replace(/.{1}/g, function(c){ | ||
var index = from.indexOf(c); | ||
return index === -1 ? c : to[index]; | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ var htmlEntities = { | |
gt: '>', | ||
quot: '"', | ||
amp: '&', | ||
apos: "'" | ||
apos: '\'' | ||
}; | ||
|
||
module.exports = htmlEntities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.