Skip to content

Commit

Permalink
Merge pull request #33 from Robert-Frampton/soycompilerupdate
Browse files Browse the repository at this point in the history
Update snapshots
  • Loading branch information
Robert Frampton authored Jan 27, 2018
2 parents bd27874 + 4387dfb commit 7bacf07
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
Binary file not shown.
68 changes: 34 additions & 34 deletions lib/pipelines/__tests__/__snapshots__/compileSoy.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$hello(opt_data, null, opt_ijData);
$hello(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand All @@ -46,7 +46,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $hello = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -113,12 +113,12 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$hello(opt_data, null, opt_ijData);
$hello(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand All @@ -131,7 +131,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $hello = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -198,7 +198,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -254,12 +254,12 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$hello(opt_data, null, opt_ijData);
$hello(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand All @@ -272,7 +272,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $hello = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -339,12 +339,12 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$hello(opt_data, null, opt_ijData);
$hello(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand All @@ -357,7 +357,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $hello = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -423,7 +423,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -480,13 +480,13 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$templateAlias1(opt_data, null, opt_ijData);
$templateAlias2(opt_data, null, opt_ijData);
$templateAlias1(opt_data, opt_ijData);
$templateAlias2(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand Down Expand Up @@ -538,12 +538,12 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$hello(opt_data, null, opt_ijData);
$hello(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand All @@ -556,7 +556,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $hello = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -624,7 +624,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var __deltemplate__DelTemplate_Foo_ = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -676,7 +676,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $content = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -721,12 +721,12 @@ var soyIdom = goog.require('soy.idom');
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$hello(opt_data, null, opt_ijData);
$hello(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand All @@ -739,7 +739,7 @@ if (goog.DEBUG) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $hello = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -786,7 +786,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -854,7 +854,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -923,13 +923,13 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$templateAlias1(opt_data, null, opt_ijData);
$templateAlias2(opt_data, null, opt_ijData);
$templateAlias1(opt_data, opt_ijData);
$templateAlias2(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand Down Expand Up @@ -981,12 +981,12 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
opt_data = opt_data || {};
$hello(opt_data, null, opt_ijData);
$hello(opt_data, opt_ijData);
};
exports.render = $render;
if (goog.DEBUG) {
Expand All @@ -999,7 +999,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $hello = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down Expand Up @@ -1066,7 +1066,7 @@ goog.loadModule(function(exports) {
* @param {Object<string, *>=} opt_ijData
* @param {Object<string, *>=} opt_ijData_deprecated
* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
Expand Down
2 changes: 1 addition & 1 deletion lib/pipelines/compileSoy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const wrapper = require('gulp-wrapper');

const PATH_TO_JAR = path.resolve(
__dirname,
'../../jar/soy-2017-08-07-SoyToIncrementalDomSrcCompiler.jar'
'../../jar/soy-2017-12-22-SoyToIncrementalDomSrcCompiler.jar'
);

let parsedSoys = {};
Expand Down

0 comments on commit 7bacf07

Please sign in to comment.