Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A fork of https://github.com/mitsuhiko/babel (formerly http://svn.edgewall.org/repos/babel/trunk) with modifications required by Khan Academy
Python Other
branch: master

The babel jslexer was missing a couple of js operators.

Summary:
I noticed this while upating the jsx linter when it failed to correctly
parse these operators and instead skipped over them.

Test Plan:
Edited intl/i18n_lint.py:_lint_js_content by adding the following line:
```
print "type %s value %s" % (token.type, token.value)
```
Saw with unit tests in intl/i18n_lint_test.py that it was now including === and
? when parsing js that have those operators in it.

Reviewers: csilvers

Differential Revision: https://phabricator.khanacademy.org/D16101
latest commit d547f2b5fe
@tzjames tzjames authored

README

About Babel
===========

Babel is a Python library that provides an integrated collection of
utilities that assist with internationalizing and localizing Python
applications (in particular web-based applications.)

Details can be found in the HTML files in the `docs` folder.

For more information please visit the Babel web site:

  <http://babel.pocoo.org/>
Something went wrong with that request. Please try again.