From 5462cbb28b9ba62187d11c5fc82953a2471299b6 Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Thu, 24 Mar 2011 17:53:10 -0500 Subject: [PATCH] use Popcorn.error() for consistancy --- popcorn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ) { -- 2.43.0