Questions tagged [joose]

8 questions
46
votes
11 answers

How to dynamically set a function/object name in Javascript as it is displayed in Chrome

This is something which has been bugging me with the Google Chrome debugger and I was wondering if there was a way to solve it. I'm working on a large Javascript application, using a lot of object oriented JS (using the Joose framework), and when I…
nickf
  • 499,078
  • 194
  • 614
  • 709
8
votes
2 answers

Perl: Javascript::V8 templates - from the perl

Looking for template engine like HTML::Mason (or Mason), so what "compiles" source components into perl code, but instead of perl-code will "compile" components into JavaScript code and after run/execute them with Javascript::V8 perl…
kobame
  • 5,686
  • 2
  • 28
  • 57
4
votes
2 answers

How do you use asynchronous ORMs without huge callback chains?

I'm using the relatively immature Joose Javascript ORM plugin (project page) to persist objects in an Appcelerator Titanium (company page) mobile project. Since it's client side storage, the application has to check to see if the database is…
hornairs
  • 1,676
  • 12
  • 20
3
votes
4 answers

Javascript scope referencing outer object

Basically, I use a meta-class framework called Joose for Javascript that allows me to make use of a more elegant class syntax - but I don't know how I might go about referencing the scope of the object from within deeper methods of the class…
Adam Waite
  • 19,748
  • 19
  • 120
  • 146
3
votes
1 answer

Joose singleton initialization arguments

I have a singleton class based on Joose and I would like to add initialization arguments to it like this: var programs = Programs.getInstance({ tabContainer: '#tab' }); tabContainer is also declared as an attribute to the singleton. In my…
DLS
  • 5,003
  • 5
  • 35
  • 49
1
vote
0 answers

joose/javascript based mason2 like server side templates

Exists something like Perlish Mason2 templates for the node.js? Mean something with the following functionality: component based architecture (!!!) (with autohandlers, dhandlers (Base.mc)) on the fly compiling sources (components) into full…
kobame
  • 5,686
  • 2
  • 28
  • 57
1
vote
1 answer

Using Joose with Meteor

What is the best way to use Joose with Meteor (or Meteorite)? I have only managed to get Joose working if I load the joose-all.min.js but this doesn't seem to allow me to use other Joose libraries (inparticular JoosX-Attribute). I have also tried…
Ivan Wills
  • 125
  • 7
0
votes
1 answer

Getting a Joose 2 class in a different src="..." file to work in MSIE 8 and below

This page, which implements a JavaScript-based online solver for Freecell, does not work in Microsoft Internet Explorer 8 (and possibly below) on my Windows XP 32-bit virtual machine. It works fine in Firefox on the same virtual machine, as well as…
Shlomi Fish
  • 4,070
  • 2
  • 21
  • 27