Use // for flow pragma

This commit is contained in:
Erik Arvidsson
2015-12-08 19:20:20 -05:00
parent 42eb0752f5
commit bc301ddaf0
48 changed files with 48 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import React from 'react'; //eslint-disable-line no-unused-lets
import {readValue, HttpStore, Ref, Struct} from 'noms';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import HeatMap from './heat_map.js';
import React from 'react';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
// JavaScript implementation of Christoph Buchheim, Michael Jünger, Sebastian Leipert's tree layout algorithm. See: http://dl.acm.org/citation.cfm?id=729576.
//

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Node from './node.js';
import React from 'react';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {layout, NodeGraph, TreeNode} from './buchheim.js';
import Layout from './layout.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import classNames from 'classnames';
import React from 'react';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
export function invariant(exp: boolean, message: string = 'Invariant violated') {
if (!exp) {

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {invariant} from './assert.js';
import {readValue} from 'noms';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {Ref} from 'noms';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {assert} from 'chai';
import {suite, test} from 'mocha';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {HttpStore} from 'noms';
import queryString from 'query-string';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {readValue} from 'noms';
import eq from './eq.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Photo from './photo.js';
import React from 'react';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Photo from './photo.js';
import React from 'react';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Preview from './preview.js';
import React from 'react';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import React from 'react';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
export function invariant(exp: boolean, message: string = 'Invariant violated') {
if (!exp) {

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {suite, test} from 'mocha';
import {assert} from 'chai';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {test as mtest} from 'mocha';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
'use strict';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {suite, test} from 'mocha';
import {assert} from 'chai';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
type FetchOptions = {
method?: string,

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Ref from './ref.js';
import {TextEncoder, TextDecoder} from './text_encoding.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Chunk from './chunk.js';
import Ref from './ref.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {suite, test} from 'mocha';
import {assert} from 'chai';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import type Chunk from './chunk.js';
import type Ref from './ref.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {suite, test} from 'mocha';
import {assert} from 'chai';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import type {ChunkStore} from './chunk_store.js';
import {MetaTuple, MetaSequence} from './meta_sequence.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Chunk from './chunk.js';
import CompoundList from './compound_list.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Chunk from './chunk.js';
import CompoundList from './compound_list.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Chunk from './chunk.js';
import Ref from './ref.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {assert} from 'chai';
import {suite} from 'mocha';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {request} from 'http';
import {parse} from 'url';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Ref from './ref.js';
import {encodeNomsValue} from './encode.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Chunk from './chunk.js';
import Ref from './ref.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Chunk from './chunk.js';
import Ref from './ref.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Chunk from './chunk.js';
import Ref from './ref.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {assert} from 'chai';
import {suite} from 'mocha';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
'use strict';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
export type NomsKind = number;

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Ref from './ref.js';
import type {ChunkStore} from './chunk_store.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Rusha from 'rusha';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import {assert} from 'chai';
import {suite, test} from 'mocha';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Ref from './ref.js';
import {ensureRef} from './get_ref.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Struct from './struct.js';
import {assert} from 'chai';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
// Tell Flow about these globals.
declare var TextDecoder: ?Function;

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import Ref from './ref.js';
import type {NomsKind} from './noms_kind.js';

View File

@@ -1,4 +1,4 @@
/* @flow */
// @flow
import MemoryStore from './memory_store.js';
import Ref from './ref.js';