Skip to main content

JSX compiler for Gears

Project description

gears-jsx
==================

JSX compiler for Gears.

Bundled [react-tools](https://github.com/facebook/react) version: 0.10.0


Installation
------------

Install `gears-jsx` with pip:

$ pip install gears-jsx


Requirements
------------
- [node.js](http://nodejs.org)


Usage
-----

Add `gears_jsx.JSXCompiler` to `environment`'s compilers registry:

from gears_jsx import JSXCompiler
environment.compilers.register('.jsx', JSXCompiler.as_handler())

If you use Gears in your Django project, add this code to its settings:

GEARS_COMPILERS = {
'.jsx': 'gears_jsx.JSXCompiler',
}

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gears-jsx-0.1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

gears_jsx-0.1-py2.7.egg (1.9 MB view details)

Uploaded Source

File details

Details for the file gears-jsx-0.1.tar.gz.

File metadata

  • Download URL: gears-jsx-0.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gears-jsx-0.1.tar.gz
Algorithm Hash digest
SHA256 8700858d86f8332cb95d4fcec5d098ea8d9fc2d106863d3a3010219ba7aa084a
MD5 b3321a6d811a2a4d82a258915b9e9682
BLAKE2b-256 acf4b1a00328f358e727c0c527debccde2b62c1e1aab076d47cf9ac9b7caccf0

See more details on using hashes here.

File details

Details for the file gears_jsx-0.1-py2.7.egg.

File metadata

  • Download URL: gears_jsx-0.1-py2.7.egg
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gears_jsx-0.1-py2.7.egg
Algorithm Hash digest
SHA256 f4d95551bf0cac0e511d321ba3862ef810270477c808cf3fc91dbb3f7beae87b
MD5 dfb8f283d01e2a3ffdd3b1ce4ff9c9c8
BLAKE2b-256 29a221784cefb60a9707239afbc38e991e4d6d358beb3cdee647825bf9e04a20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page