Results 1 to 2 of 2

Thread: Testing a Javascript Function from the JS console?

  1. #1
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,185

    Testing a Javascript Function from the JS console?

    I occasionally want to test out a JS function from the console (in this case with adding a property to a function -- it can be done, want to test it out separately from where I would use it).

    I've tried "require" from the console (which helped me fine some errors), but when I go to call the function, it can't be found.

    Is there a way?

    thanks,

    Hank

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Try loadLibrary()
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us