server/bo_client/app/helpers/add-one.js
author ymh <ymh.work@gmail.com>
Tue, 18 Oct 2016 18:42:13 +0200
changeset 367 e0fb97c1e9c6
parent 20 a9b98b16b053
permissions -rw-r--r--
correct build script + rpm hook scripts
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);