xqcoretools 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/xqcoretools +3 -3
  2. metadata +2 -2
data/bin/xqcoretools CHANGED
@@ -214,8 +214,8 @@ class XQCoreTools < Thor
214
214
 
215
215
  click = ''
216
216
 
217
- if node.has_attribute?('onclick')
218
- click = node.get_attribute('onclick')
217
+ if node.has_attribute?('onmousedown')
218
+ click = node.get_attribute('onmousedown')
219
219
 
220
220
  if !click.end_with?(';')
221
221
  click += ';'
@@ -224,7 +224,7 @@ class XQCoreTools < Thor
224
224
 
225
225
  click += "'#{href}'"
226
226
 
227
- node.set_attribute('onclick', "XQ.Core.sendHostEvent(#{click})")
227
+ node.set_attribute('onmousedown', "XQ.Core.sendHostEvent(#{click})")
228
228
  node.remove_attribute('href')
229
229
  end
230
230
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xqcoretools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-20 00:00:00.000000000 Z
12
+ date: 2013-04-17 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Tools for synchronizing multiple CSharp projects and deploying to several
15
15
  platform