From ee286ed4823f80a873192a212440542cc6693c69 Mon Sep 17 00:00:00 2001 From: James Kyle Date: Fri, 3 Jul 2015 20:47:57 +0100 Subject: [PATCH] Add descriptions to api/node --- src/babel/api/node.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/babel/api/node.js b/src/babel/api/node.js index bbe864b27e..0229e228b5 100644 --- a/src/babel/api/node.js +++ b/src/babel/api/node.js @@ -20,7 +20,7 @@ import * as t from "../types"; export { t as types }; /** - * [Please add a description.] + * Register Babel and polyfill globally. */ export function register(opts?: Object) { @@ -30,7 +30,7 @@ export function register(opts?: Object) { } /** - * [Please add a description.] + * Register polyfill globally. */ export function polyfill() { @@ -38,7 +38,7 @@ export function polyfill() { } /** - * [Please add a description.] + * Asynchronously transform `filename` with optional `opts`, calls `callback` when complete. */ export function transformFile(filename: string, opts?: Object, callback: Function) { @@ -65,7 +65,7 @@ export function transformFile(filename: string, opts?: Object, callback: Functio } /** - * [Please add a description.] + * Synchronous form of `transformFile`. */ export function transformFileSync(filename: string, opts?: Object = {}) { @@ -74,7 +74,7 @@ export function transformFileSync(filename: string, opts?: Object = {}) { } /** - * [Please add a description.] + * Parse script with Babel's parser. */ export function parse(code, opts = {}) {