Skip to content

cbcrc/koco-url-utilities

Repository files navigation

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.
}

About

URL utilities to be used inside a koco project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published