lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Oct 29, 2013 at 9:06 AM, Journeyer J. Joh <oosaprogrammer@gmail.com> wrote:

  7 local app
  8 
  9 function _M.new(app_)
 10     app = app_
 11 end
 12 
#1. Is using 'orbiter jquery library' in making 'orbit web site' impossible?

Seems like you need to initialize this bridge first, with something like:

  local bridge = require "orbiter.bridge"
  bridge.new(<reference to your orbit app object>)

before loading other Orbiter libs, such as the jquery one. You can put this in your main script, right after you create your app object.
 
--
Fabio Mascarenhas