100% code coverage! also move component registration to dev custom fn

This commit is contained in:
Keegan
2016-02-09 17:20:44 -08:00
parent 8f1ced168f
commit f66afea3a5
2 changed files with 11 additions and 14 deletions
+10 -1
View File
@@ -6,7 +6,16 @@ module.exports = function() {
var Clay = window.Clay = this;
Clay.on(Clay.EVENTS.BEFORE_BUILD, function() {
console.debug('KEEGAN: BEFORE_BUILD', this);
// register components here
this.registerComponent(require('pebble-clay-components').heading);
this.registerComponent(require('pebble-clay-components').text);
this.registerComponent(require('pebble-clay-components').footer);
this.registerComponent(require('pebble-clay-components').input);
this.registerComponent(require('pebble-clay-components').color);
this.registerComponent(require('pebble-clay-components').select);
this.registerComponent(require('pebble-clay-components').toggle);
this.registerComponent(require('pebble-clay-components').submit);
});
Clay.on(Clay.EVENTS.AFTER_BUILD, function() {