Skip to content

Commit

Permalink
delete useless log
Browse files Browse the repository at this point in the history
  • Loading branch information
Brew-Brew committed May 9, 2020
1 parent 6391fa8 commit 3dfc774
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions cssinjs-inlclude-media.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let breakpoints = {
phone: 375,
tablet: 768,
desktop: 1024,
largeDesktop: 1440
largeDesktop: 1440,
};
const signRegex = /^[<=>]+/;

Expand All @@ -22,11 +22,10 @@ function getBreakPoints() {
function checkValidBreakpoint(customizedBreakPoints) {
const keysOfOrigin = Object.keys(breakpoints);
const keysOfCustomized = Object.keys(customizedBreakPoints);
return keysOfCustomized.every(key => keysOfOrigin.includes(key));
return keysOfCustomized.every((key) => keysOfOrigin.includes(key));
}

function setBreakPoints(customizedBreakPoints) {
console.log("dd");
const isValidBreakPoints = checkValidBreakpoint(customizedBreakPoints);

if (!isValidBreakPoints) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-in-js-media",
"version": "1.0.11",
"version": "1.0.14",
"description": "easy code with css-in-js with mediaquery via css-in-js-media",
"keywords": [
"emotion.js",
Expand Down

0 comments on commit 3dfc774

Please sign in to comment.