summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mixins/with_hide_and_show.js
blob: 8cd97ffac1949adeb6c732d163818e20df01086c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
define(function(require) {

  function withHideAndShow() {
    this.hide = function () {
      this.$node.hide();
    };
    this.show = function () {
      this.$node.show();
    };
  }

  return withHideAndShow;

});