Permalink
Switch branches/tags
Nothing to show
Commits on Dec 10, 2010
Commits on May 6, 2009
  1. fix all tests with self 0.32.

    gugod committed May 6, 2009
Commits on May 16, 2008
  1. 20-min talk slides for YAPC Asia 2008.

    gugod committed May 16, 2008
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@424 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Feb 11, 2008
  1. * var() now can turn a CODEREF inside an array or hash into a functi…

    gugod committed Feb 11, 2008
    …on().
    
     * When writting a hash with var(), the output of keys are sorted.
     * Add / tweak tests with JE.
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@214 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Feb 10, 2008
  1. initiate several tests with JE.

    gugod committed Feb 10, 2008
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@213 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Feb 9, 2008
  1. Some correction to make perlcritic tests happy.

    gugod committed Feb 9, 2008
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@206 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. r20778@GOP: gugod | 2008-02-10 05:52:34 +0800

    gugod committed Feb 9, 2008
     bump version numbers. Doc for jQueryHelpr.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@205 b19cb30a-9f2e-4084-8847-5e1a13269302
  3. r20774@GOP: gugod | 2008-02-10 05:43:58 +0800

    gugod committed Feb 9, 2008
     Remove end() function.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@204 b19cb30a-9f2e-4084-8847-5e1a13269302
  4. r20773@GOP: gugod | 2008-02-10 05:03:59 +0800

    gugod committed Feb 9, 2008
     append() now behaves differently when calling outside JavaScript::Writer
     packages. See perldoc.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@203 b19cb30a-9f2e-4084-8847-5e1a13269302
  5. r20772@GOP: gugod | 2008-02-09 20:48:03 +0800

    gugod committed Feb 9, 2008
     Add a "closure" option to as_html method, to generate a script tag
     that contains a closure, and its context is the script node itself.
     
     Move the document of basic helpers into Writer.pm, and include those
     helpers by default.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@202 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Feb 8, 2008
  1. r20761@GOP: gugod | 2008-02-07 04:58:15 +0800

    gugod committed Feb 8, 2008
     self->{target} is removed. That's simply a duplicate
     of self->{object}. Since it is also make perfect sense to interpret
     js("3s")->foo() as: Invoking foo method on "3s" object.
     
     Also, remove if-else-elsif functions. Those are mind-less design.
     "do" method is the new way.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@201 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. r20760@GOP: gugod | 2008-02-07 04:18:07 +0800

    gugod committed Feb 8, 2008
     Make self->{target} the default object on which the method is invoked.
     
     This is the new wave!.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@200 b19cb30a-9f2e-4084-8847-5e1a13269302
  3. r20730@GOP: gugod | 2008-02-03 13:38:03 +0800

    gugod committed Feb 8, 2008
     Regret about using scalar directly as bardword. Revert that.
     
     Let scalar ref be the bareword.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@199 b19cb30a-9f2e-4084-8847-5e1a13269302
  4. r20729@GOP: gugod | 2008-02-03 11:47:26 +0800

    gugod committed Feb 8, 2008
     Found two know failure test of jQuery() helper.
     Re-wrok jQuery() function a little bit to fix those.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@198 b19cb30a-9f2e-4084-8847-5e1a13269302
  5. r20728@GOP: gugod | 2008-02-03 09:50:10 +0800

    gugod committed Feb 8, 2008
     The tests for obj_as_string sub-routine.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@197 b19cb30a-9f2e-4084-8847-5e1a13269302
  6. r20727@GOP: gugod | 2008-02-03 09:49:21 +0800

    gugod committed Feb 8, 2008
     JQueryHelper is renamed to jQueryHelper.
     
     Implement a jQuery helper function in Perl that can do both:
     
        jQuery("#selector")
     
     and
     
        jQuery.ajax( ... ) 
     
     Add an "obj_as_string" routine that can dump functions as strings.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@196 b19cb30a-9f2e-4084-8847-5e1a13269302
  7. r20726@GOP: gugod | 2008-02-03 08:00:42 +0800

    gugod committed Feb 8, 2008
     The value of "this" can now be passed into closure() to specify the
     context of the closure.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@195 b19cb30a-9f2e-4084-8847-5e1a13269302
  8. r20725@GOP: gugod | 2008-02-03 06:45:25 +0800

    gugod committed Feb 8, 2008
     Document for the new closure() method form.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@194 b19cb30a-9f2e-4084-8847-5e1a13269302
  9. r20724@GOP: gugod | 2008-02-03 06:25:30 +0800

    gugod committed Feb 8, 2008
     Big change of the meaning of perl string literals in JavaScript::Writer
     world. See Changes for details.
     
     Implements a closure() function as a BasicHelpers.
     
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@193 b19cb30a-9f2e-4084-8847-5e1a13269302
  10. .

    gugod committed Feb 8, 2008
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@192 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Jan 3, 2008
  1. Checking in changes prior to tagging of version 0.1.0. Changelog diff…

    gugod committed Jan 3, 2008
    … is:
    
    === Changes
    ==================================================================
    --- Changes	(revision 20487)
    +++ Changes	(local)
    @@ -1,5 +1,10 @@
     Revision history for JavaScript-Writer
     
    +0.1.0
    +- Introduce a new wave of js writter with the spiffy "js" function.
    +- Add "let" method that let you do multiple variable assignment.
    +- No v-string in "use" for no warning in perl 5.10
    +
     0.0.8
     - Add as_html() method
     - Let new() be an instance method too.
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@163 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. Write some document, put "self" into the dependency list.

    gugod committed Jan 3, 2008
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@162 b19cb30a-9f2e-4084-8847-5e1a13269302
  3. Let "js" means $_[0] in callbacks, and if not, be the $base, which is

    gugod committed Jan 3, 2008
    the only, globally used JS::Writer object.
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@161 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Jan 2, 2008
  1. Tests for let()

    gugod committed Jan 2, 2008
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@160 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. Now there's a new wave of this js writer -- Semantic borrowed from

    gugod committed Jan 2, 2008
    ruby and jquery can be real great.
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@158 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Dec 19, 2007
  1. no v-string in 'use'.

    gugod committed Dec 19, 2007
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@147 b19cb30a-9f2e-4084-8847-5e1a13269302
Commits on Dec 2, 2007
  1. build_request Test::Class

    gugod committed Dec 2, 2007
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@128 b19cb30a-9f2e-4084-8847-5e1a13269302
  2. Port this test to use Test::Class, a xUnit style testing.

    gugod committed Dec 2, 2007
    Feels pretty good.
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@127 b19cb30a-9f2e-4084-8847-5e1a13269302
  3. Documenting the Var.pm, and prepare for a new release.

    gugod committed Dec 2, 2007
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@124 b19cb30a-9f2e-4084-8847-5e1a13269302
  4. Re-arrange the coding style so it looks more clear what's happening

    gugod committed Dec 2, 2007
    there.
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@122 b19cb30a-9f2e-4084-8847-5e1a13269302