fig-compiler
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -15,3 +15,3 @@ const babel = require('babel-core') | ||
const lines = input.split('\n') | ||
const lines = input.split(/\r?\n/) | ||
@@ -18,0 +18,0 @@ const tagContent = tag => { |
{ | ||
"name": "fig-compiler", | ||
"description": "fig.js component compiler", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "babel-core": "^6.25.0", |
@@ -5,3 +5,3 @@ # fig-compiler ![stability](https://img.shields.io/badge/stability-experimental-orange.svg) | ||
[![npm](https://img.shields.io/npm/v/fig-compiler.svg)](https://www.npmjs.com/package/fig-compiler) | ||
[![travis](https://travis-ci.org/Nikersify/fig-compiler.svg?branch=master)](https://travis-ci.org/Nikersify/fig-compiler) | ||
[![travis](https://travis-ci.org/nikersify/fig-compiler.svg?branch=master)](https://travis-ci.org/nikersify/fig-compiler) | ||
@@ -31,3 +31,3 @@ # usage | ||
Not to be used in production. | ||
:warning: Not meant to be used in production. | ||
@@ -49,3 +49,3 @@ ### example | ||
app.use('main-view.fig') // pulls from localhost:3000/main-view.fig | ||
app._components['main-view'] // should be the compiled component | ||
app._components.get('main-view') // should be the compiled component | ||
``` | ||
@@ -52,0 +52,0 @@ |
164004