1
0
Fork 0

Renamed prop_parse.{parse => parseKeywords}

closure/master
Mike Gerwitz 2010-12-27 23:12:37 -05:00
parent 499e1c32db
commit 828a366f29
3 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@
*
* @return {{name: string, keywords: Object.<string, boolean>}}
*/
exports.parse = function ( prop )
exports.parseKeywords = function ( prop )
{
var name = prop,
keywords = [],

View File

@ -22,7 +22,7 @@
* @package core
*/
var propParse = require( './prop_parser' ).parse;
var propParseKeywords = require( './prop_parser' ).parseKeywords;
/**
@ -156,7 +156,7 @@ exports.propParse = function( data, options )
callback_method = options.method || fvoid,
callback_getter = options.getter || fvoid,
callback_setter = options.setter || fvoid,
keyword_parser = options.keywordParser || propParse,
keyword_parser = options.keywordParser || propParseKeywords,
hasOwn = Object.prototype.hasOwnProperty,

View File

@ -24,7 +24,7 @@
var common = require( './common' ),
assert = require( 'assert' ),
parse = common.require( 'prop_parser' ).parse;
parse = common.require( 'prop_parser' ).parseKeywords;
var data = parse( 'final static abstract foo' ),