Skip to content

Commit

Permalink
keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
f0rmat1k committed Mar 4, 2015
1 parent 2d594f8 commit a16cc1e
Show file tree
Hide file tree
Showing 15 changed files with 80 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules/
temp/
.idea
test/
demo/
atlassian-ide-plugin.xml

.DS_Store
Expand Down
4 changes: 4 additions & 0 deletions demo/__huy/_bag/test__huy_bag_a.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test__huy_bag_a
{

}
4 changes: 4 additions & 0 deletions demo/__huy/test__huy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test__huy
{

}
4 changes: 4 additions & 0 deletions demo/__item/_selected/test__item_selected_yes.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test__item_selected_yes
{

}
4 changes: 4 additions & 0 deletions demo/__item/test__item.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test__item
{

}
4 changes: 4 additions & 0 deletions demo/__olo/_yo/test__olo_yo_bb.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test__olo_yo_bb
{

}
4 changes: 4 additions & 0 deletions demo/__olo/test__olo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test__olo
{

}
4 changes: 4 additions & 0 deletions demo/_lol/test_lol_val.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test_lol_val
{

}
4 changes: 4 additions & 0 deletions demo/_sick/test_sick.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test_sick
{

}
5 changes: 5 additions & 0 deletions demo/test.bh.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = function (bh) {
bh.match('test', function (ctx) {
ctx.tag('div');
});
};
4 changes: 4 additions & 0 deletions demo/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test
{

}
9 changes: 9 additions & 0 deletions demo/test.deps.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
({
mustDeps: 'test__olo_yo_bb',
shouldDeps: [
{ elem: 'huy', mods: { bag: 'a' } },
{ mods: { lol: 'val' } },
{ elem: 'item', mods: { selected: 'yes' } },
{ mods: [ 'sick' ] }
]
})
16 changes: 16 additions & 0 deletions demo/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
BEM.DOM.decl('test', {
onSetMod: {
js: function () {
this.collectData();
this.bindEvents();
}
},

collectData: function () {

},

bindEvents: function () {
var self = this;
}
});
12 changes: 12 additions & 0 deletions demo/test.priv.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = function (blocks) {
blocks.declare('test', function (data) {
return {
block: 'test',
content: [
{
elem: ''
}
]
};
});
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/f0rmat1k/bemy.git"
},
"version": "1.2.9",
"version": "1.2.10",
"keywords": [
"bem",
"BEM Tools"
Expand Down

0 comments on commit a16cc1e

Please sign in to comment.