code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/app/models/concerns/cartodb_central_synchronizable.rb b/app/models/concerns/cartodb_central_synchronizable.rb @@ -133,7 +133,7 @@ module Concerns
allowed_attributes = %i(seats viewer_seats display_name description website discus_shortname twitter_username
auth_username_password_enabled auth_google_enabled ... | 7 |
diff --git a/lib/taiko.js b/lib/taiko.js @@ -340,7 +340,7 @@ const _write = async (text,options) => {
*/
module.exports.attach = async (filepath, to) => {
validate();
- resolvedPath = filepath ? path.resolve(process.cwd(), filepath) : path.resolve(process.cwd());
+ let resolvedPath = filepath ? path.resolve(process.cwd... | 1 |
diff --git a/assets/sass/components/idea-hub/_googlesitekit-idea-hub-dashboard-ideas-widget.scss b/assets/sass/components/idea-hub/_googlesitekit-idea-hub-dashboard-ideas-widget.scss .googlesitekit-widget--ideaHubIdeas .googlesitekit-idea-hub__footer {
padding: 0;
+
+ .googlesitekit-idea-hub__footer--updated {
+ height... | 12 |
diff --git a/packages/viewer/src/defaultProps.ts b/packages/viewer/src/defaultProps.ts @@ -66,8 +66,14 @@ export default {
terrainProviderViewModels: Array as PropType<Array<Cesium.ProviderViewModel>>,
imageryProvider: Object as PropType<Cesium.ImageryProvider>,
terrainProvider: Object as PropType<Cesium.TerrainProvide... | 1 |
diff --git a/blocks/typed_blocks.js b/blocks/typed_blocks.js @@ -104,7 +104,6 @@ Blockly.Blocks['logic_ternary_typed'] = {
this.setColour(210);
var A = Blockly.TypeExpr.generateTypeVar();
this.appendValueInput('IF')
- .setCheck('Boolean')
.setTypeExpr(new Blockly.TypeExpr.BOOL())
.appendField('if')
this.appendValueInpu... | 2 |
diff --git a/lib/assets/core/javascripts/cartodb3/data/query-rows-collection.js b/lib/assets/core/javascripts/cartodb3/data/query-rows-collection.js @@ -46,7 +46,7 @@ module.exports = Backbone.Collection.extend({
},
_initBinds: function () {
- this.listenTo(this._querySchemaModel, 'change:status', this._onQuerySchemaCh... | 12 |
diff --git a/src/components/DatePicker/index.ios.js b/src/components/DatePicker/index.ios.js @@ -39,6 +39,8 @@ class DatePicker extends React.Component {
* @param {Event} event
*/
showPicker(event) {
+ this.initialValue = this.state.selectedDate;
+
// Opens the popover only after the keyboard is hidden to avoid a "blin... | 12 |
diff --git a/src/traces/scattergl/index.js b/src/traces/scattergl/index.js var createScatter = require('regl-scatter2d');
var createLine = require('regl-line2d');
-var createErrorX = require('regl-error2d');
-var createErrorY = require('regl-error2d');
+var createError = require('regl-error2d');
var cluster = require('... | 13 |
diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js @@ -100,6 +100,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
});
return;
}
+ if (error_message.indexOf('ttl expired') >= 0) // TOR error after wakeup from sleep
+ return;
console.log('stack', error_object.stac... | 8 |
diff --git a/guides/advanced_guides/known_limitations.md b/guides/advanced_guides/known_limitations.md @@ -11,7 +11,7 @@ Some of these limitations have been made by MeiliSearch developers for relevacy
MeiliSearch uses two databases: the first one for storage and the second one for updates.
On launch LMDB needs to know ... | 1 |
diff --git a/includes/Modules/Analytics/Advanced_Tracking/Measurement_Events/Measurement_Event.php b/includes/Modules/Analytics/Advanced_Tracking/Measurement_Events/Measurement_Event.php @@ -53,7 +53,6 @@ final class Measurement_Event implements \JsonSerializable {
private function validate_config( $config ) {
$valid_k... | 2 |
diff --git a/packages/bitcore-lib-doge/lib/networks.js b/packages/bitcore-lib-doge/lib/networks.js @@ -130,19 +130,19 @@ addNetwork({
name: 'livenet',
alias: 'mainnet',
pubkeyhash: 0x30,
- privatekey: 0xb0,
- scripthash: 0x32,
- xpubkey: 0x019da462,
- xprivkey: 0x019d9cfe,
+ privatekey: 0x9e,
+ scripthash: 0x16,
+ xpub... | 3 |
diff --git a/www/src/components/showcase-details.js b/www/src/components/showcase-details.js @@ -435,8 +435,8 @@ const ShowcaseDetails = ({ parent, data, isModal, categories }) => (
<div
css={{
position: `absolute`,
- right: gutter,
- top: gutter,
+ right: rhythm(3 / 4),
+ top: rhythm(-15 / 8),
left: `auto`,
zIndex: 1,... | 5 |
diff --git a/tests/end2end/helpers/E2ETopics.js b/tests/end2end/helpers/E2ETopics.js @@ -96,7 +96,7 @@ export class E2ETopics {
E2EGlobal.waitSomeTime();
if (subject) {
- browser.setValue('#id_subject', subject);
+ E2EGlobal.setValueSafe('#id_subject', subject);
}
if (responsible) {
E2ETopics.responsible2TopicEnterFree... | 7 |
diff --git a/test/basic.js b/test/basic.js @@ -130,7 +130,7 @@ describe('request', function() {
});
});
- it('should should be an Error object', done => {
+ it('should be an Error object', done => {
let calledErrorEvent = false;
request
.get(`${uri}/error`)
| 2 |
diff --git a/spec/models/map_spec.rb b/spec/models/map_spec.rb @@ -167,8 +167,8 @@ describe Map do
it 'checks max-min bounds' do
new_map = Map.create(user_id: @user.id, table_id: @table.id)
- max_value= :maxlon # 179
- min_value= :minlon # -179
+ max_value = :maxx # 179
+ min_value = :minx # -179
value1 = 5
value2 = 17... | 1 |
diff --git a/packages/gatsby-theme-apollo-docs/src/components/typescript-api-box.js b/packages/gatsby-theme-apollo-docs/src/components/typescript-api-box.js @@ -254,7 +254,9 @@ export class TypescriptApiBox extends Component {
}
if (declaration.indexSignature) {
- const signature = declaration.indexSignature[0];
+ cons... | 9 |
diff --git a/js/places/fullTextSearch.js b/js/places/fullTextSearch.js @@ -132,7 +132,13 @@ const stopWords = {
/* this is used in placesWorker.js when a history item is created */
function tokenize (string) {
- return string.trim().toLowerCase().replace(ignoredCharactersRegex, '').replace(nonLetterRegex, ' ').split(wh... | 2 |
diff --git a/src/components/home/Bubbles.js b/src/components/home/Bubbles.js @@ -106,7 +106,7 @@ LargeButton.link = LargeButton.withComponent(Link)
const Bubbles = ({ children }) => (
<Root justify="center" align="center" pt={3} px={[0, 3]}>
<Flex justify="space-around" wrap pt={2}>
- {shuffle([...range(92), ...range(9... | 7 |
diff --git a/src/components/selections/select.js b/src/components/selections/select.js @@ -538,6 +538,8 @@ function newPointNumTester(pointSelectionDef) {
* selection testers that were passed in list.
*/
function multiTester(list) {
+ if(!list.length) return;
+
var testers = [];
var xmin = isPointSelectionDef(list[0]) ... | 0 |
diff --git a/exampleSite/content/fragments/nav/docs.md b/exampleSite/content/fragments/nav/docs.md @@ -16,7 +16,7 @@ Use one instance of this fragment per page. Running more might lead to unexpecte
- .Site.Menus.main
- **Note:** Menus displayed in the nav fragment can be nested, in which case the nested menus are displ... | 2 |
diff --git a/accessibility-checker-extension/src/ts/styles/popup.scss b/accessibility-checker-extension/src/ts/styles/popup.scss .popupPanel {
width: 500px;
- margin: 26px;
+// margin-left: 26px;
+// margin-right: 26px;
+// margin-top: 26px;
+// margin-bottom: 24px;
+ margin: 26px 26px 24px 26px
}
.popupPanel a {
line-... | 2 |
diff --git a/OurUmbraco.Site/Views/Partials/Forum/TopicForm.cshtml b/OurUmbraco.Site/Views/Partials/Forum/TopicForm.cshtml <a href="#" data-topic="{{topicId}}" data-parent="{{id}}" data-controller="comment" class="forum-reply reply">
<i class="icon-Reply-arrow"></i><span>Reply</span>
</a>
-
+ {{#canManageComment}}
<a h... | 3 |
diff --git a/README.md b/README.md @@ -39,7 +39,6 @@ pg-promise
- [Tasks](#tasks)
- [Transactions](#transactions)
- [Nested Transactions](#nested-transactions)
- - [Synchronous Transactions](#synchronous-transactions)
- [Configurable Transactions](#configurable-transactions)
- [ES6 Generators](#es6-generators)
- [Libra... | 1 |
diff --git a/app/wallet.js b/app/wallet.js @@ -93,27 +93,18 @@ function setValueIfEmpty() {
function hideBalances() {
if (document.getElementById("hideZeroBalancesButton").textContent === "Hide Zero Balances") {
- for (let i = 0, j = 1; i < document.getElementById("walletList").childElementCount; i += 1) {
- if (docume... | 7 |
diff --git a/src/js/controllers/tab-scan.controller.js b/src/js/controllers/tab-scan.controller.js @@ -82,7 +82,7 @@ angular.module('copayApp.controllers').controller('tabScanController', function(
if(err){
$log.debug('Scan canceled.');
} else if ($state.params.passthroughMode) {
- $rootScope.scanResult = contents;
+ $... | 1 |
diff --git a/core/block_svg.js b/core/block_svg.js @@ -1136,6 +1136,13 @@ Blockly.BlockSvg.prototype.typeExprHasChanged = function() {
if (input.connection && input.connection.typeExprHasChanged()) {
return true;
}
+ for (var i = 0, field; field = input.fieldRow[i]; i++) {
+ if (field.referencesVariables() == Blockly.F... | 1 |
diff --git a/ui/page/settings/view.jsx b/ui/page/settings/view.jsx @@ -39,8 +39,7 @@ class SettingsPage extends React.PureComponent<Props> {
const { daemonSettings, isAuthenticated } = this.props;
const noDaemonSettings = !daemonSettings || Object.keys(daemonSettings).length === 0;
- const newStyle = true;
- return new... | 9 |
diff --git a/src/components/DashboardPage/index.js b/src/components/DashboardPage/index.js @@ -49,6 +49,8 @@ type Props = {
}
type State = {
+ accountsChunk: Array<any>,
+ allTransactions: Array<Object>,
fakeDatas: Array<any>,
selectedTime: string,
}
@@ -93,10 +95,21 @@ const getAllTransactions = accounts => {
return s... | 7 |
diff --git a/ts/core/run.ts b/ts/core/run.ts @@ -24,8 +24,11 @@ function run(schema: JsonSchema, container: Container) {
delete sub.$schema;
}
- if (typeof sub.$ref === 'string' && sub.$ref.indexOf('#/') === -1) {
- throw new Error('Only local references are allowed in sync mode.');
+ if (typeof sub.$ref === 'string') ... | 2 |
diff --git a/articles/quickstart/webapp/nodejs-ea/01-login.md b/articles/quickstart/webapp/nodejs-ea/01-login.md @@ -86,20 +86,13 @@ app.get('/', (req, res) => {
## Login and Logout
### Login
To log a user in you have 3 options:
-- Visiting the route `/login` route registered by the `express-oidc-connect.auth` middlewa... | 2 |
diff --git a/src/components/Identity/customerIds/createCustomerIds.js b/src/components/Identity/customerIds/createCustomerIds.js @@ -19,7 +19,7 @@ export default ({ eventManager, consent, logger }) => {
if (!hashedId) {
delete finalIds[idsToHash[index]];
logger.warn(
- `Unable to hash identity ${idsToHash[index]} due t... | 3 |
diff --git a/src/components/RestaurantSearch.js b/src/components/RestaurantSearch.js @@ -45,8 +45,8 @@ function RestaurantSearch(props) {
<TouchableNativeFeedback onPress={() => {
navigation.navigate('AccountAddresses', { action: 'search' })
}}>
- <Center>
- <Text fontSize={'md'} style={{
+ <Center px="2">
+ <Text font... | 7 |
diff --git a/src/og/index.js b/src/og/index.js @@ -51,6 +51,7 @@ import { wgs84 } from './ellipsoid/wgs84.js';
import { EmptyTerrain } from './terrain/EmptyTerrain.js';
import { GlobusTerrain } from './terrain/GlobusTerrain.js';
import { MapboxTerrain } from './terrain/MapboxTerrain.js';
+import { BilTerrain } from './... | 0 |
diff --git a/content/questions/object-clone-assign-mutation/index.md b/content/questions/object-clone-assign-mutation/index.md @@ -35,4 +35,4 @@ console.log(
<!-- explanation -->
-Setting `b = Object.assign({},a);` will perform a shallow copy of object `a`. Since `b` is a shallow copy, any fields in `b` that have of th... | 3 |
diff --git a/deploy/helm/magda-common/templates/_image.tpl b/deploy/helm/magda-common/templates/_image.tpl {{/*
Generating `imagePullSecrets` field (for a k8s deployment or pod etc.) based on:
- `.Values.image`: this config will always be considered.
- - `.Values.global.image.pullSecret`: Only used when `magdaModuleTyp... | 5 |
diff --git a/minutes/2018-05-15.md b/minutes/2018-05-15.md @@ -9,10 +9,10 @@ Planning board: https://github.com/nodejs/i18n/projects/1
- @zeke (GitHub on the Electron team, deals with i18n)
- @obensource (InVision Dev Advocate, CommComm)
- @RichardLitt (low resource language researcher)
-- @Vanessayuenn (Also on electr... | 7 |
diff --git a/articles/appliance/private-cloud-requirements.md b/articles/appliance/private-cloud-requirements.md @@ -24,6 +24,4 @@ If your subscription agreement includes an Appliance that is hosted in a dedicat
## Further Reading
-* [DNS](/appliance/infrastructure/dns)
-* [DNS Records](/appliance/infrastructure/networ... | 2 |
diff --git a/src/encoded/static/components/award.js b/src/encoded/static/components/award.js @@ -635,7 +635,7 @@ GenusButtons.defaultProps = {
selectedOrganisms: [],
};
-
+// Overall component to render the cumulative line graph
const ExperimentDate = (props) => {
const { experiments } = props;
let dateArray;
@@ -645,2... | 0 |
diff --git a/cli/cli.js b/cli/cli.js @@ -21,7 +21,7 @@ const chalk = require('chalk');
const didYouMean = require('didyoumean');
const packageJson = require('../package.json');
-const { CLI_NAME, initHelp, logger, toString, getCommand, getCommandOptions, addKebabCase, getArgs, done } = require('./utils');
+const { CLI_... | 2 |
diff --git a/test/util.mjs b/test/util.mjs @@ -50,16 +50,73 @@ export var failRej = function (x){
export var assertIsFuture = function (x){ return expect(x).to.be.an.instanceof(Future) };
export var assertEqual = function (a, b){
- var states = ['pending', 'rejected', 'resolved'];
- if(!(a instanceof Future && b instan... | 7 |
diff --git a/src/encoded/static/vis_defs/eCLIP_vis_def.json b/src/encoded/static/vis_defs/eCLIP_vis_def.json "tag": "SIGLR",
"visibility": "full",
"type": "bigWig",
- "viewLimits": "0:1",
+ "viewLimits": "-1:0",
"autoScale": "off",
- "negateValues": "on",
"maxHeightPixels": "64:18:8",
"windowingFunction": "mean+whisker... | 1 |
diff --git a/lib/routes/login-passport.js b/lib/routes/login-passport.js @@ -259,6 +259,15 @@ module.exports = function(crowi, app) {
`${response.name.givenName} ${response.name.familyName}`
)
.catch((err) => {
+ if (err.name === 'DuplicatedUsernameException') {
+ // get option
+ const isSameUsernameTreatedAsIdenticalU... | 9 |
diff --git a/src/components/Footer.js b/src/components/Footer.js @@ -45,7 +45,7 @@ const Footer = () => {
<div className='flex flex-col md:flex-row justify-center items-center'>
<label
className='text-blue-500 text-lg md:mr-6 font-semibold text-center md:text-left'
- htmlFor='email'
+ htmlFor='newsletter-email'
>
Sign ... | 10 |
diff --git a/src/components/AddressSearch.js b/src/components/AddressSearch.js @@ -23,7 +23,7 @@ const propTypes = {
value: PropTypes.string,
/** A callback function when the value of this field has changed */
- onChangeText: PropTypes.func.isRequired,
+ onChange: PropTypes.func.isRequired,
/** Customize the ExpensiTex... | 14 |
diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist <string>Your photos are used to create chat attachments.</string>
<key>UIAppFonts</key>
<array>
- <string>Expensify-New-Kansas-MediumItalic.otf</string>
- <string>Expensify-New-Kansas-Meduim.otf</string>
- <string>Expensify-Neue-Regular.otf</string>... | 4 |
diff --git a/generators/generator-constants.js b/generators/generator-constants.js @@ -33,7 +33,7 @@ const NPM_VERSION = commonPackageJson.devDependencies.npm;
const OPENAPI_GENERATOR_CLI_VERSION = '2.5.1';
// Libraries version
-const JHIPSTER_DEPENDENCIES_VERSION = '7.9.0';
+const JHIPSTER_DEPENDENCIES_VERSION = '7.9.... | 3 |
diff --git a/src/traces/violin/attributes.js b/src/traces/violin/attributes.js @@ -180,8 +180,10 @@ module.exports = {
role: 'style',
editType: 'style',
description: 'Sets the inner box plot bounding line width.'
- }
- }
+ },
+ editType: 'style'
+ },
+ editType: 'plot'
},
meanline: {
@@ -209,7 +211,8 @@ module.exports ... | 0 |
diff --git a/lib/collector/remote-method.js b/lib/collector/remote-method.js @@ -249,14 +249,12 @@ RemoteMethod.prototype._safeRequest = function _safeRequest(options) {
}
// If trace level is not explicitly enabled check to see if the audit log is
- // enabled. If the filter property is empty, then always log the even... | 1 |
diff --git a/package.json b/package.json "generate-cast-functions": "node ./scripts/generate-cast-functions.js",
"build": "npm run generate-cast-functions && rollup -c & parcel build ./example/*.html --out-dir ./example/bundle/ --public-url . --no-cache --no-source-maps --no-content-hash",
"test": "npm run generate-cas... | 0 |
diff --git a/src/matrix/calls/group/Member.ts b/src/matrix/calls/group/Member.ts @@ -343,64 +343,65 @@ export class Member {
/** @internal */
handleDeviceMessage(message: SignallingMessage<MGroupCallBase>, syncLog: ILogItem): void {
this.errorBoundary.try(() => {
+ syncLog.wrap({l: "Member.handleDeviceMessage", type: m... | 7 |
diff --git a/generators/server/templates/src/main/java/package/config/SecurityConfiguration.java.ejs b/generators/server/templates/src/main/java/package/config/SecurityConfiguration.java.ejs @@ -165,6 +165,9 @@ public class SecurityConfiguration {
// @formatter:off
http
.csrf()
+<%_ if (devDatabaseTypeH2Any) { _%>
+ .i... | 8 |
diff --git a/src/index.js b/src/index.js @@ -562,6 +562,10 @@ class Offline {
const contentTypesThatRequirePayloadParsing = ['application/json', 'application/vnd.api+json'];
if (contentTypesThatRequirePayloadParsing.includes(contentType)) {
try {
+ if (!request.payload || request.payload.length < 1) {
+ request.payload... | 12 |
diff --git a/app/shared/components/Rex/Lend/Manage.js b/app/shared/components/Rex/Lend/Manage.js @@ -25,8 +25,8 @@ class RexLendManage extends PureComponent<Props> {
actions.clearSystemState();
- actions.getTable('eosio', settings.account, 'rexbal');
- actions.getTable('eosio', settings.account, 'rexfund');
+ actions.g... | 4 |
diff --git a/src/components/NavigationTabBar.js b/src/components/NavigationTabBar.js // @flow
import React from "react";
-import { Animated, StyleSheet, View } from "react-native";
+import { Animated, StyleSheet, View, Text } from "react-native";
import type { TabScene, _TabBarBottomProps } from "react-navigation";
imp... | 2 |
diff --git a/src/userscript.ts b/src/userscript.ts @@ -21060,10 +21060,15 @@ var $$IMU_EXPORT$$;
};
var candidates_sorter = function(a, b) {
+ // thanks to robindz on github: https://github.com/qsniyg/maxurl/issues/1000
+ // https://www.instagram.com/p/B7AXLsplw6Y/
+ // https://www.instagram.com/p/B8BFW14Ffwz/
+ if (!a... | 7 |
diff --git a/generators/server/templates/src/main/java/package/config/SecurityConfiguration.java.ejs b/generators/server/templates/src/main/java/package/config/SecurityConfiguration.java.ejs @@ -334,8 +334,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
@Bean
JwtDecoder jwtDecoder() {
- N... | 4 |
diff --git a/src/components/screens/ChapterScreen/LanguageMenu/FrameworkMenu.js b/src/components/screens/ChapterScreen/LanguageMenu/FrameworkMenu.js @@ -218,34 +218,27 @@ const FrameworkMenu = ({
<TooltipMessage
title={`Available translations for the ${startCase(
framework
- )} version of the tutorial`}
- />
- </Item>
... | 3 |
diff --git a/src/geo/ui/search/search.js b/src/geo/ui/search/search.js @@ -77,33 +77,16 @@ var Search = View.extend({
},
_onResult: function (places) {
- var center;
var address = this.$('.js-textInput').val();
if (places && places.length > 0) {
var location = places[0];
- var validBBox = this._isBBoxValid(location);
-... | 8 |
diff --git a/token-metadata/0x82f39cD08A942f344CA7E7034461Cc88c2009199/metadata.json b/token-metadata/0x82f39cD08A942f344CA7E7034461Cc88c2009199/metadata.json "symbol": "AZBI",
"address": "0x82f39cD08A942f344CA7E7034461Cc88c2009199",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/lib/command.js b/lib/command.js @@ -46,7 +46,12 @@ async function apibCmd(input, cmd) {
async function jsonCmd(input, cmd) {
const result = await load(input);
- const data = JSON.stringify(result, null, 2);
+
+ if (!result) {
+ throw new Error(`ERROR: unable to parse input: ${input}`);
+ }
+
+ const data =... | 9 |
diff --git a/docs/articles/documentation/test-api/intercepting-http-requests/attaching-hooks-to-tests-and-fixtures.md b/docs/articles/documentation/test-api/intercepting-http-requests/attaching-hooks-to-tests-and-fixtures.md @@ -24,7 +24,7 @@ Parameter | Type | Description
--------- | ---- | ------------
`hooks` | Requ... | 0 |
diff --git a/src/lime/_internal/backend/html5/HTML5Application.hx b/src/lime/_internal/backend/html5/HTML5Application.hx @@ -23,11 +23,12 @@ import lime.ui.Window;
@:access(lime.ui.Window)
class HTML5Application
{
- private var gameDeviceCache = new Map<Int, GameDeviceData>();
private var accelerometer:Sensor;
private ... | 12 |
diff --git a/README.md b/README.md @@ -164,7 +164,7 @@ Following the steps in [this blog post](http://blog.apps.npr.org/2015/03/02/app-
You should only need to do this once.
-**NPR users:** The environment variables you need have already been generated, so you can skip the first step. Contact Alyson, David or Chris for... | 3 |
diff --git a/workshops/reinvent2019/readme.md b/workshops/reinvent2019/readme.md @@ -70,7 +70,14 @@ Important note: If you are attending re:Invent 2019, step 1 is already complete
Admin user password which you will need to perform. After the Content Designer UI Admin password is reset to something you know, you can
jum... | 3 |
diff --git a/src/backends/git-gateway/implementation.js b/src/backends/git-gateway/implementation.js @@ -55,9 +55,9 @@ export default class GitGateway extends GitHubBackend {
.then((token) => {
let validRole = true;
if (this.accept_roles && this.accept_roles.length > 0) {
+ const userRoles = get(jwtDecode(token), 'app_... | 1 |
diff --git a/modules/clipboard.js b/modules/clipboard.js @@ -153,9 +153,10 @@ class Clipboard extends Module {
select.parentNode.removeChild(select);
});
const div = this.quill.root.ownerDocument.createElement('div');
+ div.style.whiteSpace = 'pre-wrap';
div.appendChild(fragment);
e.clipboardData.setData('text/plain', ... | 9 |
diff --git a/src/components/App/index.js b/src/components/App/index.js @@ -59,7 +59,7 @@ function App(props) {
</StoryCard>
<StoryCard title="How Response Time Varies Across The City" collectionId="emergency-response" cardId="response-time-varies">
<p className="Description">
- How Response Time Varies Across The City ... | 2 |
diff --git a/templates/master/routes/bot/alexa.vm b/templates/master/routes/bot/alexa.vm "languageModel": {
"invocationName": "q and a",
"types": [
+ ## {
+ ## "name": "EXAMPLE_QUESTIONS",
+ ## "values": [
+ ## #foreach( $utterance in $utterances)
+ ## {"name":{
+ ## "value":"$utterance"
+ ## }}#if( $foreach.hasNext ),... | 3 |
diff --git a/lib/elastic_model/acts_as_elastic_model.rb b/lib/elastic_model/acts_as_elastic_model.rb @@ -181,7 +181,7 @@ module ActsAsElasticModel
end
end
- def result_to_will_paginate_collection(result, options)
+ def result_to_will_paginate_collection(result, options={})
try_and_try_again( PG::ConnectionBad, sleep: 2... | 1 |
diff --git a/articles/connections/passwordless/ios-magic-link.md b/articles/connections/passwordless/ios-magic-link.md @@ -25,8 +25,8 @@ iOS needs to know which domains your application handles. To configure this:
## Pass Callbacks to the Auth0 Lock Library
-:::panel-info
-If you've already implemented [Lock iOS](https... | 3 |
diff --git a/src/angular/projects/spark-core-angular/src/lib/components/sprk-footer/sprk-footer.component.spec.ts b/src/angular/projects/spark-core-angular/src/lib/components/sprk-footer/sprk-footer.component.spec.ts @@ -40,7 +40,7 @@ describe('SparkFooterComponent', () => {
component.additionalClasses = 'sprk-u-pam sp... | 3 |
diff --git a/README.md b/README.md @@ -111,7 +111,7 @@ The **#matrix** project has some environments that important to define.
ROOMS_SOURCE=ENVIRONMENT
-5. There is a config that define the rooms of The **#matrix**, if you prefer you can generate the unique id per room [here](https://www.uuidgenerator.net), to define t... | 7 |
diff --git a/src/injected/safe-globals-injected.js b/src/injected/safe-globals-injected.js @@ -33,7 +33,10 @@ export const isString = val => typeof val === 'string';
export const getOwnProp = (obj, key, defVal) => {
// obj may be a Proxy that throws in has() or its getter throws
try {
- if (hasOwnProperty(obj, key)) de... | 1 |
diff --git a/source/selection/SelectionController.js b/source/selection/SelectionController.js @@ -75,6 +75,12 @@ const SelectionController = Class({
return !!this._selectedStoreKeys[ storeKey ];
},
+ getSelectedRecords ( store ) {
+ return this.get( 'selectedStoreKeys' ).map(
+ storeKey => store.getRecordFromStoreKey(... | 0 |
diff --git a/macros/spells/greenFlameBlade.js b/macros/spells/greenFlameBlade.js const lastArg = args[args.length - 1];
// macro vars
-const sequencerFile = "jb2a.particles.outward.greenyellow.01.05";
-const sequencerScale = 1.5;
const damageType = "fire";
+const freeSequence = "jb2a.particles.outward.greenyellow.01.05... | 7 |
diff --git a/docs/content/examples/charts/column/Stacked.js b/docs/content/examples/charts/column/Stacked.js -import { HtmlElement, Grid, Repeater } from 'cx/widgets';
+import { HtmlElement, Grid, Repeater, Content, Tab } from 'cx/widgets';
import { Controller, KeySelection } from 'cx/ui';
import { Svg, Rectangle, Text... | 0 |
diff --git a/src/scss/components/_layout.scss b/src/scss/components/_layout.scss @@ -72,7 +72,11 @@ body,
}
.docs-o-Grid--three-col {
- grid-template-columns: repeat(auto-fit, minmax(310px, 425px));
+ grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
+
+ @media (min-width: $doc-site-mobile-breakpoint) {
+ g... | 3 |
diff --git a/assets/js/googlesitekit/data/create-existing-tag-store.test.js b/assets/js/googlesitekit/data/create-existing-tag-store.test.js @@ -53,14 +53,13 @@ describe( 'createExistingTagStore store', () => {
tagMatchers,
isValidTag: isValidPropertyID,
} );
- registry.registerStore( STORE_NAME, Data.combineStores(
+ ... | 12 |
diff --git a/src/og/control/ruler/Ruler.js b/src/og/control/ruler/Ruler.js @@ -34,7 +34,7 @@ class Ruler extends Control {
oninit() {
this._rulerScene.bindPlanet(this.planet);
this. createMenuBtn();
- btnClickHandler('ruler-menu-btn', null, null, '#ruler-menu-icon'); // btn_id, dialog_id, dialog_selector, icon_id
+ btn... | 1 |
diff --git a/Serene/Serene.Core/Serene.Core.csproj b/Serene/Serene.Core/Serene.Core.csproj <PreserveCompilationContext>true</PreserveCompilationContext>
<AssemblyName>Serene.Core</AssemblyName>
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
+ <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<DotNetSer... | 7 |
diff --git a/packages/app-project/stores/YourStats.js b/packages/app-project/stores/YourStats.js @@ -5,7 +5,7 @@ import { GraphQLClient } from 'graphql-request'
import asyncStates from '@zooniverse/async-states'
import { panoptes } from '@zooniverse/panoptes-js'
-export const statsClient = new GraphQLClient('https://st... | 4 |
diff --git a/src/client/styles/scss/_override-bootstrap-variables.scss b/src/client/styles/scss/_override-bootstrap-variables.scss @@ -27,6 +27,10 @@ $red: #ff0a54 !default;
//== Typography
//
+$gray-400: $gray-300;
+$gray-500: $gray-400;
+$gray-600: $gray-500;
+
//## Font, line-height, and color for body text, heading... | 14 |
diff --git a/lib/container.js b/lib/container.js @@ -8,7 +8,6 @@ const recorder = require('./recorder');
const event = require('./event');
const WorkerStorage = require('./workerStorage');
const store = require('./store');
-global.codecept_dir = global.codecept_dir || process.cwd();
let container = {
helpers: {},
| 13 |
diff --git a/codegens/swift/lib/swift.js b/codegens/swift/lib/swift.js @@ -14,6 +14,9 @@ var _ = require('./lodash'),
* @returns {String} request body in the desired format
*/
function parseRawBody (body, mode, trim) {
+ if (_.isEmpty(body)) {
+ return '';
+ }
var bodySnippet;
bodySnippet = `let parameters = ${sanitize... | 9 |
diff --git a/spec/models/asset_spec.rb b/spec/models/asset_spec.rb @@ -60,7 +60,7 @@ describe Asset do
end
def local_path(asset)
- local_url = asset.public_url.gsub(/http:\/\/#{CartoDB.account_host}\/uploads/,'')
+ local_url = asset.public_url.gsub(/\/uploads/,'')
Carto::Conf.new.public_uploaded_assets_path + local_url... | 1 |
diff --git a/app/shared/containers/Global/Blockchain/Dropdown.js b/app/shared/containers/Global/Blockchain/Dropdown.js @@ -21,9 +21,11 @@ class GlobalBlockchainDropdown extends Component<Props> {
render() {
const {
blockchains,
+ chainIds,
disabled,
fluid,
initialize,
+ onSelect,
selected,
selection,
settings,
@@ -58,6... | 11 |
diff --git a/app/controllers/copy_controller.js b/app/controllers/copy_controller.js @@ -113,6 +113,13 @@ function handleCopyTo (logger) {
})
.on('end', () => responseEnded = true);
+ pgstream.on('error', (err) => {
+ metrics.end(null, err);
+ pgstream.unpipe(res);
+
+ return next(err);
+ });
+
pgstream
.on('data', dat... | 9 |
diff --git a/hyperapp.d.ts b/hyperapp.d.ts @@ -10,7 +10,7 @@ export interface VNode<Attributes = {}> {
nodeName: string
attributes?: Attributes
children: Array<VNode | string>
- key: string
+ key: string | number
}
/** A Component is a function that returns a custom VNode or View.
| 7 |
diff --git a/UserReviewBanHelper.user.js b/UserReviewBanHelper.user.js // @description Display users' prior review bans in review, Insert review ban button in user review ban history page, Load ban form for user if user ID passed via hash
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-/... | 11 |
diff --git a/app/models/listed_taxon.rb b/app/models/listed_taxon.rb @@ -583,7 +583,7 @@ class ListedTaxon < ActiveRecord::Base
def self.earliest_and_latest_ids(options)
earliest_id = nil
latest_id = nil
- return [ nil, nil ] unless options[:filters]
+ return [ nil, nil, 0 ] unless options[:filters]
search_params = { f... | 5 |
diff --git a/docs/package.json b/docs/package.json "scripts": {
"dev": "npm run compile-css-js && jigsaw build",
"compile-css-js": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
- "watch-css": "chokidar 'tailwind.... | 1 |
diff --git a/src/public/common/search/Search.js b/src/public/common/search/Search.js @@ -26,7 +26,7 @@ const groupOptions = (searchData, inputValue) => {
},
{
label: 'Top Hit',
- options: searchData.topHit
+ options: searchData.topHit.hits[0]
? [
{
...searchData.topHit.hits[0],
| 9 |
diff --git a/token-metadata/0xBD6467a31899590474cE1e84F70594c53D628e46/metadata.json b/token-metadata/0xBD6467a31899590474cE1e84F70594c53D628e46/metadata.json "symbol": "KAI",
"address": "0xBD6467a31899590474cE1e84F70594c53D628e46",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/package-lock.json b/package-lock.json }
},
"tar": {
- "version": "6.1.8",
- "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.8.tgz",
- "integrity": "sha512-sb9b0cp855NbkMJcskdSYA7b11Q8JsX4qe4pyUAfHp+Y6jBjJeek2ZVlwEfWayshEIwlIzXx0Fain3QG9JPm2A==",
+ "version": "6.1.11",
+ "resolved": "https://registry.... | 3 |
diff --git a/layouts/partials/fragments/contact.html b/layouts/partials/fragments/contact.html </div>
<div class="row">
<div class="col-12">
- {{ if not $contact.posturl }}
- <form class="contact" action="https://formspree.io/{{ $contact.email }}" method="POST" name="sentMessage" id="{{ $contact.formName | default "con... | 0 |
diff --git a/server/tests/classes/jumpDrive.test.js b/server/tests/classes/jumpDrive.test.js // TODO: Figure out why we need import { Engine } what to do about it
-import { Engine } from '../../src/classes/engine';
+import { Engine } from "../../src/classes/engine";
import { System } from "../../src/classes/generic";
-... | 1 |
diff --git a/lib/assets/javascripts/unpoly/layer.coffee.erb b/lib/assets/javascripts/unpoly/layer.coffee.erb @@ -39,6 +39,7 @@ up.layer = do ->
targets: ['[up-content~=drawer]']
backdrop: true
position: 'left'
+ size: 'medium'
openAnimation: (layer) ->
switch layer.position
when 'left' then 'move-from-left'
@@ -50,9 +5... | 12 |
diff --git a/src/traces/violin/layout_attributes.js b/src/traces/violin/layout_attributes.js 'use strict';
var boxLayoutAttrs = require('../box/layout_attributes');
+var extendFlat = require('../../lib').extendFlat;
-// TODO update descriptions
module.exports = {
- violinmode: boxLayoutAttrs.boxmode,
- violingap: boxLa... | 3 |
diff --git a/assets/js/modules/analytics/datastore/accounts.test.js b/assets/js/modules/analytics/datastore/accounts.test.js @@ -288,8 +288,6 @@ describe( 'modules/analytics accounts', () => {
),
);
- // expect( matchedProperty ).toEqual( undefined );
-
expect( store.getState().matchedProperty ).toMatchObject( matchedP... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.