Produced by Araxis Merge on 12/7/2018 11:36:04 AM Central Standard 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\SCRUB\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\app\modules\new-appointment-request\views\common\facility | single-item-view.js | Mon Oct 22 23:25:20 2018 UTC |
| 2 | C:\MHED-scrubbed\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\app\modules\new-appointment-request\views\common\facility | single-item-view.js | Fri Dec 7 13:07:38 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 106 |
| Changed | 2 | 6 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | define([ | |
| 2 | 'under score', | |
| 3 | 'mario nette', | |
| 4 | 'modul es/new-app ointment-r equest/vie ws/direct/ pac-team/s ection-vie w', | |
| 5 | 'text! modules/ne w-appointm ent-reques t/views/co mmon/facil ity/templa tes/single -item.html ', | |
| 6 | ], functio n(_, Mn, P actSection View, temp late) { | |
| 7 | 'use s trict'; | |
| 8 | ||
| 9 | ||
| 10 | /** | |
| 11 | * @cl ass PactTe amSingleIt emView | |
| 12 | * @ty pedef {Bac kbone.View <Backbone. Model>} | |
| 13 | */ | |
| 14 | return Mn.View.e xtend({ | |
| 15 | te mplate: te mplate, | |
| 16 | ||
| 17 | re gions: {pa ct: '#sing le-item-pa ct'}, | |
| 18 | ||
| 19 | in itialize: function(o ptions) { | |
| 20 | this.pacTe am = optio ns.f DNS el.pacTeam (); | |
| 21 | this.siteC ode = opti ons.f DNS el.getSite Code(); | |
| 22 | ||
| 23 | this.lis tenTo(this .pacTeam, 'fetch:suc cess', thi s.injectPa cTeam); | |
| 24 | }, | |
| 25 | ||
| 26 | on Render: fu nction() { | |
| 27 | this.pac Team.fetch ({}, this. siteCode); | |
| 28 | }, | |
| 29 | ||
| 30 | se rializeMod el: functi on() { | |
| 31 | var expr essMessage = this.op tions.expr essMessage ; | |
| 32 | var isEx press = !_ .isEmpty(e xpressMess age); | |
| 33 | return { | |
| 34 | isEx press: isE xpress, | |
| 35 | expr essMessage : expressM essage, | |
| 36 | name : this.mod el.formatT extValue(f alse), | |
| 37 | }; | |
| 38 | }, | |
| 39 | ||
| 40 | in jectPacTea m: functio n() { | |
| 41 | var model = this.opt ions.f DNS el; | |
| 42 | var regi on; | |
| 43 | ||
| 44 | if (mode l.pacTeam( ).hasPacTe amAtFacili ty(model.g etSiteCode ())) { | |
| 45 | regi on = this. getRegion( 'pact'); | |
| 46 | this .$el.css(' display', 'flex'); | |
| 47 | ||
| 48 | regi on.show(ne w PactSect ionView({ | |
| 49 | model: mod el, | |
| 50 | team: mode l.pacTeam( ), | |
| 51 | facility: model.faci lity(), | |
| 52 | })); | |
| 53 | } | |
| 54 | }, | |
| 55 | }); | |
| 56 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.