Feature #166

avatar

Add built in classes to the class/prototype cache

Added by Ash Berlin 255 days ago. Updated 199 days ago.

Status:New Start:11/17/2009
Priority:Normal Due date:
Assigned to:avatarAsh Berlin % Done:

0%

Category:Core
Target version:0.10

Description

This will allow easier access to built in classes in modules without having to go grubbing about in the (possibly) polluted scope.

This will be even more useful once Spidermonkey bug 480850 - JSAPI should support creating objects given a constructor Function is completed.

Ideally we'll still have some support for create< builtin::date > or something similar at the C++ api level, and that handle what ever tricker is needed. Most ctors can be called as functions to create new instances – Date is perhaps the only exception (Date() returns the current date as a string, not a Date object).

History

Updated by Aristid Breitkreuz 251 days ago

avatar
  • Target version set to 0.9

Updated by Aristid Breitkreuz 199 days ago

avatar
  • Target version changed from 0.9 to 0.10

Also available in: Atom PDF