This file contains hidden or 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
Then the page should display either | |
| Cat | | |
| Dog | | |
| Mouse | |
This file contains hidden or 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
Then for each row, I should see some "FOOD" | |
| FOOD | | |
| Cheese | | |
| Carob Chips | |
This file contains hidden or 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
diff --git a/reducers/entities.js b/reducers/entities.js | |
index 3cf689d..764be35 100644 | |
--- a/reducers/entities.js | |
+++ b/reducers/entities.js | |
@@ -87,7 +87,10 @@ function storeVideos(state, { payload }) { | |
} | |
const normalShow = normalizeShow(payload, getRelationship(payload, video, 'show')); | |
newState[normalVideo.id] = normalVideo; | |
- newState[normalShow.id] = normalShow; | |
+ // VideoList may have stale Show entities, do not overwrite |
This file contains hidden or 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
diff --git a/applications/responsive/ShowPage/ShowPage.js b/applications/responsive/ShowPage/ShowPage.js | |
index af588ae..0adbee3 100644 | |
--- a/applications/responsive/ShowPage/ShowPage.js | |
+++ b/applications/responsive/ShowPage/ShowPage.js | |
@@ -13,7 +13,7 @@ import recordPageView from '../../../lib/recordPageView'; | |
import {isClassic, isTonightShowClassic} from '../../../lib/getShowType'; | |
import derivativeSrc from '../../../lib/derivativeSrc'; | |
import derivativeSrcSet from '../../../lib/derivativeSrcSet'; | |
-import {getRelationship} from '../../../utils/jsonAPIHelpers'; | |
+import {getRelationship, getRelationships, getDeepRelationship} from '../../../utils/jsonAPIHelpers'; |
This file contains hidden or 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
/** | |
* This script helps to artifically generate load on a web application through | |
* weighted requests to various endpoints. It may not be pretty, but it works | |
* for me. :) Feel free to use however you want. | |
* | |
* NOTE: Please use responsibly, don't run this script against a production server! | |
* | |
* @author Jordan Kasper (@jakerella) | |
* @license MIT | |
*/ |
This file contains hidden or 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
const {createStore} = require('redux'); | |
const mapValues = require('lodash/object/mapValues'); | |
const get = require('lodash/object/get'); | |
const initialState = (typeof window !== "undefined" && window.PRELOAD) || {}; | |
const reducers = {}; | |
function serializeable(value) { | |
return ( | |
value instanceof Error ? {error: value.stack} |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head></head> | |
<body> | |
<script> | |
function sendThemAlong(){ | |
var href = location.href; | |
if (!href.match("store_redirect=true")) { | |
var done = false; |
This file contains hidden or 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
`exiftool` fix dates | |
```sh | |
exiftool "-FileModifyDate<DateTimeOriginal" "-FileCreateDate<FileModifyDate" . | |
``` | |
`exiftool` commit | |
```sh | |
rm *._original | |
``` |
This file contains hidden or 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
# example 20150502_114929.jpg was taken on 2015-05-02 at 11:49:29 | |
for f in *.jpg; do t=$(echo $f | sed -E 's/20([0-9]{6})_([0-9]{6}).jpg/\1\2/'); done |
This file contains hidden or 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
diff --git a/docroot/profiles/publisher/modules/custom/pub_mpx/pub_mpx.module b/docroot/profiles/publisher/modules/custom/pub_mpx/pub_mpx.module | |
index 6b5441b..d973eda 100644 | |
--- a/docroot/profiles/publisher/modules/custom/pub_mpx/pub_mpx.module | |
+++ b/docroot/profiles/publisher/modules/custom/pub_mpx/pub_mpx.module | |
@@ -1957,7 +1957,7 @@ function pub_mpx_date_combo_process_alter(&$element, &$form_state, $context) { | |
if (!$mpx_value_overrides_enabled) { | |
- $element['#disabled'] = TRUE; | |
+ // $element['#disabled'] = TRUE; |
NewerOlder