From dec359b4ede08ac1d2b56f4e4fd56f1182fad69f Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 31 Mar 2005 17:39:03 +0000 Subject: [PATCH] added a field on each object called classname to return the object hint git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@257 9efc2488-bf62-4759-914b-345cdb29e865 --- src/extras/fieldmapper.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/extras/fieldmapper.pl b/src/extras/fieldmapper.pl index 0c0aa1f..bd90d0b 100644 --- a/src/extras/fieldmapper.pl +++ b/src/extras/fieldmapper.pl @@ -32,9 +32,8 @@ function $short_name(array) { else { this.array = []; } } -$short_name.prototype._is_array = function() { - return true; -} +$short_name.classname = "$short_name"; + JS for my $field (keys %{$map->{$object}->{fields}}) { -- 2.11.0