ende 0.4.12 → 0.4.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1def604e6ba7aea96a53f1b6e8ca0a693e8d3c3e
4
- data.tar.gz: bfdc32d5c75281eee4bbc95938a61a2749717fe0
3
+ metadata.gz: dfa1c1b01cfba99c4e7552620d25cab0a670bb15
4
+ data.tar.gz: 96b5cfad2515c7035dcf015632127e5be80a8edc
5
5
  SHA512:
6
- metadata.gz: 54da24001e72ea20a31543002969e137f307dfb0e30398c773d2207e5d3e5fb0f8afa42547868d9fc9927ecbd3707525b15ef40c3cd0abdaf6d6de71e16ea381
7
- data.tar.gz: 220c88665bcd176813cc68afdc4e526db89a0ffde4cc7a1de5f1ed61ec993d33eac6c53e04b36a7a0a3acc2c3399ebd6910896806581a56ca69815c91e0863eb
6
+ metadata.gz: 3789e8a04c633b6b25adf057e57c0744be59dab4597f48c1f81376c1c6c6f8b764c13d5e74dc6a96c89566c6731b985e2a19955c1e4928501e0258cadbe57d46
7
+ data.tar.gz: f027b8ceee505894708cdbacb9e81610dd81274a1fb70b05c3fc535822f8b07265086c44b03aae00cf5f5f5d1462e8421d52be2b33c24905ee175a7b8099f08e
data/build/build.css ADDED
@@ -0,0 +1,111 @@
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
+ }
@@ -43,12 +43,17 @@ define 'aura/extensions/routes', (routes) ->
43
43
  [path, search] = path.split('?') if path.indexOf('?') != -1
44
44
 
45
45
  #-- If we land on the page with a hash value and history is enabled, redirect to the non-hash page
46
- if ( window.location.hash.indexOf('#!') != -1 && history )
47
- return window.location.href = window.location.hash.replace('#!', '')
46
+ if location.hash.indexOf('#!') != -1 && history
47
+ return location.href = location.hash.replace '#!', ''
48
48
 
49
49
  #-- If we land on the page with a path and history is disabled, redirect to the hash page
50
- else if ( '/' != window.location.pathname && !history )
51
- return window.location.href = '/#!' + window.location.pathname
50
+ else if '/' != location.pathname && !history
51
+
52
+ part = location.pathname
53
+ part += location.search if location.search
54
+ part += location.hash if location.hash
55
+
56
+ return location.href = '/#!' + part
52
57
 
53
58
 
54
59
  #-- Process the route
data/lib/ende/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ende
2
- VERSION = "0.4.12"
2
+ VERSION = "0.4.13"
3
3
  end