Closed (fixed)
Project:
JSON server
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2007 at 18:50 UTC
Updated:
31 Jul 2007 at 19:46 UTC
I was having some troubles running Drupal.service with the JSON Server module, and realized that it wasn't being included in any of the classes. After some investigation, I noticed json_load. This seemed kind of weird since "json" isn't the module name, and hook_load has to do with nodes.
I then renamed the function to json_server_init (hook_init), and then the jquery JSON javascript code was being included in every page.
Is this a bug? Or am I missing something with json_load?
Comments
Comment #1
robloachAhhh, okay. The idea of json_load() is that you'll load jquery.json.js only when you need it.... Nevermind then.
Comment #2
(not verified) commented