@@ -298,12 +298,6 @@ array = rethrow . makeArray
298298global :: JSC JSObjectRef
299299global = ask >>= (liftIO . jscontextgetglobalobject)
300300
301−-- | A string on its own is assumed to be the name of a property in the global object
302−instance MakeObjectRef String where
303− makeObjectRef name = do
304− this <- global
305− rethrow (objGetPropertyByName this (makeStringRef name)) >>= valToObject
306−
307301-- | Get an array containing the property names present on a given object
308302copyPropertyNames :: MakeObjectRef this => this -> JSC JSPropertyNameArrayRef
309303copyPropertyNames this = do