aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascript
diff options
context:
space:
mode:
authorTeddy Wing2018-03-14 11:02:42 +0100
committerLuc Donnet2018-03-23 17:16:43 +0100
commit1b1d9f015d9b416a638f699981f2c83fcf87f641 (patch)
treed292dd3b1e1792c9e7cedc3b29735f9537b52c5e /spec/javascript
parent504e2864a494aa6767da95892dd14ce0b567e2cf (diff)
downloadchouette-core-1b1d9f015d9b416a638f699981f2c83fcf87f641.tar.bz2
Route#duplicate: Use `#slice!` instead of `#slice`
Johan suggested simplifying this method by changing the `slice` call: http://api.rubyonrails.org/classes/Hash.html#method-i-slice-21 I had modified this to fix the whitespace while working on the `WayCost` calculation function for `Chouette::Route`s, so don't really have a brain cache hit on this code, but the change makes sense and seems to work. Refs #6095
Diffstat (limited to 'spec/javascript')
0 files changed, 0 insertions, 0 deletions