()
| 1867 | Vue.prototype.$once = function (event, fn) { |
| 1868 | var vm = this; |
| 1869 | function on () { |
| 1870 | vm.$off(event, on); |
| 1871 | fn.apply(vm, arguments); |
| 1872 | } |
| 1873 | on.fn = fn; |
| 1874 | vm.$on(event, on); |
| 1875 | return vm |
no outgoing calls
no test coverage detected