Skip to content

Commit b851825

Browse files
committed
templatin-tools dependency removed
1 parent 9e3bccc commit b851825

File tree

7 files changed

+10
-28
lines changed

7 files changed

+10
-28
lines changed

packages/synthesis-compiler/.versions

Lines changed: 2 additions & 2 deletions

packages/synthesis-compiler/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'mwc:synthesis-compiler',
3-
version: '1.0.40',
3+
version: '1.0.41',
44
summary: 'Synthesis is meteor + polymer',
55
git: 'https://github.com/meteorwebcomponents/synthesis',
66
documentation: 'README.md',

packages/synthesis-jade/package.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'mwc:synthesis-jade',
3-
version: '1.0.46',
3+
version: '1.0.47',
44
summary: 'Synthesis is meteor + polymer',
55
git: 'https://github.com/meteorwebcomponents/synthesis',
66
documentation: 'README.md',
@@ -25,10 +25,9 @@ Package.onTest((api) => {
2525
Package.registerBuildPlugin({
2626
name: 'synthesis-jade',
2727
use: [
28-
28+
2929
3030
31-
3231
],
3332
sources: [
3433
'plugin/synthesis.js',

packages/synthesis-jade/plugin/synthesis.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { parseHtml, handleTags } from 'meteor/mwc:synthesis-compiler';
22
import { CachingHtmlCompiler } from 'meteor/caching-html-compiler';
3-
import { TemplatingTools } from 'meteor/templating-tools';
43
import jade from 'jade';
54

65
class PolymerCachingHtmlCompiler extends CachingHtmlCompiler {
@@ -34,13 +33,6 @@ class PolymerCachingHtmlCompiler extends CachingHtmlCompiler {
3433
const result = this.tagHandlerFunc(tags);
3534
return result;
3635
} catch (e) {
37-
if (e instanceof TemplatingTools.CompileError) {
38-
inputFile.error({
39-
message: e.message,
40-
line: e.line,
41-
});
42-
return null;
43-
}
4436
throw e;
4537
}
4638
}

packages/synthesis/.versions

Lines changed: 3 additions & 3 deletions

packages/synthesis/package.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'mwc:synthesis',
3-
version: '1.0.42',
3+
version: '1.0.43',
44
summary: 'Synthesis is meteor + polymer',
55
git: 'https://github.com/meteorwebcomponents/synthesis',
66
documentation: 'README.md',
@@ -25,10 +25,9 @@ Package.onTest((api) => {
2525
Package.registerBuildPlugin({
2626
name: 'synthesis',
2727
use: [
28-
28+
2929
3030
31-
3231
],
3332
sources: [
3433
'plugin/synthesis.js',

packages/synthesis/plugin/synthesis.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { parseHtml, handleTags } from 'meteor/mwc:synthesis-compiler';
22
import { CachingHtmlCompiler } from 'meteor/caching-html-compiler';
3-
import { TemplatingTools } from 'meteor/templating-tools';
43

54
class PolymerCachingHtmlCompiler extends CachingHtmlCompiler {
65

@@ -27,13 +26,6 @@ class PolymerCachingHtmlCompiler extends CachingHtmlCompiler {
2726
const result = this.tagHandlerFunc(tags);
2827
return result;
2928
} catch (e) {
30-
if (e instanceof TemplatingTools.CompileError) {
31-
inputFile.error({
32-
message: e.message,
33-
line: e.line,
34-
});
35-
return null;
36-
}
3729
throw e;
3830
}
3931
}

0 commit comments

Comments
 (0)