1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-13 19:12:49 +00:00

Added files

This commit is contained in:
2015-06-25 16:28:41 -05:00
parent 656dca9289
commit eb27b55a54
5621 changed files with 1630154 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
<box:>
<div class="box"></div>

View File

@@ -0,0 +1,2 @@
<button: nonvoid>
<button>{{@content}}</button>

View File

@@ -0,0 +1,7 @@
<dropdown:>
<!-- a :self path alias is automatically created per component -->
<!-- x-as can be used to pass a reference to an element to the script -->
<div x-as="container" class="{#if :self.open}open{/}">
<button x-bind="click: clickButton">{@value}</button>
<menu></menu>
</div>

View File

@@ -0,0 +1 @@
exports.create = function(self, dom) {}

View File

@@ -0,0 +1,13 @@
var config = {
filename: __filename
, scripts: {
dropdown: require('./dropdown')
}
}
module.exports = plugin
plugin.decorate = 'derby'
function plugin(derby, options) {
derby.createLibrary(config, options)
}