Sha256: a1a2162b0a50efba22e07c925489e6a7c403eb03e852fd2f638d82c85e90ef88
Contents?: true
Size: 418 Bytes
Versions: 2
Compression:
Stored size: 418 Bytes
Contents
window.SC ||= {} class SC.ProjectsCollection extends Backbone.Collection model:SC.Project initialize: -> # @url = '/projects' successor_of:(member) -> next = if this.last() == member then this.first() else this.at(this.indexOf(member) + 1) next = this.first() unless next? next predecessor_of:(member) -> if this.first() == member then this.last() else this.at(this.indexOf(member) - 1)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
partystreusel-0.0.2 | vendor/assets/javascripts/carousel/models/projects_collection.js.coffee |
partystreusel-0.0.1 | vendor/assets/javascripts/carousel/models/projects_collection.js.coffee |