jsajax_wizard 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9109f2df9aa36be696a07f567abb93063d6d1c52922fd1e238a6eb4d40b711e
4
- data.tar.gz: 275891dcee8e8b5aeb6adaeab39e93af233461d6504e3f2c926b0d7546910fab
3
+ metadata.gz: 47404a3a4ac95a5fed9ca7eaeb2c0e511c3a7d36d3cd6b4749a8e7a1c5abf3d9
4
+ data.tar.gz: 59abb517cdfa20936bfc042526f4bc65636cf5c2863e0b20ca34109b88055b70
5
5
  SHA512:
6
- metadata.gz: bb78b176471f9ebd9b701ff5db8e151edc30ff0b391da62ba0d0c565ea571f8d4754e910556db85e7a03bb4d90434efa84e87840ca4381f94567e84cd03c52ac
7
- data.tar.gz: 3fbf00b323808692e7550940c44a6feb8a8da1ad634b63a87f82915f8b58037fc2ce972ca36357b837490df7a31f7d2d3c3aa9331739dda28fdea8961164b26b
6
+ metadata.gz: 34b2cfe70c7302ec508ffc9871f6e8959d8fb4c2549812b3ac39ca89428703272b716f636794a06737e6cea31a9e00d7edcc7732c592ddb9768dacec06fb5907
7
+ data.tar.gz: b2c4b214e68dad35454279453b8c9b8186eb1595426482acc1b62ddb0289b175464e175f1afcda731878512b6f94836b21b79178298c694c978efeb1f1ff9d20
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/jsajax_wizard.rb CHANGED
@@ -21,7 +21,10 @@
21
21
  # jaw.add_request server: 'hello', element: {type: 'timer',
22
22
  # interval: '5000'}, target_element: {id: 'demo', property: :innerHTML}
23
23
 
24
-
24
+ # 03 Oct 2019 : An HTML document can be passed in containing an
25
+ # AJAX placeholder e.g.
26
+ # <button onclick='$[x][/someurl/]'></button><div id='demo'>$x</div>
27
+ #
25
28
 
26
29
 
27
30
  require 'rexle'
@@ -264,7 +267,7 @@ function ajaxResponse#{i+1}(xhttp) {
264
267
 
265
268
  property = if inner_html then
266
269
 
267
- html.sub!(/>\$#{var}</,'')
270
+ html.sub!(/>\$#{var}</,'>&nbsp;<')
268
271
  :innerHTML
269
272
 
270
273
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsajax_wizard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  pZTsghadsRxoGiI7mehrgxkeLLA7q3Zpafsvw3mLrERdifNsVFNBUDMjfE/OnJq8
36
36
  EOz+UVQEw8EJ9wHqaJYIbHBq
37
37
  -----END CERTIFICATE-----
38
- date: 2019-10-02 00:00:00.000000000 Z
38
+ date: 2019-10-05 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rexle
metadata.gz.sig CHANGED
Binary file