* Map breakpoitns defined in defaults to stylesheet media attribute
(stylesheet)
| 114 | * Map breakpoitns defined in defaults to stylesheet media attribute |
| 115 | **/ |
| 116 | function mapBreakpointToMedia(stylesheet) { |
| 117 | if (angular.isDefined(options.breakpoints)) { |
| 118 | if (stylesheet.breakpoint in options.breakpoints) { |
| 119 | stylesheet.media = options.breakpoints[stylesheet.breakpoint]; |
| 120 | } |
| 121 | delete stylesheet.breakpoints; |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * Parse: returns array with full all object based on defaults |