Questions tagged [cujojs]

cujoJS is an architectural toolkit for building highly modular, maintainable web applications that are easy to test and refactor, with zero framework lock-in.

cujoJS is an architectural toolkit for building highly modular, maintainable web applications that are easy to test and refactor, with zero framework lock-in.

http://cujojs.com/

7 questions
4
votes
0 answers

wirejs and dojo using the dojo build system (2)

(This is the same question as wirejs and dojo using the dojo build system, but with more detail about the problem and tried solutions. The duplicate question is created because this was suggested in a comment). When building a dojo application that…
Jan Dockx
  • 111
  • 2
  • 7
1
vote
1 answer

Can i add method after method being executed meld aop

Consider I have class function home {}{ this.door=function(){}, this.tiles=function(){} } I have to add some message after it's methods are called using this library called meld js…
jsduniya
  • 2,464
  • 7
  • 30
  • 45
1
vote
2 answers

mostjs - creating streams from custom sources

I am curious about current best practices for creating streams from sources that may not conform to an existing stream creation method (https://github.com/cujojs/most/blob/master/docs/api.md) Example using Firebase's ref.on('child_added',…
manglass
  • 11
  • 1
0
votes
1 answer

Executing AOP using meld.js(cujojs) for standalone javascript functions is not working

When I try to implement AOP using meld.js (from cujojs) for standalone javascript functions, it is NOT executing Advice. I have been trying with the below code. var meld = require("meld") function afterReturn(returnValue){ …
0
votes
1 answer

Show a loading spinner while waiting for promise with cujojs?

I'm working on a web application where I make asynchronous using cujojs with their whenjs extension. However, I'm generally just tying into one of our service interfaces and letting them do all the heavy lifting. Is there any way to show a…
JD Davis
  • 3,517
  • 4
  • 28
  • 61
0
votes
1 answer

Create a pipeline from Json to streams with transducers-js and most.js

I have this Amd module define(function (require, exports, module) { 'use strict'; var t = require("transducers"); var most = require("most"); var groupby = function (prev, curr) { var key = curr.type; if (!prev[key]) { …
marcaia
  • 48
  • 6
0
votes
0 answers

wirejs and dojo using the dojo build system

I have a dojo application which uses wirejs for dependency injection. When I try to build the application, I'm getting dependency errors on the 'when' and 'meld' modules. Like the following : error(311) Missing dependency. module: wire/dojo/events;…
Philippe
  • 6,703
  • 3
  • 30
  • 50