lib/directive.js
Function exports
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (directives, options) {
options = options || {};
var defaultOptions = {
props : {},
element : 'div',
Function directiveString
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var directiveString = [].concat(directives).map(function(directiveObj){
if (typeof directiveObj === 'string'){
(function(){
var tmp = directiveObj;
directiveObj = {};