Apply jshint suggestions for cleanup to dojo.fieldmapper Mostly consisting of missing semicolons and avoiding the redeclaration of variables (generally for iterators) within the same function scope. Some tightening of null and '' checks to avoid implicit type-casting. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19730 dcc99617-32d9-48b4-a31d-7c20da2025e4
Server-generated IDL JS The goal is to reduce use of pre-onload XHR, which is known to cause problems (dreaded white-screen-of-death) in firefox/xulrunner. Change allows opac, staff client, and embedded browser interfaces to load a pre-formatted JS object instead of IDL XML via XHR. In addition to dropping the XHR, clients no longer parse the XML, which should reduce page render time. Finally, in the staff interfaces, the full IDL is once again loaded, so there is no need to specifiy per-page classes. Per-page classes are still supported and used in the OPAC to reduce the up-front load time. Change requires an update to the Evergreen Apache config. See -r18700. Part of this change included condensing fieldmapper.hash and fielmapper.dojoData content into fieldmapper.Fieldmapper to avoid circular dependencies, which was causing problems with IE. Will eventually want to deprecate .hash and .dojoData, but for now they still function as before. git-svn-id: svn://svn.open-ils.org/ILS/trunk@18712 dcc99617-32d9-48b4-a31d-7c20da2025e4
removing original typo git-svn-id: svn://svn.open-ils.org/ILS/trunk@18672 dcc99617-32d9-48b4-a31d-7c20da2025e4
Allow the OPAC to autoload IDL classes instead of either pulling in a long class list and evaluating them all, or loading a .5MB+ xml file and parsing the whole thing. 40% speedup in simple tests where cache is bypassed. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17396 dcc99617-32d9-48b4-a31d-7c20da2025e4
The Great For-In Refactoring of ought-nine broke dojo trees built from opensrf objects. this un-refactors that git-svn-id: svn://svn.open-ils.org/ILS/trunk@16495 dcc99617-32d9-48b4-a31d-7c20da2025e4
the change from 'for (var foo in bar)' to 'for (var foo = 0; foo < bar.length; foo++)' was breaking things when bar was undefined or null. lebbeous++ git-svn-id: svn://svn.open-ils.org/ILS/trunk@15543 dcc99617-32d9-48b4-a31d-7c20da2025e4
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access git-svn-id: svn://svn.open-ils.org/ILS/trunk@15517 dcc99617-32d9-48b4-a31d-7c20da2025e4
for consistency, change itemToStoreData to toStoreItem git-svn-id: svn://svn.open-ils.org/ILS/trunk@11784 dcc99617-32d9-48b4-a31d-7c20da2025e4
JS does not return the final lval because it is not Perl ... doh git-svn-id: svn://svn.open-ils.org/ILS/trunk@11782 dcc99617-32d9-48b4-a31d-7c20da2025e4
make itemToStoreData() an instance method (using the invocant) as well as a class method (passing the object) git-svn-id: svn://svn.open-ils.org/ILS/trunk@11765 dcc99617-32d9-48b4-a31d-7c20da2025e4
added methods to allow for initializing a store and turning single objects into store data git-svn-id: svn://svn.open-ils.org/ILS/trunk@11505 dcc99617-32d9-48b4-a31d-7c20da2025e4
backporting virtual field support from acq branch git-svn-id: svn://svn.open-ils.org/ILS/trunk@10112 dcc99617-32d9-48b4-a31d-7c20da2025e4
Stop being Dan's problem git-svn-id: svn://svn.open-ils.org/ILS/trunk@9684 dcc99617-32d9-48b4-a31d-7c20da2025e4
further fix for Identifier support git-svn-id: svn://svn.open-ils.org/ILS/trunk@9677 dcc99617-32d9-48b4-a31d-7c20da2025e4
use the configured identifier field git-svn-id: svn://svn.open-ils.org/ILS/trunk@9675 dcc99617-32d9-48b4-a31d-7c20da2025e4
tell toStoreData to allow nulls in hashes git-svn-id: svn://svn.open-ils.org/ILS/trunk@9566 dcc99617-32d9-48b4-a31d-7c20da2025e4
merging dojo-ified fieldmapper from the dojo-admin branch git-svn-id: svn://svn.open-ils.org/ILS/trunk@9310 dcc99617-32d9-48b4-a31d-7c20da2025e4