Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Dec 10, 2010
Commits on May 6, 2009
  1. fix all tests with self 0.32.

    authored
Commits on May 16, 2008
  1. 20-min talk slides for YAPC Asia 2008.

    authored
    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…

    authored
    …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.

    authored
    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.

    authored
    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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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

    authored
     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. .

    authored
    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…

    authored
    … 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. Let "js" means $_[0] in callbacks, and if not, be the $base, which is

    authored
    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()

    authored
    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

    authored
    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'.

    authored
    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

    authored
    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.

    authored
    Feels pretty good.
    
    
    git-svn-id: http://code.handlino.com/svn/perl5/JavaScript-Writer@127 b19cb30a-9f2e-4084-8847-5e1a13269302
Something went wrong with that request. Please try again.