Skip to content

Commit

Permalink
Whitespace because I think I messed up that release
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Mar 11, 2019
1 parent 1588cc8 commit 4c0cf5a
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/babel-plugin-emotion/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ export default function(babel: *) {
t.isArrayExpression(path.node.value.expression))
) {
let expressionPath = path.get('value.expression')

let sourceMap =
state.emotionSourceMap && path.node.loc !== undefined
? getSourceMap(path.node.loc.start, state)
Expand Down
1 change: 0 additions & 1 deletion packages/babel-plugin-jsx-pragmatic/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import syntaxJsx from '@babel/plugin-syntax-jsx'

export default function jsxPragmatic(babel) {
const t = babel.types

function getPragmaImport(state) {
return t.importDeclaration(
[
Expand Down
1 change: 1 addition & 0 deletions packages/babel-preset-css-prop/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ let pragmaName = '___EmotionJSX'
// this means if @babel/plugin-transform-react-jsx adds more options, it'll just work
// and if babel-plugin-emotion adds more options we can add them since this lives in
// the same repo as babel-plugin-emotion

export default (
api,
{ pragma, sourceMap, autoLabel, labelFormat, instances, ...options } = {}
Expand Down
1 change: 0 additions & 1 deletion packages/cache/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ let isBrowser = typeof document !== 'undefined'
export type PrefixOption =
| boolean
| ((key: string, value: string, context: 1 | 2 | 3) => boolean)

type StylisPlugins = StylisPlugin[] | StylisPlugin

export type Options = {
Expand Down
1 change: 0 additions & 1 deletion packages/create-emotion/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ function insertWithoutScoping(cache, serialized: SerializedStyles) {

function merge(registered: Object, css: (*) => string, className: string) {
const registeredStyles = []

const rawClassName = getRegisteredStyles(
registered,
registeredStyles,
Expand Down
1 change: 1 addition & 0 deletions packages/css/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// @flow

import type { Interpolation, SerializedStyles } from '@emotion/utils'
import { serializeStyles } from '@emotion/serialize'

Expand Down
1 change: 0 additions & 1 deletion packages/serialize/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import unitless from '@emotion/unitless'
import memoize from '@emotion/memoize'

let hyphenateRegex = /[A-Z]|^ms/g

let animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g

const processStyleName = memoize((styleName: string) =>
Expand Down

0 comments on commit 4c0cf5a

Please sign in to comment.