mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
allow the use of double slash flow comments
This commit is contained in:
@@ -11,7 +11,8 @@ var PREFIXES = [
|
||||
'/** @babel */',
|
||||
'"use babel"',
|
||||
'\'use babel\'',
|
||||
'/* @flow */'
|
||||
'/* @flow */',
|
||||
'// @flow'
|
||||
]
|
||||
|
||||
var PREFIX_LENGTH = Math.max.apply(Math, PREFIXES.map(function (prefix) {
|
||||
|
||||
Reference in New Issue
Block a user