Say Nothing takes a decisive turn after its sixth episode, “Do No Harm,” which chronicles the Price sisters’ 208-day hunger strike at Brixton Prison in England. Caught fleeing London after planting four car bombs in the city, the Prices are detained at a men’s prison. They refuse to take anything but water until they are transferred to a women’s facility in Ireland, the same where generations of their family had served their own sentences. “By electing this particular mode of protest,” Patrick Radden Keefe wrote in his 2018 book, Say Nothing, “the Price sisters were invoking a long-standing tradition of Irish resistance.” Since the Middle Ages, the Irish had engaged in hunger-striking as a way to “express dissent or rebuke.” In 1920, a man named Terence MacSwiney died in British custody after refusing to eat for 74 days. From that same book of Keefe’s: His sacrifice “articulated a philosophy … that would help define the emerging traditions of Irish Republican martyrdom. ‘It is not those who inflict the most but those who suffer the most who will conquer,’ MacSwiney declared.”
“Do No Harm” is a grueling hour of television, the show’s pièce de résistance. It is an unflinching depiction of the price of commitment on the bodies of two young girls; when they started the strike, Marian wasn’t yet 20. But if the episode resonates, it’s also because of the questions that build in it: Who is the war being fought for? And at what and whose cost?
At least partly at the cost of the McConville children, no doubt. Episode four, “Tout,” opens with a familiar scene: Helen McConville is getting ready to go out when her mother asks her to pick up dinner for the family. When Helen returns, Jean is gone, and nobody can help or tell her what’s going on. IRA sympathizers urge Helen and her brother Archie to drop it, and the social workers who come to whisk the children away show no tact or compassion as they separate the siblings into cars. The lack of sympathy for an innocent group of orphaned children is unconscionable, but then so was touting for the people who were controlling their fates. There is a sense of inevitability to the way everyone speaks about touts — as if their deaths were no more unavoidable than waking up with a hangover after drinking too much. “That man has made his own bed,” Jimmy Doyle tells Seamus Wright’s wife, Kathleen, when she brings the news that he is a British informant.
Having taken Seamus outside the wake, the British flipped him by offering the prospect of a better life for him and his wife in London. Hoping that Brendan would find it in his heart to spare her husband’s life, and knowing that the IRA was bound to discover his double identity sooner rather than later, Kathleen confesses to Brendan. By this point, the network of support that had sustained IRA operations in West Belfast was beginning to show signs of tear. “I didn’t trust Belfast,” Brendan tells Mackers. When Kathleen came to him, he was already bullshit from a raid at one of his secret arms dumps. Along with Seamus, the Brits had also gotten a hold of Kevin “Beaky” McKee, a kid barely 17 who just loved guns.
The man behind the double-agenting is, of course, the villainous General Kitson. Kathleen was right to go to Brendan, who knew Seamus since they were kids and took a fraternal liking to the cheeky Kevin. Gerry is determined to punish their crimes with death, but Brendan sees an opportunity to keep them alive: They can employ the boys as triple agents, sussing out Kitson’s intelligence from the inside. On his Belfast Project tape, Brendan reflects that despite the “culture of self-sacrifice” promoted by the IRA, “when you’re staring down the barrel of a 20-year prison sentence, it’s human to be selfish.” Brendan’s instinct is to honor, rather than punish, that humanity, and ultimately his plan reaps good rewards: Through Kevin’s spying, they uncover a massive surveillance operation disguised as a mobile laundry service that had managed to identify almost every call house in West Belfast.
Brendan’s devotion to his men is inextricable from his purpose in the army, but the lofty Gerry sees it as a weakness. After ordering Kevin’s and Seamus’s executions behind Brendan’s back, he advises his friend not to put his men before the cause. But for Brendan, “the men are the fucking cause.” This internal discord is music to Kitson’s ears, whose goal is to have Irish Republicans murder one another. Like Joe Lynskey, Seamus knew what was happening as soon as they were put in the car with Dolours; unlike Joe, he considers making a run for it, though Dolours, a little hardened, stops him from trying. Poor young Kevin never saw reason to doubt Brendan’s word. The execution of the two boys, Keefe wrote, “would trouble [Brendan] for the rest of his life.”
Given the awful job of seeing her friends to their deaths, Dolours also questions Gerry’s iron fist. “I just didn’t know my contribution to this war would be killing Catholics,” she laments. The idea to bomb London is a result of this dissatisfaction: Why should the Irish people bear the brunt of the war when the enemy is just a ferry ride away? Dolours and Marian get the green light from leadership after presenting their plan convincingly, and though the Prices are in charge of the mission, the gaps between Brendan’s and Gerry’s conduct continue to widen. While Brendan thinks it’s important for Dolours, the operation’s commander, to “ride with the gear” — meaning to drive one of the cars smuggling the explosives into London — and boost morale, Gerry urges her to take a plane and avoid the risk of getting caught. Brendan evokes the Irish Republican tradition of self-sacrifice, while Gerry embodies a new attitude geared toward self-preservation.
Dolours ultimately follows Gerry’s advice, and it’s Marian who has to swoop in when one of their co-conspirators, a young girl named Róisín, freaks out on the ferry. For as long as it goes according to plan, their operation has the irreverent tone of Ocean’s Eleven: They flirt among themselves, the boys drink too much, and on their night off, they go see a play about the Troubles starring Stephen Rea. The blast, for them, is “symbolic” — in order to spare as much civilian life as possible, they put out a warning to the authorities an hour before the bombs are set to explode, giving them the locations of the cars along with their plate numbers. By the time the British — doubly warned by the IRA andby the Palace Barracks, which tipped off Scotland Yard after getting wind of the plan through an informant — get to the bombs, the crew is already at Heathrow.
Marian can tell right away that it’s a bad idea to leave London so soon. The fuse on the bombs was long enough to tell the authorities that the bombers had given themselves plenty of time to leave, so they lock all exits. The blast goes off while the Prices are detained at the airport. In interrogation, the sisters might have remembered their father’s tactic: Focus on a point on the wall and zone out. Although Dolours feels responsible for her sister’s arrest, the two of them won’t relent. They can’t plead guilty, as a lawyer advises them, because they “don’t recognize the court.” Marian urges her sister not to feel bad as she looks out at the hordes of reporters covering their arrest: “That’s mission accomplished.”
“When you join the IRA,” Dolours tells Mackers, “there’s always this question: ‘How far are you willing to go?’” In the Price family, going to prison was seen as a badge of honor or a rite of passage. But the reality of it doesn’t feel half as noble as the idea. The girls are locked up with male inmates who are only too happy to harass and intimidate them, and they can count on only each other to make it through the days. If getting arrested was a tradition in the Price household, so was the strength of sisterhood: Dolours remembers her mother’s lifelong devotion to Aunt Bridie.
We don’t see the Prices conceiving of the hunger-strike plan, but by the time they are locked up in their respective cells, they’re ready to start. “Tell [the governor] we will bring fury down on his head,” Dolours says to the nurse who brings her breakfast tray. “Tell him we will embarrass him in front of his nation.” Not that the governor seems predisposed to care. “If it were truly up to me, Miss Price,” he told Dolours earlier, “I’d bury you in a hole.”
Compared to the fast-paced, action-packed rhythm of the previous episodes, the days of the hunger strike drag on, merging into one another — it’s day two and then it’s day 17, the girls looking sicker by the minute. “It’s like a staring contest,” Dolours tells Marian. “We’ll just have to make them blink.” Their mother, Chrissie, comes to visit them at Brixton and tells them that Brendan and Gerry have also been arrested. Although Chrissie is visibly shaken by the condition of her daughters, she doesn’t try to talk them out of the strike — in fact, she’s proud of their determination. In a radio interview, she maintains that she “respects [her] daughters’ wish to die” for a cause. Besides, she reminds the interviewer that her daughters’ deaths are not a given: The British government can still spare them by sending them home to Ireland.
It’s not long after Chrissie’s visit that the forced feeding begins. For all of the emotional strain of the episode, these scenes are the hardest to watch; I was caught unawares with my lunch in front of me when they began and had to put my food away. One morning, a group of guards and nurses drags and ties Dolours to a chair, secures a mouthpiece around her head, and shoves a tube down her throat, through which they funnel a mixture of eggs, flour, juice, and protein powder. The British government decided that it would simply force the girls to eat — if acceding to their demand would make them look bad, letting them die would make them look worse. The whole thing is so traumatizing that Dolours questions whether she can endure it again. Marian tells her that it’s okay to break the strike. “It’s a totally new situation now, and everyone will understand,” she assures her sister. But Marian wants to keep going, and Dolours decides they’ll either “come off it together or not at all.”
The next day, Dolours tries to barricade the door, but if she was already skinny and petite before, now she has no chance against the burly guards. By the 67th day of the strike, the sisters have figured out they can communicate through the sink drain in the bathroom. The first time Dolours is tied to the chair, we see the whole gruesome process, but as the days go by, the steps are jump-cutted together. We become used to the sounds of a blender whirring and the straps on the mouthpiece tightening. The feeding is banalized into autopilot, coming to seem as familiar as brushing your teeth. Even then, we have to face Dolours’s eyes as the tube is slid down her throat. The reality of what the girls had to go through sinks in; this went on for more than a hundred days.
Dolours develops a rapport with the kind-eyed Doctor Mansuri, who oversees the process. She respects his commitment to human life and believes him when he says that unlike the British government, which is more worried about optics than anything else, he actually cares whether the Prices live or die. They engage in discussion of the situation’s tangled ethics: Is the forced feeding, the only thing keeping the girls alive, a kind of torture? Dolours is game to banter with the doctor, but when a weakened Marian chokes on the tube and faints, she becomes angry and twice as resolute. “You’re prolonging our suffering,” she tells Dr. Mansuri. If only he would let the girls arrive on the verge of death, the British might finally give in. She renounces the resigned attitude she had taken toward the feeding and puts up a fight: She kicks and bites and refuses to sit still, perhaps hoping to injure herself. “I’m giving you the privilege of killing me,” Dolours says to Dr. Mansuri. “You can tell the governor that this is how it’s going to be from this point forward.”
It’s more than the doctor can take. He resigns, citing ethical concerns, and the feeding stops. By this point, it’s day 202, more than six months in. The girls are so sick they are put in a wing the nurses call “the terminal ward,” where they are allowed to share a bed. Marian is convinced she will die at any minute and feels prepared to go. She barely has the energy to lift her torso, let alone stand up like Dolours wants her to. On day 205, they pray the Rosary together. On day 208, when Dolours wakes up, Marian looks cadaverous and Dolours begs her to wake, promising they can quit the strike. Just then, a team of nurses comes in with fluids. Marian wakes up. The British blinked: The girls are being sent back to Ireland.
By submitting your email, you agree to our
Terms and Privacy Notice
and to receive email correspondence from us. This site is protected by reCAPTCHA and the Google
Privacy Policy and
Terms of Service apply.
or
Already a subscriber?
What is your email?
This email will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us.
Password must be at least 8 characters and contain:
Lower case letters (a-z)
Upper case letters (A-Z)
Numbers (0-9)
Special Characters (!@#$%^&*)
This password will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us.
You’re in!
As part of your account, you’ll receive occasional updates and offers from New York, which you can opt out of anytime.
or
Already a subscriber?
What is your email?
This email will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us.
Password must be at least 8 characters and contain:
Lower case letters (a-z)
Upper case letters (A-Z)
Numbers (0-9)
Special Characters (!@#$%^&*)
This password will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us.
You’re in!
As part of your account, you’ll receive occasional updates and offers from New York, which you can opt out of anytime.
Already a subscriber?
Already a subscriber?
`;
// integrate Sub(x) scripts and elements
if (hostname !== 'subs.nymag.com') { // do not integrate on this subdomain
document.head.appendChild(trackingScript);
document.body.insertAdjacentHTML('beforeend', subXAnimationElements);
}
There was an error processing the request. Please try again later."}).catch(e=>console.error("Error verifying email: ",e)))(r.querySelector(".content"),o.bannerCTAVerification)})):(l.remove(),s.remove()),o.dismissable||n.remove(),o.useAlertIcon||a.remove(),r.classList.add("show"),n.addEventListener("click",()=>{u(),r.classList.remove("show")})}else r.remove()}});
}, {"1":1,"6":6,"12":12,"35":35,"40":40}];
window.modules["global-nav.client"] = [function(require,module,exports){"use strict";const dom=require(4),auth=require(12),signInButton=dom.find(".user-signin"),signOutButton=dom.find(".user-signout"),globalNav=dom.find('[class^="global-nav"]'),body=dom.find("body"),dropdownItems=dom.findAll(".dropdown-wrap"),gtm=require(1),appendLandingPageParams=require(135),pageUri=require(124).getPageUri(),subscriptionPromoLinks=dom.findAll(".persist-params"),searchString=window.location.search||"";function closeDropdowns(e){let n=globalNav.querySelectorAll(".dropdown.open");dropdownItems.forEach(function(t){let o=t.querySelector(".dropdown");!n||t.contains(e.target)&&27!==e.keyCode||o.classList.remove("open")})}function gtmSendReport(e,n,t){let o={eventCategory:"ecommerce",eventAction:"componentClick",brand:e,dimension23:"global-nav",list:pageUri,pageZone:"header",variant:"nav-link"};"global-nav-link"===t&&(o.eventLabel=n.href),gtm.reportNow(o)}function updateElementTargetUrlsIfQueryStrings(e){if(searchString){const n=new URLSearchParams(searchString);let t=e.href;if(t.includes("?")){const o=t.split("?"),i=new URLSearchParams(o[1]);for(let e of n.entries())i.set(e[0],e[1]);t=`${o[0]}?${i.toString()}`,e.href=t}else e.href=`${t}?${n.toString()}`}}function init(e){const n=e.querySelectorAll(".to-landing-page");window.addEventListener("auth:init",()=>{signInButton.addEventListener("click",function(e){e.preventDefault(),auth.showEmbeddedLoginFlow("top navigation")}),signOutButton.addEventListener("click",function(e){e.preventDefault(),gtmSendReport("Sign Out",e.target,"user-info-link"),auth.logout()}),auth.isAuthenticated()&&e.classList.add("signed-in"),auth.isSubscriber()&&e.classList.add("subscribed"),e.querySelectorAll(".user-link").forEach(e=>{e.classList.add("active")}),subscriptionPromoLinks.forEach(e=>{updateElementTargetUrlsIfQueryStrings(e)}),appendLandingPageParams(n)})}dropdownItems.forEach(function(e){e.addEventListener("click",function(){e.querySelector(".dropdown").classList.toggle("open")})}),body.addEventListener("click",closeDropdowns),document.addEventListener("keydown",closeDropdowns),globalNav.addEventListener("click",function(e){let n=e.target;n.classList.contains("global-nav-track")&>mSendReport(n.text,n,"global-nav-link")}),module.exports=init;
}, {"1":1,"4":4,"12":12,"124":124,"135":135}];
window.modules["aaa-module-mounting.legacy"] = [function(require,module,exports){"use strict";const _pickBy=require(221),_each=require(406),Fingerprint2=require(408),DS=require(407),Eventify=require(246);function registerGlobals(){window.DS=DS,window.Eventify=Eventify,window.Fingerprint2=Fingerprint2,DS.value("Eventify",Eventify),DS.value("Fingerprint2",Fingerprint2),DS.value("$document",window.document),DS.value("$window",window)}function mountDollarSliceComponents(){DS.service("components",["$document","$module",function(e,n){var o=_pickBy(n.definitions,e=>e.providerStrategy===n.providers.controller),r=Object.keys(o);function t(e){return o=>{try{n.get(e,o)}catch(e){logMountError(o,e)}}}_each(r,n=>{var o=e.querySelectorAll('[data-uri*="/_components/'+n+'/"]'),r=e.querySelectorAll('[data-uri$="/_components/'+n+'"]');_each(o,t(n)),_each(r,t(n))}),this.components=r}]),DS.get("components")}function logMountError(e,n){const o=e.outerHTML.slice(0,e.outerHTML.indexOf(e.innerHTML));console.error("Error attaching controller to "+o,n)}registerGlobals(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{mountDollarSliceComponents()}):mountDollarSliceComponents();
}, {"221":221,"246":246,"406":406,"407":407,"408":408}];
window.modules["ads.legacy"] = [function(require,module,exports){"use strict";const _map=require(118),_forEach=require(107),_isString=require(268),_intersectionWith=require(409),_isEqual=require(274),_each=require(406),_debounce=require(182),_sortBy=require(205),page=require(124),visit=require(114);DS.service("adService",["Eventify","$cid","$document","$window",function(e,t,a,i){var o,n,s,r,d,c,u,l,g={},p=this,h=[],f=visit.getQueryParamsObject(["utm_campaign"]),m=document.querySelector('script[data-type="ad-a9"]'),b=[],w=!1,v=[],y=document.querySelector('script[data-name="ad-doubleverify"]');document.querySelector('script[data-name="concert-ads"]')||(i.NYM={},i.NYM.analytics={},i.NYM.analytics.adStartTime=i.performance.now(),i.googletag=i.googletag||{},i.googletag.cmd=i.googletag.cmd||[],u=i.googletag,(m||y)&&(i.googletag.cmd=i.googletag.cmd||[],i.googletag.cmd.push(function(){i.googletag.pubads().disableInitialLoad()})),m&&(l=i.setInterval(function(){void 0!==window.apstag&&void 0!==window.apstag.timeout&&(i.clearInterval(l),window.apstag.cleared=!0,l=null)},10),setTimeout(function(){l&&(i.clearInterval(l),i.googletag.pubads().refresh(),window.apstag||console.log("MESSAGE: Timeout for A9 load exceeded, aborting"))},500)),y&&(b.push(new Promise(function(e){w?e():v.push(e)})),c=i.setTimeout(T,2500)),o=function(e){var t,a,o=e.data,n=[];return o.loaded?e:(o.loaded=!0,t=null,(t=o.sizes?u.defineSlot(o.name,o.sizes,o.id).addService(u.pubads()):u.defineOutOfPageSlot(o.name,o.id).addService(u.pubads())).setTargeting("adid",o.id),f.hasOwnProperty("utm_campaign")&&t.setTargeting("utmcamp",f.utm_campaign),a=p.getAdCount(o.label),t.setTargeting("label",o.label+"_"+o.site+"-"+a),u.display(o.id),u.pubads().addEventListener("slotOnload",function(){i.NYM.analytics.firstAdLoadTime||(i.NYM.analytics.firstAdLoadTime=i.performance.now(),i.NYM.analytics.firstAdLoadLabel=e.data.label)}),n=_(o),Promise.all(b).then(function(){n?window.apstag&&window.apstag.cleared?window.apstag.fetchBids({slots:[n],timeout:window.apstag.timeout},function(){u.cmd.push(function(){window.apstag.setDisplayBids(),u.pubads().refresh([t],{changeCorrelator:!1})})}):y&&u.pubads().refresh([t],{changeCorrelator:!1}):u.pubads().refresh([t],{changeCorrelator:!1})}),e.slot=t,e)},n=function(e){var a,i,o,n=t(),s=e.getAttribute("data-name"),r=e.getAttribute("data-sizes"),d=e.getAttribute("data-label"),c=e.getAttribute("data-site");n=e.id,r&&r.length?(r=r.split(","),a=[],_map(r,function(e){e=e.split("x"),i=parseInt(e[0]),o=parseInt(e[1]),a.push([i,o])})):(e.classList.add("oop"),a=!1),this.data={id:n,name:s,sizes:a,loaded:!1,label:d,site:c},g[n]=this},r=function(e){u.cmd.push(function(){var t=o(e);g[e.data.id]=t})},s=function(e){var t=[];e.slot?(t=_(e))&&window.apstag&&window.apstag.cleared&&window.apstag.fetchBids({slots:[t],timeout:window.apstag.timeout},function(){u.cmd.push(function(){window.apstag.setDisplayBids(),u.pubads().refresh([e.slot],{changeCorrelator:!1})})}):e&&r(e)},u.cmd.push(function(){var e,t,o,n=page.getMeta("article:tag"),s=page.getMeta("author"),r=i.location.href,d=(e=a.head.querySelector(".head-gtm"),t=a.body.querySelector(".gtm"),e&&"top"===e.getAttribute("data-gtm")?"gtmtop":t&&"bottom"===t.getAttribute("data-gtm")?"gtmbottom":"");o=[],_forEach([n,s,d],function(e){_forEach(e.split(","),function(e){(e=e.trim().toLowerCase().replace(/\s/g,"-").replace(/\'|\’/g,"")).length&&o.push(e)})}),u.pubads().setTargeting("kw",o),u.pubads().setTargeting("entry_group",o),r=r.slice(r.lastIndexOf("/")+1),u.pubads().setTargeting("pn",r),u.companionAds().setRefreshUnfilledSlots(!0),u.pubads().enableAsyncRendering(),u.enableServices()}),this.load=r,this.create=function(e){return new n(e)},this.refresh=function(e){var t;_isString(e)?(t=this.getById(e),s(t)):s(e)},this.remove=function(e){var t=e.data.id;a.getElementById(t).innerHTML=""},this.getAdCount=function(e){var t,a=0,i=Object.keys(g);return _each(i,function(i){(t=g[i]).data.loaded&&t.data.label===e&&a++}),a},this.getById=function(e){return g[e]},d=_debounce(function(){var e={TopLeaderboard:1,RightColTopMPU:2,outOfPage:99,"homepageTakeover/TopLeaderboard":1},t=_sortBy(h,function(t){return e[t.data.label]||10});_forEach(t,function(e){return e.data.sizes?r(e):i.setTimeout(function(){r(e)},2e3)}),y&&window.PQ.cmd.push(()=>{try{window.PQ.loadSignals(["ids","bsc","vlp"],T)}catch(e){T(),console.error(`There has been an error loading Double Verify signals: ${e}`)}}),h=[]},10),this.addToPageLoadQueue=function(e){h.push(e),d()});function _(e){var t,a=e.sizes;return a=_intersectionWith(a,[[970,250],[970,90],[728,90],[300,600],[300,250],[320,100],[320,50]],_isEqual),e.sizes&&e.sizes.length&&(t={slotID:e.id,sizes:a,slotName:e.label}),t}function T(){i.clearTimeout(c),w=!0,_forEach(v,function(e){e()})}}]);
}, {"107":107,"114":114,"118":118,"124":124,"182":182,"205":205,"268":268,"274":274,"406":406,"409":409}];
window.modules["cid.legacy"] = [function(require,module,exports){"use strict";DS.service("$cid",function(){var r=Math.floor(100*Math.random());return function(){return"cid-"+ ++r}});
}, {}];
window.modules["client.legacy"] = [function(require,module,exports){"use strict";require("cid.legacy"),require("ads.legacy"),require("facebook.legacy"),require("aaa-module-mounting.legacy");
}, {"cid.legacy":"cid.legacy","ads.legacy":"ads.legacy","facebook.legacy":"facebook.legacy","aaa-module-mounting.legacy":"aaa-module-mounting.legacy"}];
window.modules["facebook.legacy"] = [function(require,module,exports){"use strict";DS.service("facebook",[function(){this.fb=function(i){window.FB&&window.FB[i].apply(this,Array.prototype.slice.call(arguments,1))}}]);
}, {}];
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o typeof key === 'string' && key.match(/\.legacy$/)).forEach(key => window.require(key));
}
function tryToMount(fn, el, name) {
try {
fn(el); // init the controller
} catch (e) {
const elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML));
console.error(`Error initializing controller for "${name}" on "${elementTag}"`, e);
}
}
/**
* mount client.js component controllers
*/
function mountComponentModules() {
Object.keys(window.modules).filter(key => typeof key === 'string' && key.match(/\.client$/)).forEach(key => {
let controllerFn = window.require(key);
if (typeof controllerFn === 'function') {
const name = key.replace('.client', ''),
instancesSelector = `[data-uri*="_components/${name}/"]`,
defaultSelector = `[data-uri$="_components${name}"]`,
instances = document.querySelectorAll(instancesSelector),
defaults = document.querySelectorAll(defaultSelector);
for (let el of instances) {
tryToMount(controllerFn, el, name);
}
for (let el of defaults) {
tryToMount(controllerFn, el, name);
}
}
});
}
// Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies,
// services, or components that could require it
// note: the `` value is swapped for the actual environment variable in /lib/cmd/compile/scripts.js
window.process = window.process || {};
window.process.env = window.process.env || {};
if (!window.process.env.NODE_ENV) {
window.process.env.NODE_ENV = '';
}
// note: legacy controllers that require legacy services (e.g. dollar-slice) must
// wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted first
mountLegacyServices();
mountComponentModules();
// ]]