1.5.5 • Published 8 years ago

koco-url-utilities v1.5.5

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

koco-url-utilities

URL utilities to be used with a KOCO project.

See API reference

Installation

bower install koco-url-utilities

Usage with KOCO

This is a shared module that is used in many other module. The convention is to configure an alias in the require.configs.js with the name url-utilities like so:

paths: {
  ...
  'url-utilities': 'bower_components/koco-url-utilities/src/url-utilities'
  ...
}

The configuration file

This module uses the configs object and will be using a property named baseUrl.

{
	baseUrl: '/base-url-for-my-app/' // Note the leading and trailing slashes.
}