Namespace: def

ResourceProcessor. def

Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 293

Members

<static, readonly> BASENAME :string

Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 188

<static, readonly> DATE :Date

Since:
  • 1.0
Default Value:
Source:
  • ResourceProcessor.js, line 145

<static, readonly> DIRNAME :string

Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 194

<static, readonly> ELAPSED :uint

The elapsed time in milliseconds from ResourceProcessor#date
Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 152

<static, readonly> FILE :string

Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 169

<static, readonly> INDEX :uint

Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 175

<static, readonly> MIMETYPE :string

Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 163

<static, readonly> partials :Object

Since:
  • 1.0
Default Value:
  • new Object()
Source:
  • ResourceProcessor.js, line 301

<static, readonly> TIMESTAMP :uint

Since:
  • 1.0
Default Value:
Source:
  • ResourceProcessor.js, line 182

Methods

<static> partial(file) → {string}

Reads the file at provided path. Relative paths are resolved with ResourceProcessor.def.resolve.
Parameters:
Name Type Description
file string
Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 311
Returns:
Type
string

<static> resolve(pathname) → {string}

Returns a resolved path. Relative paths are resolved from from ResourceProcessor.def.DIRNAME.
Parameters:
Name Type Description
pathname string
Since:
  • 1.0
Source:
  • ResourceProcessor.js, line 328
Returns:
Type
string