Changeset 23737 for lang/javascript/jsob

Show
Ignore:
Timestamp:
11/15/08 01:23:56 (8 weeks ago)
Author:
drry
Message:
  • removed a subversion property.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/jsob/trunk/src/jsob.js

    • Property svn:executable deleted
    r19266 r23737  
    22 
    33  Jsob 
    4    
     4 
    55  register job with method chain by JavaScript 
    66  Author 37to 
     
    1010 
    1111  Copyright (c) 2008 37to 
    12    
     12 
    1313  Permission is hereby granted, free of charge, to any person obtaining a copy 
    1414  of this software and associated documentation files (the "Software"), to deal 
     
    1717  copies of the Software, and to permit persons to whom the Software is 
    1818  furnished to do so, subject to the following conditions: 
    19    
     19 
    2020  The above copyright notice and this permission notice shall be included in 
    2121  all copies or substantial portions of the Software. 
    22    
     22 
    2323  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
    2424  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
     
    3939      for( var i in extend ) this[i] = extend[i]; 
    4040    for( var i in learn ) this.learn(i,learn[i][1],learn[i][0]); 
    41      
     41 
    4242    //call construct 
    4343    this.initialize(); 
     
    4545}; 
    4646Jsob.prototype = { 
    47      
     47 
    4848    task       : [/* function, function ... */], 
    4949    _methods   : {/* name : method, name : method ... */}, 
     
    5454 
    5555    initialize : function(){}, 
    56      
     56 
    5757    learn : function(name,method,type){ 
    5858        this._methods[name] = method; 
     
    8787        return this; 
    8888    }, 
    89      
     89 
    9090    //reverse order action 
    9191    reverse : function(){ 
     
    101101    }, 
    102102 
    103     next :function(){ 
     103    next : function(){ 
    104104        if(this._first) this._first = false; 
    105105        if(this.task.length == this._pointer){ 
     
    155155 
    156156    _execNow : function(name){ 
    157         return  function(){ 
     157        return function(){ 
    158158            var args = this._copyArgs(arguments); 
    159159            var self = this;