card-mod-ace_editor 0.15.4 → 0.15.6

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
  SHA256:
3
- metadata.gz: 297d07b3309fc060c9d18020938675fe18110f98bf33b5fbe22712a168405b5a
4
- data.tar.gz: 5d37282979939f95ebf8ab564b3f8cb5042983496ed57a921354b4a9c5001fe8
3
+ metadata.gz: 7f3ab0c16392f166a47932edcaac8f12242314eb029c2a7de97c76da79bc993f
4
+ data.tar.gz: fd84be859a30fedc98a12ee3b70da7c02e1e46495d3e67be680e255741341b82
5
5
  SHA512:
6
- metadata.gz: 0fb4d7a07d2f3e134bb933b7d5e8dba50079553e1d1b5ec4fe47f77b5d4c6131e6c4bcd4129f4a49945533d0553888e8887b4f3717f81db109c1a3f468a40443
7
- data.tar.gz: affa69e4404db8d71552896f1073194c4ab59ebbeebc4047b4dd2e66127172f9c4dc9af49160fac13942b2e6a43b7b7fec0e19ea0e2550eb853feb8ec4e59b1b
6
+ metadata.gz: dc0d3f3d525b4da351aeb933390d859e2b59904c7adc78bf5fc001a8566b4962e46a73540635d48a37ecc8e5b95d29d0e2f6c6ee45021d4a32de034e0f471364
7
+ data.tar.gz: 85d999d1717548c3cae920004b6f11c448e0b5005f3581c24cfcfa41faf5ae4b66ab006578cdb3f12ea1bc45859784960c8cd33a8cd34fad7594ac75bd342cbf
@@ -19,6 +19,7 @@ $.extend decko,
19
19
  tabSize: 2
20
20
  useSoftTabs: true
21
21
  maxLines: 30
22
+ minLines: 10
22
23
  #user_conf = if decko.aceConfig? then decko.aceConfig else {}
23
24
  # $.extend conf, user_conf['default'], user_conf[mode] #, hard_conf
24
25
  editor.setOptions conf
@@ -1,8 +1,8 @@
1
1
  remote:
2
2
  items:
3
- # - src : https://ace.c9.io/build/src/ace.js
4
- - src: https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.14/ace.js
5
- integrity: sha512-6ts6Fu561/yzWvD6uwQp3XVYwiWNpWnZ0hdeQrETqtnQiGjTfOS06W76aUDnq51hl1SxXtJaqy7IsZ3oP/uZEg==
3
+ # - src : https://ace.c9.io/build/src/ace.js
4
+ - src: https://cdnjs.cloudflare.com/ajax/libs/ace/1.18.0/ace.min.js
5
+ integrity: sha512-xcE2qpHHeRGdUixQ0W0CRrb5RcfFLPol+7Kbix/fxXMnB+Dg4ECW3pldd3gY3bOOqcKQ3wv4IHJKUbSlgn83Qw==
6
6
  crossorigin: anonymous
7
7
 
8
8
  ace_config:
@@ -1,2 +1,2 @@
1
1
  // decko_ace_config.js.coffee
2
- (function(){var e;decko.editors.add(".ace-editor-textarea",function(){return decko.initAce($(this))},function(){return e(this[0])}),$.extend(decko,{setAceConfig:function(e){var t;return t=function(){try{return $.parseJSON(e)}catch(t){return{}}},decko.aceConfig=t()},configAceEditor:function(e,t){var i;return i={showGutter:!0,theme:"ace/theme/github",printMargin:!1,tabSize:2,useSoftTabs:!0,maxLines:30},e.setOptions(i),e.session.setMode("ace/mode/"+t)},initAce:function(e){var t,i,n;(n=e.attr("data-ace-mode"))?(t=$("<div>",{position:"absolute",width:"auto",height:e.height()}).insertBefore(e),e.css("visibility","hidden"),e.css("height","0px"),(i=ace.edit(t[0])).getSession().setValue(e.val()),decko.configAceEditor(i,n),e.data("ace",i)):e.autosize()}}),e=function(e){var t;return t=$(e).siblings(".ace_editor"),ace.edit(t[0]).getSession().getValue()}}).call(this);
2
+ (function(){var e;decko.editors.add(".ace-editor-textarea",function(){return decko.initAce($(this))},function(){return e(this[0])}),$.extend(decko,{setAceConfig:function(e){var t;return t=function(){try{return $.parseJSON(e)}catch(t){return{}}},decko.aceConfig=t()},configAceEditor:function(e,t){var i;return i={showGutter:!0,theme:"ace/theme/github",printMargin:!1,tabSize:2,useSoftTabs:!0,maxLines:30,minLines:10},e.setOptions(i),e.session.setMode("ace/mode/"+t)},initAce:function(e){var t,i,n;(n=e.attr("data-ace-mode"))?(t=$("<div>",{position:"absolute",width:"auto",height:e.height()}).insertBefore(e),e.css("visibility","hidden"),e.css("height","0px"),(i=ace.edit(t[0])).getSession().setValue(e.val()),decko.configAceEditor(i,n),e.data("ace",i)):e.autosize()}}),e=function(e){var t;return t=$(e).siblings(".ace_editor"),ace.edit(t[0]).getSession().getValue()}}).call(this);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-ace_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.4
4
+ version: 0.15.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-04-03 00:00:00.000000000 Z
13
+ date: 2023-05-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,42 +18,42 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.105.4
21
+ version: 1.105.6
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.105.4
28
+ version: 1.105.6
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-edit
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.15.4
35
+ version: 0.15.6
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.15.4
42
+ version: 0.15.6
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: card-mod-script
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.15.4
49
+ version: 0.15.6
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.15.4
56
+ version: 0.15.6
57
57
  description: ''
58
58
  email:
59
59
  - info@decko.org
@@ -463,7 +463,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
463
463
  - !ruby/object:Gem::Version
464
464
  version: '0'
465
465
  requirements: []
466
- rubygems_version: 3.3.11
466
+ rubygems_version: 3.2.33
467
467
  signing_key:
468
468
  specification_version: 4
469
469
  summary: Ace editor