File: helpers.coffee

Defined in: lib/resin/helpers

Method Summary

Method Details

~ (void) prefixObjectValuesWithPath(prefix, object) Private

Note: Absolute values will be omitted

Prefix relative value paths with another path

object =    dataPrefix: 'resin'

object = prefixObjectValuesWithPath('/opt', object)
console.log(object.dataPrefix) # /opt/resin

Parameters:

  • prefix ( String ) path prefix
  • object ( Object ) object containing relative paths as values

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: