server/bo_client/app/helpers/add-one.js
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 30 May 2016 23:58:34 +0200
changeset 176 d1baf7ccecc8
parent 20 a9b98b16b053
permissions -rw-r--r--
Add `thematiques` components
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);