clipboard-rails 1.4.0 → 1.4.1
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 +4 -4
- data/lib/clipboard/rails/version.rb +1 -1
- data/vendor/assets/javascripts/clipboard.js +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 298ce61379440c5c5b30d08e0063fa25cf99c4dc
|
|
4
|
+
data.tar.gz: d24c9ddc14a2de802479bb4e707095dc0a458705
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2383d07d79008b4ffcdd57c7e97f09efdb6b73d88ba43b9b46cd4b80534a8ff40dfbcb460a4c06b17fd45ff2d0bcf65fdb27726bc2b9aaa290c5504542936936
|
|
7
|
+
data.tar.gz: ed8dc4a32424a1f09454b5c611b94464b4c9960693c12e4c76c4f3a3c8ba2e941b45b20ab3b5110f51a4d7a9ed4f975134a9bf5c1dfdfefe14016bb3c98cf503
|
|
@@ -141,12 +141,12 @@ exports.unbind = function(el, type, fn, capture){
|
|
|
141
141
|
};
|
|
142
142
|
},{}],5:[function(require,module,exports){
|
|
143
143
|
function E () {
|
|
144
|
-
|
|
144
|
+
// Keep this empty so it's easier to inherit from
|
|
145
145
|
// (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
E.prototype = {
|
|
149
|
-
|
|
149
|
+
on: function (name, callback, ctx) {
|
|
150
150
|
var e = this.e || (this.e = {});
|
|
151
151
|
|
|
152
152
|
(e[name] || (e[name] = [])).push({
|
|
@@ -281,7 +281,7 @@ var ClipboardAction = (function () {
|
|
|
281
281
|
this.fakeElem = document.createElement('textarea');
|
|
282
282
|
this.fakeElem.style.position = 'absolute';
|
|
283
283
|
this.fakeElem.style.left = '-9999px';
|
|
284
|
-
this.fakeElem.style.top = document.
|
|
284
|
+
this.fakeElem.style.top = (window.pageYOffset || document.documentElement.scrollTop) + 'px';
|
|
285
285
|
this.fakeElem.setAttribute('readonly', '');
|
|
286
286
|
this.fakeElem.value = this.text;
|
|
287
287
|
this.selectedText = this.text;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clipboard-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mohammed Sadiq
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|