bixbite 0.1.2 → 0.1.3
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.
- data/VERSION +1 -1
- data/template/src/html/includes/footer.inc +24 -20
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
@@ -16,36 +16,40 @@
|
|
16
16
|
|
17
17
|
<?php if ($this->minify()) : ?>
|
18
18
|
// Global Minified JS
|
19
|
-
.script("/js/cmn/global-min.js")
|
19
|
+
.script("/js/cmn/global-min.js")<?php else: ?>
|
20
20
|
// __JS_LIB__
|
21
21
|
.script("/js/cmn/lib/__JS_LIB_LOWERCASE__-latest.js").wait()
|
22
22
|
|
23
23
|
// Global JS
|
24
|
-
.script("/js/cmn/global.js")
|
25
|
-
|
26
|
-
|
27
|
-
|
24
|
+
.script("/js/cmn/global.js")<?php endif;
|
25
|
+
if (count($this->getScripts())) {
|
26
|
+
echo ".wait()"; ?>
|
27
|
+
|
28
|
+
|
29
|
+
// Page-level Includes
|
28
30
|
<?php
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
-
|
32
|
+
$scripts = $this->getScripts();
|
33
|
+
$count = count($scripts);
|
34
|
+
$i = 0;
|
33
35
|
|
34
|
-
|
35
|
-
|
36
|
-
|
36
|
+
foreach ($scripts as $script) {
|
37
|
+
$i++;
|
38
|
+
$output = ".script(\"$script\")";
|
37
39
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
$output .= ".wait()\n\t\t\t";
|
42
|
-
}
|
40
|
+
if ($count != $i) {
|
41
|
+
$output .= ".wait()\n\t\t\t";
|
42
|
+
}
|
43
43
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
44
|
+
echo $output;
|
45
|
+
}
|
46
|
+
} ?>
|
47
|
+
|
48
48
|
|
49
|
+
// Fire when everything is loaded
|
50
|
+
.wait(function() {
|
51
|
+
__PROJECT_NAMESPACE__.utils.init();
|
52
|
+
});
|
49
53
|
</script>
|
50
54
|
|
51
55
|
</body>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bixbite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Herrera
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-
|
13
|
+
date: 2010-07-07 00:00:00 -07:00
|
14
14
|
default_executable: bixbite
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|