• Randall Leeds's avatar
    Replace documentHelpers with baseURI + URL API · f595ae6b
    Randall Leeds authored
    Rather than have a service, ``documentHelpers``, that exposes a value,
    ``baseURI``, and a function, ``absoluteURI``, decorate ``$document``
    so that it's guaranteed to have a ``baseURI`` property and use the
    previously included ``URL`` constructor as a standard way to get parts
    of a URL.
    f595ae6b
controllers.coffee 6.9 KB