smalruby-editor 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of smalruby-editor might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8d5ab843f8a432e8108763ec89bd5b0520c3556
4
- data.tar.gz: 54b2b1b9a7bb8fc2405f3a4049add162607d3438
3
+ metadata.gz: c0fd1e1c1ac0cd96b592ef565dd79515c3a17ef1
4
+ data.tar.gz: 71559aeb796dad900fa57fc3d0049af1c9551840
5
5
  SHA512:
6
- metadata.gz: 8c40aae6f0d3b0fd68026e09fb8b7221bfd95040f35da58ab355eb34c0804ba2f86d404db44d072d319298d133bf9dc6d20863b9c3a5adedc6172bb5c095e4b0
7
- data.tar.gz: e5c67482737a76c20f56db74961861832fd12fffd9c6e515e6d2181cb4f2fe7253aec7c53d840253d26c9a696b870413a4bbab0598f486a189c8c1a0699b2984
6
+ metadata.gz: 010878bf174e8c1f432555b98f6f98a7ec0d76fec1c2ee4547141474090bc196d45bf76af81e733738276e8e8aa45a47eb0345b040549375606a2cb294ee48b6
7
+ data.tar.gz: 718936cbb47e95cf428e3ae60887878d0aeaa60526be5933f5d2f48b15786e24e8b72228df2d4d22a63ec2990d68243b6079776fe53a3cd4616a92a0fbe40869
@@ -83,6 +83,10 @@ Smalruby.MainMenuView = Backbone.View.extend
83
83
 
84
84
  sourceCode = @getSourceCode()
85
85
 
86
+ filename = sourceCode.get('filename')
87
+ filename += '.xml' unless filename.match(/\.xml$/)
88
+ xmlSourceCode = new Smalruby.SourceCode({ filename: filename })
89
+
86
90
  @blockUI
87
91
  title:
88
92
  """
@@ -116,6 +120,10 @@ Smalruby.MainMenuView = Backbone.View.extend
116
120
  msg += "、#{errorInfo.column}文字"
117
121
  window.errorMessage(msg + ": #{errorInfo.message}")
118
122
  $.Deferred().reject().promise()
123
+ .then ->
124
+ xmlSourceCode.save2()
125
+ .then ->
126
+ xmlSourceCode.write(true)
119
127
  .then ->
120
128
  sourceCode.run()
121
129
  .then (data) ->
@@ -1,3 +1,3 @@
1
1
  module SmalrubyEditor
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smalruby-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouji Takao
@@ -587,8 +587,8 @@ files:
587
587
  - vendor/assets/javascripts/blockly/msg/js/ja.js
588
588
  - vendor/assets/javascripts/jquery.blockUI.js
589
589
  - vendor/assets/stylesheets/.keep
590
- - public/assets/application-3ee566927dc437f1406e5e903da1baf5.js
591
- - public/assets/application-3ee566927dc437f1406e5e903da1baf5.js.gz
590
+ - public/assets/application-0b3c70107ad81ea9fcda6d7d921bd8cf.js
591
+ - public/assets/application-0b3c70107ad81ea9fcda6d7d921bd8cf.js.gz
592
592
  - public/assets/application-53d651da3309caa498cc0ca6616dbead.css
593
593
  - public/assets/application-53d651da3309caa498cc0ca6616dbead.css.gz
594
594
  - public/assets/favicon-a37c90b368fd8ed436cb8f9e9396465c.ico