vis-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjI3NThhMzM4OWZlMjAzODE4OTU2YzM2OTBhZDk5Yzc4MjljNmY0Yw==
4
+ MzAwMTY4NzkzNTA5ZGYyYzY0OTg5ZGFlYWZkNjMxNDg3MDk3ZDUzMw==
5
5
  data.tar.gz: !binary |-
6
- ODJkOGVmYmVhMmUwOGFlYjU1YzlmNzdjZDNlYzVjMjc4Mjk1NWY4MA==
6
+ NmZjNDhhYzgxOTVlYmNmNTYzNDg4NWE1YzJkN2U4ZDAyYzY3NzgzYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Mzg4YWU3YWJiNmI1MWRlOTBjZTNmZjE1ODc5ZjU1YzdhMDg3NjRmZDRjNmIx
10
- YzE2MTFlMTgxYjgwZDdjZjJjYzNhMjY5OGY0YjA5OTgwMzYyYzQ1ZDg1NWNi
11
- Y2I2OTc2MDcxYWQ1OWRlMzJmOGNiMTc3NDc3NDg5MmM0ZDE3ZjE=
9
+ Mzk1ZjFlMDM5MjcxZTkzZTE3ZTYxM2MwMzEzZDgxN2VhZmJlZmIxNDUxYTBk
10
+ Mjk5NGQ3YTUxMTMzNGU4MDQ3M2FkNjM1OWUyZWIzMDRmZmUwOWI1YjEwOTQ2
11
+ MzIzNTUxNzE0MDcxMDVkMzc3NmFiNzczZDgzYzU3NTBjZTEwODQ=
12
12
  data.tar.gz: !binary |-
13
- OWVmYjc5ODRjZmJiNmY2YTg2ZmJhNzU3MmMzYTZlY2VkNjFkMGZiMDc5NGYw
14
- YzI0MGUzNTUyMWRmNzRiZjMzMGQ0NTRhZWJiNzZkYzkwNDk4YjI1MjkzMmYw
15
- ZThiZTAzNWYwYWZjNzE4ZTY3MGVjNDFmNzRiZjliZWEwZjRmMDg=
13
+ MTRlNjE0YzNiZDgxOTVhOGY2OWY5NmM0YTAzZGUyZWRmNThkNjZlY2M1MGIz
14
+ Nzc1MDhiZTRlNDIyNGQ5MjhkNjE4YTE3ZDliNTM0NzllYmUwMjQyMmJjOTIw
15
+ NWY3ODg5MTc0Y2U0NWRhYzQyMGNmOGUxNzA0YjUwYzcwY2UzY2M=
data/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ ## 0.0.4
2
+
3
+ - Switch to hammerjs 1.0.6
@@ -1,5 +1,5 @@
1
1
  module Vis
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -0,0 +1 @@
1
+ .project
@@ -379,7 +379,7 @@ GroupSet.prototype.repaint = function repaint() {
379
379
  GroupSet.prototype._createLabel = function(id) {
380
380
  var group = this.groups[id];
381
381
  var label = document.createElement('div');
382
- label.className = 'label';
382
+ label.className = 'vlabel';
383
383
  var inner = document.createElement('div');
384
384
  inner.className = 'inner';
385
385
  label.appendChild(inner);
@@ -54,7 +54,7 @@ Panel.prototype.repaint = function () {
54
54
  frame = this.frame;
55
55
  if (!frame) {
56
56
  frame = document.createElement('div');
57
- frame.className = 'panel';
57
+ frame.className = 'vpanel';
58
58
 
59
59
  var className = options.className;
60
60
  if (className) {
@@ -33,7 +33,7 @@
33
33
  border-bottom: 1px solid #bfbfbf;
34
34
  }
35
35
 
36
- .vis.timeline .labels .label-set .label {
36
+ .vis.timeline .labels .label-set .vlabel {
37
37
  position: absolute;
38
38
  left: 0;
39
39
  top: 0;
@@ -41,19 +41,19 @@
41
41
  color: #4d4d4d;
42
42
  }
43
43
 
44
- .vis.timeline.top .labels .label-set .label,
44
+ .vis.timeline.top .labels .label-set .vlabel,
45
45
  .vis.timeline.top .groupset .itemset-axis {
46
46
  border-top: 1px solid #bfbfbf;
47
47
  border-bottom: none;
48
48
  }
49
49
 
50
- .vis.timeline.bottom .labels .label-set .label,
50
+ .vis.timeline.bottom .labels .label-set .vlabel,
51
51
  .vis.timeline.bottom .groupset .itemset-axis {
52
52
  border-top: none;
53
53
  border-bottom: 1px solid #bfbfbf;
54
54
  }
55
55
 
56
- .vis.timeline .labels .label-set .label .inner {
56
+ .vis.timeline .labels .label-set .vlabel .inner {
57
57
  display: inline-block;
58
58
  padding: 5px;
59
59
  }
@@ -8,7 +8,7 @@
8
8
  box-sizing: border-box;
9
9
  }
10
10
 
11
- .vis.timeline .panel {
11
+ .vis.timeline .vpanel {
12
12
  position: absolute;
13
13
  overflow: hidden;
14
14
  }
@@ -557,11 +557,11 @@ util.fakeGesture = function fakeGesture (element, event) {
557
557
  var eventType = null;
558
558
 
559
559
  // for hammer.js 1.0.5
560
- return Hammer.event.collectEventData(this, eventType, event);
560
+ //return Hammer.event.collectEventData(this, eventType, event);
561
561
 
562
562
  // for hammer.js 1.0.6
563
- //var touches = Hammer.event.getTouchList(event, eventType);
564
- //return Hammer.event.collectEventData(this, eventType, touches, event);
563
+ var touches = Hammer.event.getTouchList(event, eventType);
564
+ return Hammer.event.collectEventData(this, eventType, touches, event);
565
565
  };
566
566
 
567
567
  /**
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vis-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - AlexVangelov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: momentjs-rails
@@ -77,6 +77,7 @@ files:
77
77
  - .gitignore
78
78
  - .gitmodules
79
79
  - .project
80
+ - CHANGELOG.md
80
81
  - Gemfile
81
82
  - LICENSE
82
83
  - README.md
@@ -87,6 +88,7 @@ files:
87
88
  - vendor/assets/javascripts/vis.js
88
89
  - vendor/assets/stylesheets/vis.css
89
90
  - vis-rails.gemspec
91
+ - vendor/assets/vis/.gitignore
90
92
  - vendor/assets/vis/DataSet.js
91
93
  - vendor/assets/vis/DataView.js
92
94
  - vendor/assets/vis/EventBus.js