1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Reworked modules a bit:

- Element containing the module becomes a default parameter
- Different modules can share the same containing element ()
This commit is contained in:
dominiclord
2016-01-28 14:42:59 -05:00
parent 041157db10
commit 3506a95ee9
6 changed files with 94 additions and 30 deletions

View File

@@ -16,7 +16,7 @@
</head>
<body >
<h1 data-module="generic">Locomotive boilerplate</h1>
<h1 data-module="generic,title">Locomotive boilerplate</h1>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="assets/scripts/dist/jquery-1.11.3.min.js"><\/script>')</script>