Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Nov 11, 2007
  1. @hlb

    fix Ebisu rutime bug in IE

    hlb authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@49 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Oct 23, 2007
  1. @gugod

    Turn this example into a demo for pluggable design. Put "3d" in

    gugod authored
    window.location to see a simple 3d effect. Like:
    
        chase2.html?3d
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@37 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. @gugod

    Spread chase2 example into different javascript files, each maintains

    gugod authored
    a "behavioral group" of objects that emits / handles Ebisu events.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@36 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Oct 20, 2007
  1. @gugod

    Another example to demo the ability to have two roles on DOM that

    gugod authored
    acts differents on events.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@35 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. @gugod

    An alternative implementation of chaser. This one a dot is chasing

    gugod authored
    another dot, rather then everyone chasing the mouse cursor.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@34 b19cb30a-9f2e-4084-8847-5e1a13269302
  3. @gugod

    Emacs is complaining not recognizing 'utf8' :/

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@33 b19cb30a-9f2e-4084-8847-5e1a13269302
  4. @gugod

    Another new Ebisu toy.

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@32 b19cb30a-9f2e-4084-8847-5e1a13269302
  5. @gugod

    Minor refactoring, add spaces for making it more readible. Adding

    gugod authored
    variables when accessing two-level array so it's more efficient
    (variables are cheaper then lookups)
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@31 b19cb30a-9f2e-4084-8847-5e1a13269302
  6. @gugod

    Refine this. Stars goes grey instead of totally invisible when they

    gugod authored
    are far away.
    
    Put the .css() call into a setTimeout(0) so it may be faster. (No
    benchmark, just a trick to let major thread gain more control)
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@30 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Oct 19, 2007
  1. @gugod

    Another example to use Ebisu to play like physical field.

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@29 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. @gugod
Commits on Oct 3, 2007
  1. @gugod

    For all cases, never register two identical functions twice.

    gugod authored
    Two functions are considered identical if they
    
     * compared with '==' operator and told to be eqaul
     * converted into string and are equal told by '==' operator
    
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@27 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Oct 2, 2007
  1. @gugod

    If the selector string is null, (the user does not invoke to() method),

    gugod authored
    then assumed "window".
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@26 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Sep 27, 2007
  1. @gugod

    Put the private part of the library to the bottom.

    gugod authored
    And this trick:
    
       var Foo = window.Foo = function() {... }
    
    can make js packer (specifically, dean edwards' packaer, and dojo's
    ShrinkSafe) very useful because all references to "Foo" inside the
    scope of this file can all be replaced with something like "f".
    Yet it is still a valid global namespace.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@25 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. @gugod

    The variable Ebisu.__registry is now a private variable named

    gugod authored
    "registry" inside the scope of this file,  no way to access that
    outside.
    
    Implements regex Ebisu name. So you can subscribe to events with
    RegExps.  Like:
    
        Ebisu(/^chat\..*/).to("#chat").attach(...)
    
    To catch all event with name begining with "chat.".
    
    Notice that using lots of regex name is can be considerably slow.
    The search time grows linearly with the total number of regex
    names stored in registry.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@24 b19cb30a-9f2e-4084-8847-5e1a13269302
  3. @gugod

    this is addicitive.

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@23 b19cb30a-9f2e-4084-8847-5e1a13269302
  4. @gugod

    unbreak Safari / Webkit breakage due to list assignment.

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@22 b19cb30a-9f2e-4084-8847-5e1a13269302
  5. @gugod

    minor refactor. Change

    gugod authored
      return [left, top]
    
    to
    
      return {left:... , top:... }
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@21 b19cb30a-9f2e-4084-8847-5e1a13269302
  6. @gugod

    Fix the no_dollor test.

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@20 b19cb30a-9f2e-4084-8847-5e1a13269302
  7. @gugod

    Turns out the better way to pass "what's been selected" to the callback,

    gugod authored
    would be just to use the result of that selector, but not doing 
    special handling if that looks like an array.
    
    The reason is that, whoever use their own selector, can then
    have control of those selected elements in the way they've already know.
    
    So Ebisu.$ should be "independent" on this.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@19 b19cb30a-9f2e-4084-8847-5e1a13269302
  8. @gugod

    Big change. Redfine the semantics because previous

    gugod authored
    one has some ambiguity.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@18 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Sep 26, 2007
  1. @gugod

    Examples for using Ebisu.

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@17 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. @gugod

    Implement a primitive jquery plugin form of Ebisu.

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@16 b19cb30a-9f2e-4084-8847-5e1a13269302
  3. @gugod

    Change the structure of Ebisu.__registry again. It's now a hash

    gugod authored
    of array of array. Such that selector can be an HTMLElement.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@15 b19cb30a-9f2e-4084-8847-5e1a13269302
  4. @gugod

    Sometimes there's no dollor-sign around. If so, use document.getEleme…

    gugod authored
    …ntById
    
    by default.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@14 b19cb30a-9f2e-4084-8847-5e1a13269302
  5. @gugod

    Implement the detach() method.

    gugod authored
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@13 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Sep 25, 2007
  1. @gugod

    change the structure of Ebisu.__registry from a array of array

    gugod authored
    to an hash of hash of array.
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@12 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. @gugod

    r19064@GOP (orig r775): gugod | 2007-09-25 16:33:31 +0800

    gugod authored
     Ebisu - Event based inter-serving units.
     
     r19065@GOP (orig r776):  gugod | 2007-09-25 18:16:03 +0800
     First simple test passed.
     
     r19066@GOP (orig r777):  gugod | 2007-09-25 22:00:01 +0800
     A new implementation. More like jQuery's style, looks like a DSL.
     
    
    
    git-svn-id: http://code.handlino.com/svn/Ebisu/javascript@11 b19cb30a-9f2e-4084-8847-5e1a13269302
Something went wrong with that request. Please try again.