[gjs] lang: Fix up an error message



commit d8094396d657e610ca799ecc71378a4804b1728f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Nov 6 01:10:39 2011 -0400

    lang: Fix up an error message
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663490

 modules/lang.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/lang.js b/modules/lang.js
index 413b72c..d6903f8 100644
--- a/modules/lang.js
+++ b/modules/lang.js
@@ -178,7 +178,7 @@ function wrapFunction(obj, name, meth) {
 
 function Class(params) {
     if (!params.Name) {
-        throw new TypeError("Classes require an explicit 'name' parameter.");
+        throw new TypeError("Classes require an explicit 'Name' parameter.");
     }
     let name = params.Name;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]