mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 10:30:08 +00:00
added base Error object with some tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b53ecc5448
commit
3bfd570662
16
object.js
16
object.js
@ -267,6 +267,22 @@ function(base, obj, non_strict){
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// Helper objects/constructors...
|
||||
|
||||
BOOTSTRAP(function(){
|
||||
|
||||
// Error with some JS quirks fixed...
|
||||
//
|
||||
module.Error =
|
||||
Constructor('Error', Error, {
|
||||
get name(){
|
||||
return this.constructor.name },
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// Prototype chain content access...
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-object",
|
||||
"version": "5.4.13",
|
||||
"version": "5.4.14",
|
||||
"description": "",
|
||||
"main": "object.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user