This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
--- | |
script: Fx.Flux.js | |
description: Defines Fx.Flux, class that allows all available Fx options to be set per-property (duration, transition, events etc.) | |
license: MIT-style | |
authors: | |
- Daniel Buchner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Element Listener Mixin | |
(function(){ | |
var setup = function(element){ | |
var listener = new Events, removeEvent = listener.removeEvent; | |
listener.removeEvent = function(key, value){ | |
removeEvent(key, value); | |
element.removeEvent(key, value); | |
}; | |
return listener; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Element Listener Mixin | |
(function(){ | |
var setup = function(element){ | |
var listener = new Events, | |
removeEvent = listener.removeEvent, | |
listener.guid = makeGuid(); | |
listener.removeEvent = function(key, value){ | |
removeEvent(key, value); | |
element.removeEvent(key, value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*<ltIE9>*/ | |
if (!window.addEventListener) (function(){ | |
var update = function(event){ | |
event.target.store('$change:last', { | |
type: event.type, | |
value: event.target.checked | |
}); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Facing financial duress, Bain Capital partner Mitt Romney was asked to rejoin and lead Bain & Co. as interim CEO. Bringing along two lieutenants from Bain Capital, Romney began a traveling campaign to rally employees at all Bain offices globally. Romney also negotiated a complex settlement between the Bain partnership and the firm's lenders, including a $10 million reduction in the $38 million Bain owed the Bank of New England, which by that time had been seized by the FDIC and placed in Chapter 7 liquidation. Romney was able to negotiate this reduction in the debt amount with the FDIC by threatening to use the remaining cash that Bain had on hand as bonuses for Bain executives. Bain & Company paid Bain Capital a fee of $4 million for Romney's services. To avoid the financial crisis that a buyout would have triggered, the group of founding partners agreed to return about $100M cash and forgive outstanding debt." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"packaged": false, | |
"certified": false, | |
"screen_size": ["small", "medium", "large"], | |
"input_types": ["pointer", "touch"], | |
"payments": { | |
"types": ["free", "subscription"], | |
"providers": ["bango", "paypal"] | |
}, | |
"web_apis": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** Method 1 ***/ | |
<element tagname="x-foo"> | |
<template> | |
<shadowroot> | |
<div>Baaar me matey!</div> | |
</shadowroot> | |
</template> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** Method 1 ***/ | |
<element tagname="x-foo"> | |
<template> | |
<shadowroot> | |
<div>Baaar me matey!</div> | |
</shadowroot> | |
</template> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** Method 1 ***/ | |
<element tagname="x-foo"> | |
<template> | |
<shadowroot> | |
<div>Baaar me matey!</div> | |
</shadowroot> | |
</template> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** Template-Bind Delegate Listener ***/ | |
<script> | |
document.addEventListener('bind', function(e){ | |
switch(e.target.template.id) { | |
case 'foo-template-1': | |
// Do some foo 1-ish stuff | |
break; | |
case 'foo-template-2': |
OlderNewer