The following test fails with the CSP build:
test.csp('event object is not passed if other params are present',
[html`
| /* InstantClick 3.1.0 | (C) 2014-2017 Alexandre Dieulot | http://instantclick.io/license */ | |
| var instantclick, | |
| InstantClick = (instantclick = (function(document, location, $userAgent) { | |
| // Internal variables | |
| var $currentLocationWithoutHash, | |
| $urlToPreload, | |
| $preloadTimer, | |
| $lastTouchTimestamp, | |
| $hasBeenInitialized, |
| /** | |
| * This module is used at providing an easy way to override material-ui | |
| * `shadows` properties. | |
| * material-ui expects the shadows to be following a certain pattern. | |
| * (source: https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/styles/shadows.js) | |
| * This file is a slight adaptation (for colours) of the above material-ui source file. | |
| * | |
| * This module exports a `createShadows(hexColor: string): Array<string>` method | |
| * that takes a hex color (presumably from the configuration) and returns an array | |
| * of the 25 possible shadows matching the 25 elevations in material-ui. |
| import toPairs from 'lodash/fp/toPairs'; | |
| import fromPairs from 'lodash/fp/fromPairs'; | |
| import sortBy from 'lodash/fp/sortBy'; | |
| import flow from 'lodash/fp/flow'; | |
| /** | |
| * Returns the object, sorted by the lexicographical order of its values | |
| * | |
| * Equivalent to | |
| * _(object).toPairs().sortBy(1).fromPairs().value() |
| # | |
| # Sets Prezto options. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <[email protected]> | |
| # | |
| # | |
| # General | |
| # |
| # | |
| # Initializes Prezto. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <[email protected]> | |
| # | |
| # | |
| # Version Check | |
| # |
| # Set reload key to r | |
| bind r source-file ~/.tmux.conf | |
| # use UTF8 | |
| set -g utf8 | |
| set-window-option -g utf8 on | |
| # set Ctrl-a as the default prefix key combination and unbind C-b to free it up | |
| set -g prefix C-a | |
| unbind C-b |
| """"""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " ___/PLUGINS\___ | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""" | |
| set nocompatible " be iMproved, required | |
| filetype plugin on " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " alternatively, pass a path where Vundle should install plugins |