Skip to content

Instantly share code, notes, and snippets.

@alexpyoung
Created February 21, 2015 17:52
Show Gist options
  • Save alexpyoung/29be01c1f83ba6d93dcd to your computer and use it in GitHub Desktop.
Save alexpyoung/29be01c1f83ba6d93dcd to your computer and use it in GitHub Desktop.
Breakpoints
var pkg = require('../../package.json');
/* Fetch angular from the browser scope */
var angular = window.angular;
var IntelligenceWebClient = angular.module(pkg.name);
// Values in px
var BREAKPOINTS = {
MOBILE: 1024,
MD_SCREEN_SM: 600,
MD_SCREEN_MD: 960,
MD_SCREEN_LG: 1200
};
module.exports = BREAKPOINTS;
IntelligenceWebClient.constant('BREAKPOINTS', BREAKPOINTS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment