Changeset - 3b7ff54a41a9
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 6 years ago 2019-06-09 21:53:03
drewp@bigasterisk.com
effects/ listing sorts by label, not uri
Ignore-this: af6000efb11655976d0a0f441a4980c2
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/web/effects/effects.coffee
Show inline comments
 
@@ -8,7 +8,9 @@ Polymer
 

	
 
  getClasses: ->
 
    U = (x) => @graph.Uri(x)
 
    @effectClasses = @graph.sortedUris(@graph.subjects(U('rdf:type'), U(':Effect')))
 
    @effectClasses = @graph.subjects(U('rdf:type'), U(':Effect'))
 
    @effectClasses = _.sortBy(@effectClasses, (ec) => @graph.stringValue(ec, U('rdfs:label')))
 

	
 

	
 
Polymer
 
  is: "light9-effect-class"
0 comments (0 inline, 0 general)