30. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/30/2018 10:49:46 AM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

30.1 Files compared

# Location File Last Modified
1 Exposure Ed v1.2.7.zip\Exposure Ed v1.2.7\environmental-exposure-develop@c437d85fd0d.zip\www\js\routers AppRouter.js Tue Sep 26 16:08:57 2017 UTC
2 Exposure Ed v1.2.7.zip\Exposure Ed v1.2.7\environmental-exposure-develop@c437d85fd0d.zip\www\js\routers AppRouter.js Thu Jul 26 15:21:07 2018 UTC

30.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 266
Changed 2 6
Inserted 0 0
Removed 0 0

30.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

30.4 Active regular expressions

No regular expressions were active.

30.5 Comparison detail

  1   define(fun ction (req uire) {
  2       // Usi ng this fo rm of modu le loading  for reada bility.
  3       var lo g = requir e('logleve l');
  4       var Li stView = r equire('vi ews/ListVi ew');
  5       var Ma inPageView  = require ('views/Ma inPageView ');
  6       var Tu torialView  = require ('views/Tu torialView ');
  7       var Ab outPageVie w = requir e('views/A boutPageVi ew');
  8       var Re loadMainPa ge = requi re('views/ ReloadMain Page');
  9       var Eu laView = r equire('vi ews/EulaVi ew');
  10  
  11       // var  exposures  = require ('collecti ons/Exposu res');
  12       // var  conflicts  = require ('collecti ons/Confli cts');
  13       // var  locations  = require ('collecti ons/Locati ons');
  14       var fa vorites =  require('c ollections /Favorites ');
  15  
  16       /**
  17        * Cla ss used to  route cli ent-side p ages to ac tions and  events.
  18        *
  19        * @mo dule AppRo uter
  20        * @ex tends Back bone.Route r
  21        */
  22       var Ap pRouter =  Backbone.R outer.exte nd({
  23           ro utes: {
  24                "": "dis playMainVi ew",
  25                "resetMa in": "rese tToMain",
  26  
  27                "exposur es/:id/ben efits": "d isplayBene fits",
  28                "locatio ns/:id/exp osures/:id s/benefits ": "displa yBenefits" ,
  29                "conflic ts/:id/ben efits": "d isplayBene fits",
  30  
  31                "favorit es": "disp layFavorit es",
  32                "feedbac k": "displ ayFeedback ",
  33                "tutoria l": "displ ayTutorial ",
  34                "about":  "displayA boutPage"
  35           },
  36  
  37           /* *
  38            *  Method to  initializ e this rou ter.
  39            *
  40            *  @method i nitialize
  41            * /
  42           in itialize:  function ( ) {},
  43  
  44           /* *
  45            *  Methhod t o display  the main p age of the  applicati on.
  46            *
  47            *  @method d isplayMain View
  48            * /
  49           di splayMainV iew: funct ion () {
  50                var view  = null;
  51                if (!win dow.localS torage.get Item("eula ")) {
  52                    view  = new Eul aView();
  53                } else {
  54                    view  = new Mai nPageView( );
  55                }
  56                view.ren der();
  57           },
  58  
  59           /* *
  60            *  Methhod t o display  favorites  view.
  61            *
  62            *  @method d isplayFavo rites
  63            * /
  64           di splayFavor ites: func tion () {
  65                var view  = new Lis tView({
  66                    id:  "favorites ",
  67                    head ing: "Book marks",
  68                    coll ection: fa vorites,
  69                    isIn AppBrowser : true
  70                });
  71                view.ren der();
  72           },
  73  
  74           /* *
  75            *  Method to  display B enefits vi ew.
  76            *
  77            *  @method d isplayBene fits
  78            * /
  79           di splayBenef its: funct ion () {
  80                  // window. open('http s:// DNS . URL /ebenefits -portal/eb enefits.po rtal?_nfpb =true&_nfx r=false&_p ageLabel=V onapp', '_ blank', 'l ocation=ye s');
  81                  var ret =  window.ope n('http:// DNS . URL .
', '_blank ', 'locati on=yes');
  82                // Debug ging Only! !!
  83                // ret.a ddEventLis tener('loa dstart', f unction(ev ent) {
  84                //     a lert(event .type + '  - ' + even t.url);
  85                // });
  86                // ret.a ddEventLis tener('loa dstop', fu nction(eve nt) {
  87                //     a lert(event .type + '  - ' + even t.url);
  88                // });
  89                // ret.a ddEventLis tener('loa derror', f unction(ev ent) {
  90                //     a lert(event .type + '  - ' + even t.url + '  - ' + even t.code + '  - ' + eve nt.message );
  91                // });
  92                // ret.a ddEventLis tener('exi t', functi on(event)  {
  93                //     a lert(event .type);
  94                // });
  95           },
  96  
  97           /* *
  98            *  Method to  display A bout view.
  99            *
  100            *  @method d isplayAbou tPage
  101            * /
  102           di splayAbout Page: func tion () {
  103                new Abou tPageView( ).render() ;
  104           },
  105  
  106           /* *
  107            *  Method to  display F eedback vi ew.
  108            *
  109            *  @method   displayFee dback
  110            * /
  111           di splayFeedb ack: funct ion () {
  112                var isHt ml = false ;
  113                cordova. plugins.em ail.open({
  114                    to:  " PII                 ",
  115                    subj ect: "Feed back",
  116                    body : "",
  117                    isHt ml: isHtml
  118                }, funct ion () {}) ;
  119           },
  120  
  121           /* *
  122            *  Method to  display T utorial vi ew.
  123            *
  124            *  @method   displayTut orial
  125            * /
  126           di splayTutor ial: funct ion () {
  127                new Tuto rialView() .render();
  128           },
  129  
  130           re setToMain:  function  () {
  131                new Relo adMainPage ().render( );
  132           }
  133       });
  134  
  135       return  AppRouter ;
  136   });