Sha256: 792a665229500ec44cec447f791fe3662bcaf75fd1b15bcaec07b95a8565d788

Contents?: true

Size: 260 Bytes

Versions: 10

Compression:

Stored size: 260 Bytes

Contents

import config from "../config";

export default function createLayoutStore() {
  return {
    init() {
      this.desktop = window.innerWidth >= config.desktopWidth;
    },
    reflowing: false,
    desktop: true,
    desktopWidth: config.desktopWidth,
  };
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lookbook-0.6.1 app/assets/lookbook/js/stores/layout.js
lookbook-0.6.0 app/assets/lookbook/js/stores/layout.js
lookbook-0.5.2 app/assets/lookbook/js/stores/layout.js
lookbook-0.5.1 app/assets/lookbook/js/stores/layout.js
lookbook-0.5.0 app/assets/lookbook/js/stores/layout.js
lookbook-0.5.0.beta.2 app/assets/lookbook/js/stores/layout.js
lookbook-0.5.0.beta.1 app/assets/lookbook/js/stores/layout.js
lookbook-0.5.0.beta.0 app/assets/lookbook/js/stores/layout.js
lookbook-0.4.8 app/assets/lookbook/js/stores/layout.js
lookbook-0.4.7 app/assets/lookbook/js/stores/layout.js