Browse code

Restructure template folder to use Contao template dir structure

Benjamin Roth authored on10/03/2016 11:24:31
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,21 +0,0 @@
1
-<script src="system/modules/eSM_waypoints/assets/lib/waypoints/<?php echo WAYPOINTS; ?>/assets/js/jquery.waypoints.min.js"></script>
2
-<script>
3
-	(function($) {
4
-		$(document).ready(function() {
5
-
6
-			var waypoint = {
7
-
8
-				header: new Waypoint({
9
-					element: $('#container'),
10
-					handler: function(direction) {
11
-						if (direction == 'down') {
12
-							$('#header').addClass('shrink');
13
-						} else {
14
-							$('#header').removeClass('shrink');
15
-						}
16
-					}
17
-				})
18
-			};
19
-		});
20
-	})(jQuery);
21
-</script>
Browse code

Use robots.txt friendly file structure

Benjamin Roth authored on10/03/2016 11:20:29
Showing1 changed files
... ...
@@ -1,4 +1,4 @@
1
-<script src="system/modules/eSM_waypoints/vendor/waypoints/<?php echo WAYPOINTS; ?>/assets/js/jquery.waypoints.min.js"></script>
1
+<script src="system/modules/eSM_waypoints/assets/lib/waypoints/<?php echo WAYPOINTS; ?>/assets/js/jquery.waypoints.min.js"></script>
2 2
 <script>
3 3
 	(function($) {
4 4
 		$(document).ready(function() {
Browse code

Initial commit

Benjamin Roth authored on27/03/2015 09:44:18
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,21 @@
1
+<script src="system/modules/eSM_waypoints/vendor/waypoints/<?php echo WAYPOINTS; ?>/assets/js/jquery.waypoints.min.js"></script>
2
+<script>
3
+	(function($) {
4
+		$(document).ready(function() {
5
+
6
+			var waypoint = {
7
+
8
+				header: new Waypoint({
9
+					element: $('#container'),
10
+					handler: function(direction) {
11
+						if (direction == 'down') {
12
+							$('#header').addClass('shrink');
13
+						} else {
14
+							$('#header').removeClass('shrink');
15
+						}
16
+					}
17
+				})
18
+			};
19
+		});
20
+	})(jQuery);
21
+</script>