Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Latest commit

 

History

History
42 lines (31 loc) · 1.37 KB

readme.md

File metadata and controls

42 lines (31 loc) · 1.37 KB

Swiv App modules - Insite w/ AngularJS

Here are all the modules for Swiv in Insite software's implementation of AngularJS in the Responsive theme (see the full wiki here).

Getting started

To use this module, you just have to import the main file as a dependency and add it in your main AngularJS module, normally called "insite" (~/InsiteCommerce.Web/Themes/Theme.YourTheme/Scripts/insite.module.ts).

The module defined in this package is "insite.swiv", designed as:

  • "insite.swiv"
    • "insite.swiv.gee"
// ...
module insite {
    // ...
    angular
        .module("insite", [
            "insite-common",
            "insite-cmsShell",
            "ngSanitize",
            "ipCookie",
            "angular.filter",
            "ngMap",
            "ab-base64",
            "kendo.directives",
            "ui.router",

            // We add the main module here
            "insite.swiv"
        ])
        .run(["appRunService", ($appRunService: IAppRunService) => { $appRunService.run(); }])
        .service("appRunService", AppRunService);
}

It is a plug-and-play plugin, so nothing else to do to keep the vanilla flavour!

However, there are some services and directives that you can use in addition to this custom behaviour (see the wiki).