5db18ae05a21e122258f156fb5e62c15cfdf98f9 kent Mon Dec 9 11:28:37 2013 -0800 Removing jsonGlabalsHash from library routines. Now it is restricted to hgTrackUi. diff --git src/hg/inc/jsHelper.h src/hg/inc/jsHelper.h index 03e2919..e4bb42b 100644 --- src/hg/inc/jsHelper.h +++ src/hg/inc/jsHelper.h @@ -137,27 +137,21 @@ * setTableRowVisibility(). Caller needs to have already created a and . */ void jsEndCollapsibleSection(); /* End the collapsible . */ void jsReloadOnBackButton(struct cart *cart); /* Add some javascript to detect that the back button (or reload) has been pressed, * and to resubmit in that case to redraw the page with the latest cart contents. */ // --- Genome browser specific json stuff - see also inc/json.h for more generic stuff void jsonPrint(struct jsonElement *json, char *name, int indentLevel); // print out a jsonElement and children using hPrintf, and for indentLevel >=0 // bracketing with comments. See also jsonPrintToFile. -extern struct jsonElement *jsonGlobalsHash; // The "all" globals json hash - -void jsonPrintGlobals(boolean wrapWithScriptTags); -// prints out the "common" globals json hash -// This hash is the one utils.js and therefore all CGIs know about - void jsonErrPrintf(struct dyString *ds, char *format, ...); // Printf a json error to a dyString for communicating with ajax code; format is: // {"error": error message here} #endif /* JSHELPER_H */