Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on May 2, 2011
  1. Merge pull request #1 from rpflorence/enum.

    Hugo Bonacci authored
    [Changed] Enumerations ignore prototype properties
Commits on Apr 15, 2011
  1. @ryanflorence

    [Changed] Enumerations ignore prototype properties

    ryanflorence authored
    - Enumerating an array with `for in` iterates over
      prototype methods the user may have added  (like
      Array.prototype.indexOf for IE support, etc.)
      Changed all array loops to:
    
    	for (var i = 0, l = foo.length; i < l; i++)
    
    - Same thing when iterating over objects.  Though
      by convention users should not mutate
      Object.prototype, EcmaScript allows it. Changed
      all object iterations to check `hasOwnProperty`.
      Some methods iterate over objects or arrays, in
      such cases, `hasOwnProperty` was used.
Commits on Sep 28, 2010
  1. @hugoware
  2. @hugoware
  3. @hugoware
Commits on Sep 27, 2010
  1. @hugoware

    change to select arrays of jQuery objects into a single container (ap…

    hugoware authored
    …parently a lot easier than I thought at first)
  2. @hugoware
  3. @hugoware
  4. @hugoware
  5. @hugoware

    Added license information.

    hugoware authored
Commits on Sep 25, 2010
  1. @hugoware

    1. changed method used so tests would work on IE6

    hugoware authored
    2. started new test for JSON data (string property names). Shouldn't matter but just in case
  2. @hugoware
Commits on Aug 30, 2010
  1. @hugoware

    1. moved if/then comparison to a named function for if commands can b…

    hugoware authored
    …e repeated or not.
    
    2. converted stray +"" to framework.util.toString()
    3. created util.toString method
    4. created util.skipTake
    5. changed util.select to work with indexes correctly
    6. changed type checking from properties to instanceof where applicable
    7. changed skip, take and skipTake to use util.skipTake instead of util.select
    8. exposed util.skipTake in jlinq.util
  2. @hugoware
Commits on Aug 29, 2010
  1. @hugoware

    1. Included tests for 'Is' command

    hugoware authored
    2. Included tests for 'Field' and 'Command' Memorizing
  2. @hugoware

    1. renamed type 'boolean' to just 'bool'

    hugoware authored
    2. Fixed 'repeat' command work correctly when field names change
    3. created 'orNot' and 'andNot' operators
Commits on Aug 27, 2010
  1. 1. replaced a stray call to 'firstOr'

    Hugo Bonacci authored
  2. 1. modified the escape regex expression

    Hugo Bonacci authored
    2. changed sorting so that if both values contain a length property, it is used for comparisons
    3. fixed an error with 'at' not using a fallback value
    4. fixed an error with 'removed' not accepting a selection parameter
  3. 1. created a handful of new tests

    Hugo Bonacci authored
Commits on Aug 23, 2010
  1. 1. Modified source methods to include the new 'modify' and 'query' co…

    Hugo Bonacci authored
    …mmands
    
    2. Added tests for greater, greaterEquals, less, lessEquals, between, betweenEquals
    3. Added more sorting tests
    4. Requires all tests to clone records.
    5. Removed a stray 'i' from the tests... damn cat...
    6. Changed the time for the tests to begin for no particular reason at all...
  2. 1. Modified 'query' to be a standard query starter that can accept a …

    Hugo Bonacci authored
    …parameter object which will be used more later.
    
    2. Modified checking for 'cloning' arrays for new queries to work correctly
    3. Changed default 'ignoreCase' state to come from a jLinq parameter
    4. Added a 'trim' function for strings -- whoo!
    5. Fixed a problem with 'each' - had too many field names
    6. Changed 'empty' to trim strings before checking them.
    7. Changed 'skip' to no longer create a new query as a result but instead continue to use the current query.
    8. Changed 'take' to no longer create a new query but instead just return the results as an array
    9. Changed 'skipTake' to no longer create a new query but instead just return the results as an array
    10. removed 'firstOr', 'lastOr' and 'atOr' and instead added optional parameters for 'first', 'last', and 'at' to do the same thing.
    11. Improved 'removed' to allow the same selection parameters as 'select'
    12. Added jLinq property for default 'ignoreCase' state
    13. Modified 'from' to always clone records before a query.
    14. Added new function 'modify' that allows changes to the current records.
    15. Added 'trim' as a public jLinq utility function
Commits on Aug 16, 2010
  1. Minor updates to testing.

    Hugo Bonacci authored
  2. 1. Added 'clone' functionality for new queries to prevent accidently …

    Hugo Bonacci authored
    …modifying a collection
    
    2. Added clone and cloneArray functions
    3. Modified 'invoke' function to find the correct object to use
    4. Removed pointless string combination in 'empty()'
    5. Created property to make queries default to cloning arrays before using them.
Commits on Aug 14, 2010
  1. Included 'date/time' type

    Hugo Bonacci authored
    Fixed 'toArray()' to work with IE
  2. Added new invoke syntax for fields - ["path.to.method", arg1, arg2, .…

    Hugo Bonacci authored
    …..].
    
    
    jlinq.from(data)
        .equals(["util.calculate", 33, 2], 44)
        .select();
Commits on Aug 11, 2010
  1. Initial commit

    Hugo Bonacci authored
Something went wrong with that request. Please try again.