forked from enviPath/enviPy
Current Dev State
This commit is contained in:
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/data/object/good/night.json
generated
vendored
Normal file
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/data/object/good/night.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
["chair", "bear", "moon"]
|
||||
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/data/object/hello.js
generated
vendored
Normal file
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/data/object/hello.js
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
module.exports = 'world';
|
||||
12
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/factory/currency.js
generated
vendored
Normal file
12
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/factory/currency.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports.register = function (hb) {
|
||||
hb.registerDecorator({
|
||||
currencyDecimal: function (str) {
|
||||
// do stuff
|
||||
},
|
||||
currencyFormat: function (str) {
|
||||
// do stuff
|
||||
}
|
||||
});
|
||||
};
|
||||
12
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/factory/i18n.js
generated
vendored
Normal file
12
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/factory/i18n.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports.register = function (hb) {
|
||||
hb.registerDecorator({
|
||||
i18nLanguage: function (lang) {
|
||||
// do stuff
|
||||
},
|
||||
i18nCountry: function (str) {
|
||||
// do stuff
|
||||
}
|
||||
});
|
||||
};
|
||||
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/country.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/country.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (str) {
|
||||
// do stuff
|
||||
};
|
||||
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/currency/decimal.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/currency/decimal.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (str) {
|
||||
// do stuff
|
||||
};
|
||||
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/currency/format.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/currency/format.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (str) {
|
||||
// do stuff
|
||||
};
|
||||
2
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/empty.js
generated
vendored
Normal file
2
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/empty.js
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
'use strict';
|
||||
module.exports = null;
|
||||
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/language.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/function/language.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (str) {
|
||||
// do stuff
|
||||
};
|
||||
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/object/currency.js
generated
vendored
Normal file
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/object/currency.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
currencyDecimal: function (str) {
|
||||
// do stuff
|
||||
},
|
||||
currencyFormat: function (str) {
|
||||
// do stuff
|
||||
}
|
||||
};
|
||||
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/object/i18n.js
generated
vendored
Normal file
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/decorators/object/i18n.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
i18nLanguage: function (lang) {
|
||||
// do stuff
|
||||
},
|
||||
i18nCountry: function (str) {
|
||||
// do stuff
|
||||
}
|
||||
};
|
||||
12
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/factory/case.js
generated
vendored
Normal file
12
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/factory/case.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports.register = function (hb) {
|
||||
hb.registerHelper({
|
||||
lower: function (str) {
|
||||
return str.toLowerCase();
|
||||
},
|
||||
upper: function (str) {
|
||||
return str.toUpperCase();
|
||||
}
|
||||
});
|
||||
};
|
||||
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/factory/flow.js
generated
vendored
Normal file
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/factory/flow.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports.register = function (hb) {
|
||||
hb.registerHelper('lest', function (a, b) {
|
||||
return a !== b;
|
||||
});
|
||||
hb.registerHelper('when', function (a, b) {
|
||||
return a === b;
|
||||
});
|
||||
};
|
||||
2
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/empty.js
generated
vendored
Normal file
2
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/empty.js
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
'use strict';
|
||||
module.exports = null;
|
||||
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/flow/lest.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/flow/lest.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function lest(a, b) {
|
||||
return a !== b;
|
||||
};
|
||||
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/flow/when.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/flow/when.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function when(a, b) {
|
||||
return a === b;
|
||||
};
|
||||
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/lower.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/lower.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function lower(str) {
|
||||
return str.toLowerCase();
|
||||
};
|
||||
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/upper.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/function/upper.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function upper(str) {
|
||||
return str.toUpperCase();
|
||||
};
|
||||
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/object/bogus.js
generated
vendored
Normal file
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/object/bogus.js
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
module.exports = true;
|
||||
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/object/case.js
generated
vendored
Normal file
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/object/case.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
lower: function (str) {
|
||||
return str.toLowerCase();
|
||||
},
|
||||
upper: function (str) {
|
||||
return str.toUpperCase();
|
||||
}
|
||||
};
|
||||
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/object/flow.js
generated
vendored
Normal file
10
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/helpers/object/flow.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
lest: function (a, b) {
|
||||
return a !== b;
|
||||
},
|
||||
when: function (a, b) {
|
||||
return a === b;
|
||||
}
|
||||
};
|
||||
8
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/factory/components.js
generated
vendored
Normal file
8
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/factory/components.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
module.exports.register = function (hb) {
|
||||
hb.registerPartial({
|
||||
item: '<li>{{label}}</li>',
|
||||
link: '<a href="{{url}}">{{label}}</a>'
|
||||
});
|
||||
};
|
||||
6
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/factory/layouts.js
generated
vendored
Normal file
6
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/factory/layouts.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
module.exports.register = function (hb) {
|
||||
hb.registerPartial('layout', '<!doctype html>\n<html>\n<head>\n <title>{{{block "title"}}}</title>\n</head>\n<body>\n {{{block "body"}}}\n</body>\n</html>');
|
||||
hb.registerPartial('layout-2col', '{{#extend "layout"}}\n {{#content "body"}}\n {{{block "left"}}}\n {{{block "right"}}}\n {{/content}}\n{{/extend}}');
|
||||
};
|
||||
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/function/components/item.hbs
generated
vendored
Normal file
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/function/components/item.hbs
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
<li>{{label}}</li>
|
||||
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/function/components/link.hbs
generated
vendored
Normal file
1
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/function/components/link.hbs
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
<a href="{{url}}">{{label}}</a>
|
||||
6
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/function/layout-2col.hbs
generated
vendored
Normal file
6
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/function/layout-2col.hbs
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{{#extend "layout"}}
|
||||
{{#content "body"}}
|
||||
{{{block "left"}}}
|
||||
{{{block "right"}}}
|
||||
{{/content}}
|
||||
{{/extend}}
|
||||
9
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/function/layout.hbs
generated
vendored
Normal file
9
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/function/layout.hbs
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{{block "title"}}}</title>
|
||||
</head>
|
||||
<body>
|
||||
{{{block "body"}}}
|
||||
</body>
|
||||
</html>
|
||||
6
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/object/components.js
generated
vendored
Normal file
6
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/object/components.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
item: '<li>{{label}}</li>',
|
||||
link: '<a href="{{url}}">{{label}}</a>'
|
||||
};
|
||||
6
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/object/layouts.js
generated
vendored
Normal file
6
static/js/ketcher2/node_modules/handlebars-wax/test/fixtures/partials/object/layouts.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
layout: '<!doctype html>\n<html>\n<head>\n <title>{{{block "title"}}}</title>\n</head>\n<body>\n {{{block "body"}}}\n</body>\n</html>',
|
||||
'layout-2col': '{{#extend "layout"}}\n {{#content "body"}}\n {{{block "left"}}}\n {{{block "right"}}}\n {{/content}}\n{{/extend}}'
|
||||
};
|
||||
Reference in New Issue
Block a user