From 660c8190e251b629189e078f30bc365dad0ae99a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Bouc=CC=A7as?= Date: Sun, 19 Jul 2015 20:18:25 +0100 Subject: [PATCH] Change media expressions syntax and bump to v1.4.1 --- bower.json | 2 +- dist/_include-media.scss | 17 ++++------------- package.json | 2 +- src/_config.scss | 15 +++------------ 4 files changed, 9 insertions(+), 27 deletions(-) diff --git a/bower.json b/bower.json index 8cecaa8..cf377db 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "include-media", - "version": "1.3.1", + "version": "1.4.1", "homepage": "https://github.com/eduardoboucas/import-media", "authors": [ "Eduardo Boucas " diff --git a/dist/_include-media.scss b/dist/_include-media.scss index cc944a4..0ae831c 100644 --- a/dist/_include-media.scss +++ b/dist/_include-media.scss @@ -8,7 +8,7 @@ // |_|_| |_|\___|_|\__,_|\__,_|\___| |_| |_| |_|\___|\__,_|_|\__,_| // // Simple, elegant and maintainable media queries in Sass -// v1.4.0 +// v1.4.1 // // http://include-media.com // @@ -46,10 +46,7 @@ $breakpoints: ( /// /// @example scss - Creates a static expression with logical disjunction (OR operator) /// $media-expressions: ( -/// 'retina2x': ( -/// '(-webkit-min-device-pixel-ratio: 2)', -/// '(min-resolution: 192dpi)' -/// ) +/// 'retina2x': '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)' /// ); /// $media-expressions: ( @@ -58,14 +55,8 @@ $media-expressions: ( 'handheld': 'handheld', 'landscape': '(orientation: landscape)', 'portrait': '(orientation: portrait)', - 'retina2x': ( - '(-webkit-min-device-pixel-ratio: 2)', - '(min-resolution: 192dpi)' - ), - 'retina3x': ( - '(-webkit-min-device-pixel-ratio: 3)', - '(min-resolution: 350dpi)' - ) + 'retina2x': '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)', + 'retina3x': '(-webkit-min-device-pixel-ratio: 3), (min-resolution: 350dpi)' ) !default; diff --git a/package.json b/package.json index ff0ba1a..9ab4919 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "title": "include-media", "name": "include-media", - "version": "1.4.0", + "version": "1.4.1", "description": "Simple, elegant and maintainable media queries in Sass", "repository": { "type": "git", diff --git a/src/_config.scss b/src/_config.scss index 978460b..316ccdb 100644 --- a/src/_config.scss +++ b/src/_config.scss @@ -26,10 +26,7 @@ $breakpoints: ( /// /// @example scss - Creates a static expression with logical disjunction (OR operator) /// $media-expressions: ( -/// 'retina2x': ( -/// '(-webkit-min-device-pixel-ratio: 2)', -/// '(min-resolution: 192dpi)' -/// ) +/// 'retina2x': '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)' /// ); /// $media-expressions: ( @@ -38,14 +35,8 @@ $media-expressions: ( 'handheld': 'handheld', 'landscape': '(orientation: landscape)', 'portrait': '(orientation: portrait)', - 'retina2x': ( - '(-webkit-min-device-pixel-ratio: 2)', - '(min-resolution: 192dpi)' - ), - 'retina3x': ( - '(-webkit-min-device-pixel-ratio: 3)', - '(min-resolution: 350dpi)' - ) + 'retina2x': '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)', + 'retina3x': '(-webkit-min-device-pixel-ratio: 3), (min-resolution: 350dpi)' ) !default;