25 lines
507 B
JavaScript
25 lines
507 B
JavaScript
/**
|
|
* Created by eitch on 2015-09-04
|
|
*/
|
|
|
|
/*
|
|
* Define the main namespace
|
|
*/
|
|
if (typeof strolch == 'undefined') {
|
|
strolch = {};
|
|
}
|
|
|
|
strolch.const = {
|
|
url_base: 'planningwebapp',
|
|
urls: {
|
|
auth: 'rest/strolch/authentication',
|
|
version: 'rest/strolch/version',
|
|
resources: 'rest/strolch/model/resources',
|
|
orders: 'rest/strolch/model/orders',
|
|
activities: 'rest/strolch/model/activities'
|
|
},
|
|
|
|
auth_token: 'auth_token',
|
|
session_data: 'session_data'
|
|
};
|