demo/bundle.js
/**
             * Normalize raw function directives into object format.
             */
Normalize raw function directives into object format.
Normalize raw function directives into object format .
function normalizeDirectives (options) {
              var dirs = options.directives;
              if (dirs) {
                for (var key in dirs) {
                  var def = dirs[key];
                  if (typeof def === 'function') {
                    dirs[key] = { bind: def, update: def };
                  }
                }
              }
            }
function normalizeDirectives ( options ) { var dirs = options . directives ; if ( dirs ) { for ( var key in dirs ) { var def = dirs [ key ] ; if ( typeof def === 'function' ) { dirs [ key ] = { bind : def , update : def } ; } } } }
Normalize raw function directives into object format.
Normalize raw function directives into object format .