Skip to content

yunity-archive/ARCHIVED-yunity-webapp-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yunity-webapp-common

Common functionality between yunity-webapp and yunity-webapp-mobile

This is a collection of independent ES6 modules. You can use them in an angular app module like so:

import yunityAPI from 'yunity-webapp-common/api';

const fooModule = angular.module('foo', [
    yunityAPI
]);

This works because each module exports a string with the name of the angular module.

api

import yunityAPI from 'yunity-webapp-common/api';

const fooModule = angular.module('foo', [
    yunityAPI
]);

fooModule.run(['yAPI', (yAPI) => {

}]);

socket

yunitySocket module provides ySocket service

chat

yunityChat module provides yChat service

map

yunityMap module provides yMapService service and yMap directive

translate

yunityTranslate module provides languageLinks directive

About

Common functionality between yunity-webapp and yunity-webapp-mobile

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages