From: Daniel Brooks Date: Thu, 24 Mar 2011 22:53:10 +0000 (-0500) Subject: use Popcorn.error() for consistancy X-Git-Tag: v0.5~48 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5462cbb28b9ba62187d11c5fc82953a2471299b6;p=popcorn-js.git use Popcorn.error() for consistancy --- diff --git a/popcorn.js b/popcorn.js index 6c6c9d1..bddfdcd 100644 --- a/popcorn.js +++ b/popcorn.js @@ -822,7 +822,7 @@ return Popcorn.registry[i].definition; } } - throw new Error("Plugin "+ name +" can't inherit from "+ p +", which doesn't exist"); + Popcorn.error("Plugin "+ name +" can't inherit from "+ p +", which doesn't exist"); } if ( !Array.isArray( parent ) ) {