system/src/sc/layer/LayeredSystem.java
public CharSequence refreshJS(long fromTime) {
      JSRuntimeProcessor proc = (JSRuntimeProcessor) getRuntime("js");
      if (proc == null) // no javascript layers here - nothing to refresh?
         return "";

      // Let the JS engine initiate the refresh since it knows how to convert it to Javascript, needed to do the refresh of the client.
      return proc.getSystemUpdates(fromTime);
   }
/**
    * Refreshes the system for the javascript client.  Returns the JS to eval on the client to do the refresh over there.
    * This will at the same time update the server.
    */
Refreshes the system for the javascript client.  Returns the JS to eval on the client to do the refresh over there.
This will at the same time update the server.
Refreshes the system for the javascript client . Returns the JS to eval on the client to do the refresh over there . This will at the same time update the server .
public CharSequence refreshJS(long fromTime) {
      JSRuntimeProcessor proc = (JSRuntimeProcessor) getRuntime("js");
      if (proc == null) 
         return "";
      return proc.getSystemUpdates(fromTime);
   }
public CharSequence refreshJS ( long fromTime ) { JSRuntimeProcessor proc = ( JSRuntimeProcessor ) getRuntime ( "js" ) ; if ( proc == null ) return "" ; return proc . getSystemUpdates ( fromTime ) ; }
Refreshes the system for the javascript client.
Refreshes the system for the javascript client .
// no javascript layers here - nothing to refresh? // Let the JS engine initiate the refresh since it knows how to convert it to Javascript, needed to do the refresh of the client.