brianchirls / Seriously.js

A real-time, node-based video effects compositor for the web built with HTML5, Javascript and WebGL
MIT License
3.87k stars 354 forks source link

Error: Unknown effect: blend #168

Closed lhp-- closed 5 years ago

lhp-- commented 6 years ago

seriously.js

/*
 priveleged methods
*/
this.effect = function (hook, options) {
   console.log(hook)  // blend
   console.log(seriousEffects)  // {}
   if (!seriousEffects[hook]) {
     throw new Error('Unknown effect: ' + hook);
   }

why?