ember-es6_template 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e81a2a7d5be7ab1ab89c2392048c1a18026bd4cc
4
- data.tar.gz: 23c18b034d49023b6af7785f883aabedd70336e3
3
+ metadata.gz: 75e2b9c07b8f65d9fe75108c5679345ad0a6e0c3
4
+ data.tar.gz: 62dc28628d6943c4493305d4d2c281111acdad85
5
5
  SHA512:
6
- metadata.gz: 2bec6777d1e9073d0136ab84a55b49f56cc3365029fd35828208211a978899c0d4b3a0647076c481a8c1d32ddff15c504b809adf486f4ba7a20edc38c60bf332
7
- data.tar.gz: c6c9ab9a669d8a08406b7df1a43e46142fcde8c18503fdc35b79e5805c1659c337d62eb4ff789907497aa4cf340ba76fa282a20a4900faf9b25e9ee3637e2711
6
+ metadata.gz: a5155ec7ecd8a7c9563dcc15f467b785704668a78dd2a3a32de500d080b42381a56cea197201540dc4ff01b909f09909d5361a83516b05ab082fae25d88cabe2
7
+ data.tar.gz: 242cfd104c8165ff6d0d7b01731cf2764a26a28e6cd924c3b2a2c4ef5cbb1626f3a49fe106e02e117f906f239ea57e39a60ed44b948497d90cd40c0d95ecb9a9
@@ -13,6 +13,7 @@ module Ember
13
13
  return data if module?(scope.pathname.to_s)
14
14
 
15
15
  result = Babel::Transpiler.transform(data,
16
+ 'modules' => 'commonStrict',
16
17
  'sourceRoot' => env.root,
17
18
  'moduleRoot' => '',
18
19
  'filename' => scope.logical_path
@@ -11,7 +11,7 @@ module Ember
11
11
  env = scope.environment
12
12
 
13
13
  result = Babel::Transpiler.transform(data,
14
- 'modules' => 'amd',
14
+ 'modules' => 'amdStrict',
15
15
  'moduleIds' => true,
16
16
  'sourceRoot' => env.root,
17
17
  'moduleRoot' => '',
@@ -29,6 +29,7 @@ module Ember
29
29
 
30
30
  def transform(data, input)
31
31
  Babel::Transpiler.transform(data,
32
+ 'modules' => 'commonStrict',
32
33
  'sourceRoot' => input[:load_path],
33
34
  'moduleRoot' => '',
34
35
  'filename' => input[:filename]
@@ -33,7 +33,7 @@ module Ember
33
33
 
34
34
  def transform(data, input)
35
35
  Babel::Transpiler.transform(data,
36
- 'modules' => 'amd',
36
+ 'modules' => 'amdStrict',
37
37
  'moduleIds' => true,
38
38
  'sourceRoot' => input[:load_path],
39
39
  'moduleRoot' => '',
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module ES6Template
3
- VERSION = '0.3.0'
3
+ VERSION = '0.4.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-es6_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-04-10 00:00:00.000000000 Z
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: babel-transpiler