Sha256: 870c6cbdb5950f6866b143f1c184d9e8add9f47c91fb989903dae4f41541611e

Contents?: true

Size: 265 Bytes

Versions: 3

Compression:

Stored size: 265 Bytes

Contents

class Lanes.Models.Query.Result

    @extend: (other) ->
        _.extend(other.prototype, this.prototype)

    sortingFunction: ->
        field = @query.sortField
        return false unless field
        if _.isFunction field.sortBy then field.sortBy else false

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lanes-0.5.0 client/lanes/models/query/Result.coffee
lanes-0.4.0 client/lanes/models/query/Result.coffee
lanes-0.3.0 client/lanes/models/query/Result.coffee