JSFiddle

  • Bindings with ProAct.js+Zepto/jQuery

    Simple binding system with implemented using ProAct.js. Example with the reactive sum.

    (function (window, ProAct) {
        'use strict';
    
        function onProp($binding, obj, property, safe) {
            if (!obj.p(property)) {
                return;
            }
    
            obj.p(property).on ...
  • Bindings with ProAct.js+Zepto/jQuery #17 is the latest revision

    Simple binding system with implemented using ProAct.js. Example with the reactive sum.

    (function (window, ProAct, $) {
        'use strict';
    
        function onProp($binding, obj, property, safe) {
            if (!obj.p(property)) {
                return;
            }
            
            var tag = $binding.prop ...
  • Mixins

    Mixins in JavaScript a simple way

    function ex (destination, source) {
      var p;
    
      for (p in source) {
        if (source.hasOwnProperty(p)) {
          destination[p] = source[p];
        }
      }
      return destination ...
  • ProAct.js click counter with streams #1 is the latest revision

    Uses the ProAct.registry to declaratively write code.

    ProAct.registry.make('s:plus'); 
    ProAct.registry.make('s:minus', 'map(-)');
    ProAct.registry.make('s:main', '<<(s:plus, s:minus ...
  • Project nested route

    jQuery 1.8.3, HTML, CSS, JavaScript

    App = Ember.Application.create({autoinit: false});
    
    App.Project = DS.Model.extend({
        name: DS.attr('string'),
        description: DS.attr('string')
    });
    
    App ...