ende 0.2.10 → 0.2.11
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/assets/javascripts/aura/extensions/widget/eventable.js.coffee +3 -1
- data/lib/assets/javascripts/widgets/content/main.js.coffee +1 -1
- data/lib/ende/version.rb +1 -1
- data/vendor/assets/components/ende_build.js +643 -138
- data/vendor/assets/javascripts/lennon/lennon.js +5 -5
- metadata +1 -3
- data/vendor/assets/components/build.css +0 -111
- data/vendor/assets/components/build.js +0 -30076
@@ -54,7 +54,7 @@
|
|
54
54
|
//-- Hashify internal links if history is not available
|
55
55
|
} else {
|
56
56
|
if ( !$this.data('lennonized') ) {
|
57
|
-
$this.attr('href', '
|
57
|
+
$this.attr('href', '/#!' + href).data('lennonized', true);
|
58
58
|
}
|
59
59
|
}
|
60
60
|
});
|
@@ -115,15 +115,15 @@
|
|
115
115
|
i, j,
|
116
116
|
paramKeys,
|
117
117
|
params,
|
118
|
-
path = options.historyEnabled? window.location.pathname : window.location.hash.replace('
|
118
|
+
path = options.historyEnabled? window.location.pathname : window.location.hash.replace('#!', '') || '/';
|
119
119
|
|
120
120
|
//-- If we land on the page with a hash value and history is enabled, redirect to the non-hash page
|
121
|
-
if ( window.location.hash && options.historyEnabled ) {
|
122
|
-
window.location.href = window.location.hash.replace('
|
121
|
+
if ( window.location.hash.indexOf('#!') != -1 && options.historyEnabled ) {
|
122
|
+
window.location.href = window.location.hash.replace('#!', '');
|
123
123
|
|
124
124
|
//-- If we land on the page with a path and history is disabled, redirect to the hash page
|
125
125
|
} else if ( '/' !== window.location.pathname && !options.historyEnabled ) {
|
126
|
-
window.location.href = '
|
126
|
+
window.location.href = '/#!' + window.location.pathname;
|
127
127
|
}
|
128
128
|
|
129
129
|
//-- Process the route
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ende
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heitor Salazar
|
@@ -129,8 +129,6 @@ files:
|
|
129
129
|
- lib/ende/csrf_extensions.rb
|
130
130
|
- lib/ende/version.rb
|
131
131
|
- lib/tasks/.gitkeep
|
132
|
-
- vendor/assets/components/build.css
|
133
|
-
- vendor/assets/components/build.js
|
134
132
|
- vendor/assets/components/ende_build.css
|
135
133
|
- vendor/assets/components/ende_build.js
|
136
134
|
- vendor/assets/javascripts/ende/build.js
|
@@ -1,111 +0,0 @@
|
|
1
|
-
.overlay {
|
2
|
-
position: absolute;
|
3
|
-
top: 0;
|
4
|
-
left: 0;
|
5
|
-
opacity: 1;
|
6
|
-
width: 100%;
|
7
|
-
height: 100%;
|
8
|
-
background: rgba(0,0,0,.75);
|
9
|
-
-webkit-transition: opacity 300ms;
|
10
|
-
-moz-transition: opacity 300ms;
|
11
|
-
transition: opacity 300ms;
|
12
|
-
z-index: 500;
|
13
|
-
}
|
14
|
-
|
15
|
-
.overlay.hide {
|
16
|
-
pointer-events: none;
|
17
|
-
opacity: 0;
|
18
|
-
}
|
19
|
-
|
20
|
-
#dialog {
|
21
|
-
position: fixed;
|
22
|
-
left: 50%;
|
23
|
-
top: 150px;
|
24
|
-
max-width: 600px;
|
25
|
-
min-width: 250px;
|
26
|
-
border: 1px solid #eee;
|
27
|
-
background: white;
|
28
|
-
z-index: 1000;
|
29
|
-
}
|
30
|
-
|
31
|
-
#dialog .content {
|
32
|
-
padding: 15px 20px;
|
33
|
-
}
|
34
|
-
|
35
|
-
#dialog h1 {
|
36
|
-
margin: 0 0 5px 0;
|
37
|
-
font-size: 16px;
|
38
|
-
font-weight: normal;
|
39
|
-
}
|
40
|
-
|
41
|
-
#dialog p {
|
42
|
-
margin: 0;
|
43
|
-
padding: 0;
|
44
|
-
font-size: .9em;
|
45
|
-
}
|
46
|
-
|
47
|
-
/* close */
|
48
|
-
|
49
|
-
#dialog .close {
|
50
|
-
position: absolute;
|
51
|
-
top: 3px;
|
52
|
-
right: 10px;
|
53
|
-
text-decoration: none;
|
54
|
-
color: #888;
|
55
|
-
font-size: 16px;
|
56
|
-
font-weight: bold;
|
57
|
-
display: none;
|
58
|
-
}
|
59
|
-
|
60
|
-
#dialog .close em {
|
61
|
-
display: none;
|
62
|
-
}
|
63
|
-
|
64
|
-
#dialog.closable .close {
|
65
|
-
display: block;
|
66
|
-
}
|
67
|
-
|
68
|
-
#dialog .close:hover {
|
69
|
-
color: black;
|
70
|
-
}
|
71
|
-
|
72
|
-
#dialog .close:active {
|
73
|
-
margin-top: 1px;
|
74
|
-
}
|
75
|
-
|
76
|
-
/* slide */
|
77
|
-
|
78
|
-
#dialog.slide {
|
79
|
-
-webkit-transition: opacity 300ms, top 300ms;
|
80
|
-
-moz-transition: opacity 300ms, top 300ms;
|
81
|
-
}
|
82
|
-
|
83
|
-
#dialog.slide.hide {
|
84
|
-
opacity: 0;
|
85
|
-
top: -500px;
|
86
|
-
}
|
87
|
-
|
88
|
-
/* fade */
|
89
|
-
|
90
|
-
#dialog.fade {
|
91
|
-
-webkit-transition: opacity 300ms;
|
92
|
-
-moz-transition: opacity 300ms;
|
93
|
-
}
|
94
|
-
|
95
|
-
#dialog.fade.hide {
|
96
|
-
opacity: 0;
|
97
|
-
}
|
98
|
-
|
99
|
-
/* scale */
|
100
|
-
|
101
|
-
#dialog.scale {
|
102
|
-
-webkit-transition: -webkit-transform 300ms;
|
103
|
-
-moz-transition: -moz-transform 300ms;
|
104
|
-
-webkit-transform: scale(1);
|
105
|
-
-moz-transform: scale(1);
|
106
|
-
}
|
107
|
-
|
108
|
-
#dialog.scale.hide {
|
109
|
-
-webkit-transform: scale(0);
|
110
|
-
-moz-transform: scale(0);
|
111
|
-
}
|