server/bo_client/app/helpers/add-one.js
author ymh <ymh.work@gmail.com>
Tue, 17 Jan 2017 13:30:54 +0100
changeset 487 514dc9b6f875
parent 20 a9b98b16b053
permissions -rw-r--r--
Reorder media files for notice. Make the most compressed one (mp3, mp4) the default. Closes #0025878
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
import Ember from 'ember';
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
export function addOne(params) {
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
  return params[0] + 1;
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
}
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
export default Ember.Helper.helper(addOne);