subtleGradient / language-javascript-jsx

JavaScript with JSX Bundle for Atom
45 stars 6 forks source link

Adds support for es6 'import ... from ... as' keyword syntax #11

Closed kengorab closed 9 years ago

kengorab commented 9 years ago

In es6 syntax, in common patterns like

import React from 'react'

and

import { Navbar as Bar, NavItem as Item } from 'react-bootstrap'

from and as aren't being treated as keywords. This should fix that.

subtleGradient commented 9 years ago

Awesome! Thanks