]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/string/raw/shim.js
025ed780455667f11f67012d4f76a173b178e82d
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / string / raw / shim.js
1 // Partially taken from:
2 // https://github.com/paulmillr/es6-shim/blob/master/test/string.js
3
4 'use strict';
5
6 module.exports = function (t, a) {
7 var callSite = [];
8
9 callSite.raw = ["The total is ", " ($", " with tax)"];
10 a(t(callSite, '{total}', '{total * 1.01}'),
11 'The total is {total} (${total * 1.01} with tax)');
12
13 callSite.raw = [];
14 a(t(callSite, '{total}', '{total * 1.01}'), '');
15 };