code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/packages/components/src/Slider/Slider.js b/packages/components/src/Slider/Slider.js import { connect } from '@wp-g2/context';
+import { contextConnect, useContextSystem } from '@wp-g2/context';
import { cx } from '@wp-g2/styles';
import { interpolate, noop, useControlledState } from '@wp-g2/utils';
-import... | 7 |
diff --git a/app/lib/zap/controller.js b/app/lib/zap/controller.js @@ -205,8 +205,11 @@ class ZapController {
// There was a problem accessing the macaroon file.
else if (
e.code === 'LND_GRPC_MACAROON_ERROR' ||
- e.message.includes('cannot determine data format of binary-encoded macaroon') ||
- e.message.includes('ver... | 1 |
diff --git a/lib/cartodb/controllers/map.js b/lib/cartodb/controllers/map.js @@ -329,7 +329,7 @@ function getTilejson(tiles, grids) {
}
MapController.prototype.setTilejsonMetadataToLayergroup = function () {
- return function augmentLayergroupDataMiddleware (req, res, next) {
+ return function augmentLayergroupTilejson... | 10 |
diff --git a/src/reducers/sign.js b/src/reducers/sign.js @@ -2,6 +2,7 @@ import { utils, transactions as transaction } from 'near-api-js'
import { handleActions } from 'redux-actions'
import BN from 'bn.js'
+import { parseTransactionsToSign, signAndSendTransactions, setSignTransactionStatus, selectAccount } from '../ac... | 9 |
diff --git a/server/util/wordembeddings.py b/server/util/wordembeddings.py @@ -10,7 +10,10 @@ def _server_url():
def google_news_2d(words):
+ try:
response = requests.post("{}/embeddings/2d.json".format(_server_url()),
data={'words[]': words,
'model': GOOGLE_NEWS_MODEL_NAME})
return response.json()['results']
+ except ... | 9 |
diff --git a/packages/budget/package.json b/packages/budget/package.json "react-router-redux": "^4.0.8",
"react-select": "^1.0.0-rc.3",
"react-sticky": "^5.0.8",
- "recharts": "^0.22.1",
"redux": "^3.6.0",
"redux-thunk": "^2.1.0",
"reselect": "^3.0.0",
| 2 |
diff --git a/versioned_docs/version-5.x/redux-integration.md b/versioned_docs/version-5.x/redux-integration.md @@ -11,7 +11,7 @@ import { Provider } from 'react-redux';
import { NavigationContainer } from '@react-navigation/native';
// Render the app container component with the provider around it
-export default class... | 1 |
diff --git a/lib/components/dropdown-item.vue b/lib/components/dropdown-item.vue <template>
<a :is="itemType"
- :class="[dropdown-item,{ disabled: disabled }]"
+ :class="['dropdown-item',{ disabled }]"
:to="to"
:href="hrefString"
:disabled="disabled"
tabindex="-1"
role="menuitem"
@click="click"
- ><slot></slot></a>
+ >... | 1 |
diff --git a/src/components/FormEdit.jsx b/src/components/FormEdit.jsx @@ -9,7 +9,13 @@ const reducer = (form, {type, value}) => {
const formCopy = _cloneDeep(form);
switch (type) {
case 'formChange':
- return {...form, ...value};
+ for (let prop in value) {
+ // eslint-disable-next-line no-prototype-builtins
+ if (val... | 1 |
diff --git a/runtime.js b/runtime.js @@ -828,6 +828,12 @@ runtime.loadFile = async (file, opts) => {
case 'iframe': {
return await _loadIframe(file, opts);
}
+ case 'mp3': {
+ throw new Error('audio not implemented');
+ }
+ case 'video': {
+ throw new Error('video not implemented');
+ }
}
};
| 0 |
diff --git a/src/pages/acquia.js b/src/pages/acquia.js @@ -53,7 +53,7 @@ export default () => {
p {
font-weight: ${weights.light};
}
- span {
+ div {
${mediaQueries.phoneLarge} {
display: flex;
}
@@ -80,7 +80,7 @@ export default () => {
Fewer conversations about development and more about how to improve
visitor engagem... | 14 |
diff --git a/src/page/courier/TasksPage.js b/src/page/courier/TasksPage.js @@ -288,6 +288,7 @@ class TasksPage extends Component {
zoomEnabled={true}
zoomControlEnabled={true}
showsUserLocation
+ showsMyLocationButton={ false }
loadingEnabled
loadingIndicatorColor={"#666666"}
loadingBackgroundColor={"#eeeeee"}
| 12 |
diff --git a/index.d.ts b/index.d.ts @@ -1246,8 +1246,8 @@ declare module 'mongoose' {
type ExtractQueryHelpers<M> = M extends Model<any, infer TQueryHelpers> ? TQueryHelpers : {};
type ExtractMethods<M> = M extends Model<any, any, infer TMethods> ? TMethods : {};
- type IndexDirection = 1 | -1;
- type IndexDefinition<... | 11 |
diff --git a/src/components/ApplicationGovernance/index.js b/src/components/ApplicationGovernance/index.js +/* eslint-disable jsx-a11y/label-has-for */
/* eslint-disable prettier/prettier */
import {
Alert,
@@ -77,7 +78,6 @@ export default class ApplicationGovernance extends PureComponent {
form.validateFields((err, va... | 1 |
diff --git a/packages/learn/src/introductions/front-end-libraries/redux/index.md b/packages/learn/src/introductions/front-end-libraries/redux/index.md @@ -5,6 +5,6 @@ superBlock: Front End Libraries
---
## Introduction to the Redux Challenges
-This introduction is a stub
+[Redux](https://redux.js.org/) is a predictable... | 7 |
diff --git a/docs/source/guides/core-concepts/cypress-in-a-nutshell.md b/docs/source/guides/core-concepts/cypress-in-a-nutshell.md @@ -76,6 +76,21 @@ In Cypress, the query is the same:
cy.get('.my-selector')
```
+In fact, Cypress wraps jQuery and exposes all of its DOM selection and traversal methods to you so you can ... | 0 |
diff --git a/messagestream.js b/messagestream.js @@ -30,7 +30,7 @@ class MessageStream extends Stream {
this.fd = null;
this.open_pending = false;
this.spool_dir = cfg.main.spool_dir || '/tmp';
- this.filename = this.spool_dir + '/' + id + '.eml';
+ this.filename = `${this.spool_dir}/${id}.eml`;
this.write_pending = fa... | 14 |
diff --git a/lib/assets/javascripts/dashboard/views/api-keys/api-keys-list-item.tpl b/lib/assets/javascripts/dashboard/views/api-keys/api-keys-list-item.tpl </button>
</p>
</section>
-<section>
+<ul class="u-flex">
+ <li>
<button class="CDB-Text CDB-Size-medium u-actionTextColor u-rSpace--m js-regenerate">Regenerate</b... | 4 |
diff --git a/assets/js/components/data.js b/assets/js/components/data.js @@ -63,13 +63,13 @@ const lazilySetupLocalCache = () => {
* Respects the current dateRange value, if set.
*
* @param {Object} originalRequest Data request object.
- * @param {string} dateRange Date range slug.
+ * @param {string} dateRange Default... | 3 |
diff --git a/README.md b/README.md @@ -40,7 +40,7 @@ If you'd rather stay with **Browserify**, check out **[LiveReactload](https://gi
## Known limitations
-- React Router v3 is not fully supported (e.g. async routes). If you want to get most of React Hot Loader, consider switching to [React Router v4](https://reacttrai... | 1 |
diff --git a/token-metadata/0x2e071D2966Aa7D8dECB1005885bA1977D6038A65/metadata.json b/token-metadata/0x2e071D2966Aa7D8dECB1005885bA1977D6038A65/metadata.json "symbol": "DICE",
"address": "0x2e071D2966Aa7D8dECB1005885bA1977D6038A65",
"decimals": 16,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/source/plugins/lines/index.mjs b/source/plugins/lines/index.mjs if (!Array.isArray(repository))
return
//Extract author
- const [contributor] = repository.filter(({author}) => context.mode === "repository" ? true : author.login === login)
+ const [contributor] = repository.filter(({author}) => context.mode... | 9 |
diff --git a/activities/EbookReader.activity/js/library.js b/activities/EbookReader.activity/js/library.js @@ -10,6 +10,7 @@ var LibraryItem = {
<h5 class="mt-0">{{title}}</h5>
{{author}}
</div>
+ <img v-if="image" v-bind:src="image" v-on:error="onImageError()" style="visibility:hidden;width:0px;height:0px;"/>
</div>
<... | 9 |
diff --git a/src/components/VaccinationsMap/VaccinationsMap.js b/src/components/VaccinationsMap/VaccinationsMap.js @@ -25,6 +25,7 @@ import { MapComponent } from "./MapComponent";
import type { ComponentType } from "react";
import * as constants from "./constants";
import { LocalAuthorityCard, SoaCard } from "./InfoCar... | 7 |
diff --git a/src/util/__tests__/__snapshots__/scrapUrls.js.snap b/src/util/__tests__/__snapshots__/scrapUrls.js.snap @@ -26,7 +26,7 @@ Array [
"id": "someUrl-2nd-fetch",
"summary": "Changed summary",
"title": "Changed title",
- "url": "http://example.com/article/1111-aaaaa-bbb-ccc",
+ "url": "http://example.com/article... | 3 |
diff --git a/src/docs/spec/prop-string.js b/src/docs/spec/prop-string.js @@ -30,8 +30,19 @@ const getPropString = propData => {
}
/*
- Case 3: Numbers
- Numbers are wrapped in in {}
+ Case 3: Array
+ Arrays should be wrapped in {}
+ Example: <Switch accessibleLabels={['ON', 'OFF']}>
+ */
+
+ if (propData[name].type.nam... | 9 |
diff --git a/index.js b/index.js @@ -45,7 +45,7 @@ function Option(flags, description) {
this.flags = flags;
this.required = flags.indexOf('<') >= 0;
this.optional = flags.indexOf('[') >= 0;
- this.bool = flags.indexOf('-no-') === -1;
+ this.negate = flags.indexOf('-no-') !== -1;
flags = flags.split(/[ ,|]+/);
if (flag... | 10 |
diff --git a/src/selectors/data.test.js b/src/selectors/data.test.js @@ -152,7 +152,6 @@ describe("resolveEvents", () => {
[eventC.id]: eventC
};
const references = [{ sys: { id: "missing" } }];
- // eventMap: Events references: FieldRef[]
const resolved = resolveEvents(eventMap, references);
expect(resolved).toEqual([... | 2 |
diff --git a/packages/mjml-core/src/helpers/mjmlconfig.js b/packages/mjml-core/src/helpers/mjmlconfig.js @@ -3,15 +3,6 @@ import fs from 'fs'
import { registerComponent } from '../components'
-export function resolveComponentPath(compPath, componentRootPath) {
- if (!compPath) {
- return null
- } else if (compPath.star... | 9 |
diff --git a/wwwroot/config.json b/wwwroot/config.json {
"initializationUrls": [
- "https://raw.githubusercontent.com/TerriaJS/saas-catalogs-public/main/nationalmap/dev.json"
+ "https://terria-catalogs-public.storage.googleapis.com/nationalmap/prod.json"
],
"parameters": {
"appName": "NationalMap",
"<a target=\"_blank\... | 14 |
diff --git a/src/samples/conference/README.md b/src/samples/conference/README.md @@ -5,5 +5,5 @@ How to run conference sample
2. Edit basicServer.js. Find `N.API.init`, replace service ID, service key and nuve URL with the correct values.
3. Copy your SSL server certificate to cert/certificate.pfx.
4. Run `initcert.js`... | 1 |
diff --git a/autoform-api.js b/autoform-api.js @@ -306,7 +306,8 @@ AutoForm.getFormValues = function autoFormGetFormValues(
template,
ss,
getModifier,
- clean = true
+ clean = true,
+ disabled = false
) {
var insertDoc, updateDoc, transforms;
@@ -368,7 +369,7 @@ AutoForm.getFormValues = function autoFormGetFormValues(
... | 11 |
diff --git a/cli/commands.js b/cli/commands.js @@ -68,11 +68,6 @@ This will compose jhipster:client, jhipster:server and jhipster:languages to sca
argument: ['jdlFiles...'],
cliOnly: true,
options: [
- {
- option: '--skip-install',
- desc: 'Do not automatically install dependencies',
- default: false,
- },
{
option: '-... | 2 |
diff --git a/gameplay/avalonRoom.js b/gameplay/avalonRoom.js @@ -633,6 +633,7 @@ module.exports = function(host_, roomId_, io_){
}
this.hostTryStartGame = function(options){
+ if(this.canJoin === false){
//check before starting
if(this.sockets.length < minPlayers){
//NEED AT LEAST FIVE PLAYERS, SHOW ERROR MESSAGE BACK
... | 1 |
diff --git a/ccxt.js b/ccxt.js @@ -11853,9 +11853,9 @@ var poloniex = {
async createOrder (market, type, side, amount, price = undefined, params = {}) {
await this.loadMarkets ();
let method = 'privatePost' + this.capitalize (side);
- let currencyPair = this.marketId (market);
+ let symbol = this.marketId (market);
let... | 1 |
diff --git a/assets/js/components/wp-dashboard/WPDashboardImpressions.js b/assets/js/components/wp-dashboard/WPDashboardImpressions.js /**
* WordPress dependencies
*/
-import { useEffect } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
/**
@@ -35,7 +34,7 @@ import { isZeroReport } from '../../modules/... | 2 |
diff --git a/app/models/formats/ogr/shp.js b/app/models/formats/ogr/shp.js @@ -34,6 +34,7 @@ ShpFormat.prototype.toSHP = function (options, callback) {
var fmtObj = this;
var zip = global.settings.zipCommand || 'zip';
+ var zipOptions = '-qrj';
var tmpdir = global.settings.tmpDir || '/tmp';
var reqKey = [ 'shp', dbname... | 7 |
diff --git a/components/landing/stats.js b/components/landing/stats.js @@ -45,16 +45,12 @@ class CoverageChart extends React.Component {
async fetchCoverageStats () {
const client = axios.create({baseURL: process.env.MEASUREMENTS_URL}) // eslint-disable-line
- const [countryCoverage, networkCoverage, runsByMonth] = awa... | 4 |
diff --git a/test/jasmine/tests/transform_sort_test.js b/test/jasmine/tests/transform_sort_test.js @@ -6,6 +6,7 @@ var d3 = require('d3');
var createGraphDiv = require('../assets/create_graph_div');
var destroyGraphDiv = require('../assets/destroy_graph_div');
var fail = require('../assets/fail_test');
+var mouseEvent ... | 0 |
diff --git a/src/core/Core.js b/src/core/Core.js @@ -190,7 +190,11 @@ class Uppy {
}
if (this.opts.autoProceed) {
- this.bus.emit('core:upload')
+ this.upload()
+ .catch((err) => {
+ console.error(err.stack || err.message)
+ })
+ // this.bus.emit('core:upload')
}
}
| 1 |
diff --git a/server/game/cards/01 - Core/ShinjoOutrider.js b/server/game/cards/01 - Core/ShinjoOutrider.js +const DrawCard = require('../../drawcard.js');
+
+class ShinjoOutrider extends DrawCard {
+ setupCardAbilities() {
+ this.action({
+ title: 'Move this character to conflict',
+ condition: () => this.game.currentC... | 2 |
diff --git a/packages/rekit-core/core/create.js b/packages/rekit-core/core/create.js @@ -24,7 +24,7 @@ function create(options) {
};
if (!options.type) options.type = 'rekit-react';
- const prjDir = path.join(process.cwd(), options.name);
+ const prjDir = path.join(options.position || process.cwd(), options.name);
retu... | 11 |
diff --git a/helm/raspberrymatic/templates/deployment.yaml b/helm/raspberrymatic/templates/deployment.yaml @@ -46,7 +46,14 @@ spec:
name: ccu-volume
- mountPath: /sys
name: sys
+ - mountPath: /lib/modules
+ name: modules
volumes:
+ - name: modules
+ hostPath:
+ path: /lib/modules
+ type: Directory
+ - name: ccu-volume
... | 1 |
diff --git a/lib/defaults/index.js b/lib/defaults/index.js @@ -4,7 +4,7 @@ var utils = require('../utils');
var normalizeHeaderName = require('../helpers/normalizeHeaderName');
var AxiosError = require('../core/AxiosError');
var transitionalDefaults = require('./transitional');
-var toFormData = require('./helpers/toFo... | 1 |
diff --git a/lib/assets/core/test/spec/cartodb3/dataset/dataset-content-view.spec.js b/lib/assets/core/test/spec/cartodb3/dataset/dataset-content-view.spec.js @@ -89,12 +89,6 @@ describe('dataset/dataset-content-view', function () {
expect(this.view.$('.Table').hasClass('is-disabled')).toBeTruthy();
expect(this.view.$(... | 2 |
diff --git a/test/blockchain.js b/test/blockchain.js @@ -30,7 +30,11 @@ describe('embark.Blockchain', function () {
vmdebug: false,
whisper: true,
account: {},
- bootnodes: ""
+ bootnodes: "",
+ wsApi: [ "eth", "web3", "net", "shh" ],
+ wsHost: "localhost",
+ wsOrigins: false,
+ wsPort: 8546
};
let blockchain = new Blo... | 3 |
diff --git a/test/validation_contracts.test.js b/test/validation_contracts.test.js @@ -2,6 +2,8 @@ var test = require('ava');
var definition = require("../definition");
var evalFormulaBB = require("../formula/index");
+var constants = require('../constants.js');
+constants.formulaUpgradeMci = 0;
var objValidationState ... | 12 |
diff --git a/src/components/modebar/buttons.js b/src/components/modebar/buttons.js @@ -641,7 +641,7 @@ function handleMapboxZoom(gd, ev) {
var val = button.getAttribute('data-val');
var fullLayout = gd._fullLayout;
var subplotIds = fullLayout._subplots.mapbox || [];
- var scalar = 1.3;
+ var scalar = 1.05;
var aObj = {... | 12 |
diff --git a/Sortable.js b/Sortable.js }
- function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvt, insertAfter) {
+ function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvt, willInsertAfter) {
var evt,
sortable = fromEl[expando],
onMoveFn = sortable.options.onMove,
... | 10 |
diff --git a/js/huobi.js b/js/huobi.js @@ -2243,8 +2243,12 @@ module.exports = class huobi extends Exchange {
* @returns {[object]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html#trade-structure}
*/
await this.loadMarkets ();
+ let market = undefined;
+ if (symbol !== undefined) {
+ mark... | 7 |
diff --git a/source/Overture/views/controls/RichTextView.js b/source/Overture/views/controls/RichTextView.js @@ -63,6 +63,7 @@ var RichTextView = NS.Class({
isFocussed: false,
isDisabled: false,
+ tabIndex: undefined,
allowTextSelection: true,
@@ -191,6 +192,7 @@ var RichTextView = NS.Class({
draw: function ( layer, El... | 0 |
diff --git a/app.rb b/app.rb @@ -71,7 +71,7 @@ end
get '/launches/upcoming' do
content_type :json
year = "upcoming"
- statement = DB.prepare("SELECT * FROM launch WHERE launch_year = ?", :cast_booleans => true)
+ statement = DB.prepare("SELECT * FROM launch WHERE launch_year = ?")
results = statement.execute(year)
hash... | 13 |
diff --git a/packages/node_modules/@node-red/nodes/core/storage/10-file.js b/packages/node_modules/@node-red/nodes/core/storage/10-file.js @@ -58,11 +58,6 @@ module.exports = function(RED) {
if(filename == "") { //was using empty value to denote msg.filename
node.filename = "filename";
node.filenameType = "msg";
- } el... | 2 |
diff --git a/src/encoded/static/components/filegallery.js b/src/encoded/static/components/filegallery.js @@ -1807,8 +1807,9 @@ class FileGalleryRendererComponent extends React.Component {
availableAssembliesAnnotations: collectAssembliesAnnotations(datasetFiles),
};
- /** used to see if related_files has been updated *... | 9 |
diff --git a/.eslintrc.js b/.eslintrc.js @@ -14,12 +14,7 @@ module.exports = {
},
rules: {
- 'guard-for-in': 'off',
- 'import/no-dynamic-require': 'off',
- 'key-spacing': 'off',
'no-restricted-syntax': 'off',
- 'one-var-declaration-per-line': ['error', 'always'],
- semi: ['error', 'always'],
strict: 'off',
// workaroun... | 2 |
diff --git a/token-metadata/0xa689DCEA8f7ad59fb213be4bc624ba5500458dC6/metadata.json b/token-metadata/0xa689DCEA8f7ad59fb213be4bc624ba5500458dC6/metadata.json "symbol": "EBASE",
"address": "0xa689DCEA8f7ad59fb213be4bc624ba5500458dC6",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/js/pages/incidence-rates/ir-manager.js b/js/pages/incidence-rates/ir-manager.js @@ -287,7 +287,7 @@ define([
onExecuteClick(sourceItem) {
IRAnalysisService.execute(this.selectedAnalysisId(), sourceItem.source.sourceKey)
.then(({data}) => {
- jobDetailsService.createJob(data);
+ JobDetailsService.createJob(... | 1 |
diff --git a/app/zwallet.js b/app/zwallet.js @@ -53,7 +53,7 @@ const withdrawButton = document.getElementById('withdrawButton');
const withdrawStatusTitleNode = document.getElementById('withdrawStatusTitle');
const withdrawStatusBodyNode = document.getElementById('withdrawStatusBody');
-const refreshTimeout = 60;
+cons... | 12 |
diff --git a/src/FormController.js b/src/FormController.js @@ -637,6 +637,28 @@ class FormController extends EventEmitter {
const { field: name, state } = field;
debug('Register ID:', id, 'Name:', name, state, 'Initial', initialRender);
+ // Example foo.bar.baz[3].baz >>>> foo.bar.baz[3]
+ const magicValue = name.slice... | 1 |
diff --git a/docs/content/widgets/TreeGrid.js b/docs/content/widgets/TreeGrid.js import { Controller, KeySelection, TreeAdapter } from 'cx/ui';
-import { Grid, TreeNode } from 'cx/widgets';
+import { Content, Grid, Tab, TreeNode } from 'cx/widgets';
import { ConfigTable } from '../../components/ConfigTable';
import { C... | 0 |
diff --git a/test/jasmine/tests/gl3dlayout_test.js b/test/jasmine/tests/gl3dlayout_test.js @@ -26,7 +26,9 @@ describe('Test gl3d axes defaults', function() {
};
beforeEach(function() {
- layoutOut = {};
+ layoutOut = {
+ axesconvertnumeric: true
+ };
});
it('should define specific default set with empty initial layout'... | 0 |
diff --git a/index.d.ts b/index.d.ts @@ -62,8 +62,8 @@ export interface AxiosRequestConfig {
onUploadProgress?: (progressEvent: ProgressEvent) => void;
onDownloadProgress?: (progressEvent: ProgressEvent) => void;
maxContentLength?: number;
+ validateStatus?: ((status: number) => boolean | null);
maxBodyLength?: number;... | 1 |
diff --git a/token-metadata/0xaa7FB1c8cE6F18d4fD4Aabb61A2193d4D441c54F/metadata.json b/token-metadata/0xaa7FB1c8cE6F18d4fD4Aabb61A2193d4D441c54F/metadata.json "symbol": "SHIT",
"address": "0xaa7FB1c8cE6F18d4fD4Aabb61A2193d4D441c54F",
"decimals": 6,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/encoded/audit/experiment.py b/src/encoded/audit/experiment.py @@ -2163,24 +2163,6 @@ def audit_experiment_documents(value, system, excluded_types):
return
-def audit_experiment_assay(value, system, excluded_types):
- '''
- Experiments should have assays with valid ontologies term ids and names that
- a... | 2 |
diff --git a/lib/assertions.js b/lib/assertions.js @@ -375,9 +375,7 @@ module.exports = expect => {
},
() => {
expect.fail({
- diff:
- !expect.flags.not &&
- ((output, diff, inspect, equal) => {
+ diff: (output, diff, inspect, equal) => {
output.inline = true;
const keyInValue = {};
@@ -431,7 +429,7 @@ module.exports =... | 2 |
diff --git a/packages/webpacker/src/plugins.js b/packages/webpacker/src/plugins.js import webpack from 'webpack';
-// import IsomorphicLoaderPlugin from 'isomorphic-loader/lib/webpack-plugin';
import AssetsPlugin from 'assets-webpack-plugin';
import autoprefixer from 'autoprefixer';
@@ -7,14 +6,11 @@ import { removeEmp... | 2 |
diff --git a/js/monogatari.js b/js/monogatari.js /* global particles */
/* global require */
/* global particlesJS */
+/* global pJSDom */
/* global Typed */
/* global scenes */
/* global script */
@@ -1581,6 +1582,26 @@ $_ready(function () {
analyseStatement(label[engine.Step]);
}
+ function stopParticles () {
+ try {... | 7 |
diff --git a/README.md b/README.md @@ -87,9 +87,9 @@ See the [Contribution](https://github.com/r-spacex/SpaceX-API/blob/master/CONTRI
## Technical Details
* API is using [Sinatra](http://www.sinatrarb.com/) web framework
* Uses [Travis CI](https://travis-ci.org/) for testing + deployment
-* All data stored as [MongoDB]... | 3 |
diff --git a/src/components/datatable/HeaderCell.js b/src/components/datatable/HeaderCell.js @@ -111,10 +111,15 @@ export class HeaderCell extends Component {
componentDidUpdate(prevProps) {
const prevColumnProps = prevProps.columnProps;
const columnProps = this.props.columnProps;
+ const filterField = columnProps.filt... | 7 |
diff --git a/src/components/minigraph.js b/src/components/minigraph.js @@ -12,7 +12,7 @@ function Minigraph(props) {
useEffect(()=>{
if (props.timeseries.length>1) {
- setTimeseries(props.timeseries.slice(props.timeseries.length-10, props.timeseries.length-1));
+ setTimeseries(props.timeseries.slice(props.timeseries.le... | 3 |
diff --git a/app/models/table.rb b/app/models/table.rb @@ -474,22 +474,6 @@ class Table
raise e
end
- def default_baselayer_for_user(user=nil)
- user ||= self.owner
- basemap = user.default_basemap
- if basemap['className'] === 'googlemaps'
- {
- kind: 'gmapsbase',
- options: basemap
- }
- else
- {
- kind: 'tiled',
- o... | 2 |
diff --git a/packages/component-library/src/BaseMap/BaseMap.js b/packages/component-library/src/BaseMap/BaseMap.js @@ -57,8 +57,7 @@ class BaseMap extends Component {
tooltipInfo: null,
x: null,
y: null,
- mounted: false,
- mapboxRef: null
+ mounted: false
};
this.mapRef = createRef();
}
@@ -86,11 +85,6 @@ class BaseMa... | 2 |
diff --git a/server/JsDbg.Core/WebServer.cs b/server/JsDbg.Core/WebServer.cs @@ -1301,7 +1301,13 @@ namespace JsDbg.Core {
}
private async void ServeAttachedProcesses(NameValueCollection query, Action<string> respond, Action fail) {
- uint[] processes = await this.debugger.GetAttachedProcesses();
+ uint[] processes;
+ ... | 9 |
diff --git a/src/DevChatter.Bot.Core/Events/CommandHandler.cs b/src/DevChatter.Bot.Core/Events/CommandHandler.cs @@ -15,16 +15,16 @@ public class CommandHandler : ICommandHandler
{
private readonly IRepository _repository;
private readonly ICommandUsageTracker _usageTracker;
- private readonly CommandList _commandMessa... | 1 |
diff --git a/mods/appmanager/src/appmanager.js b/mods/appmanager/src/appmanager.js * @author Pedro Sanders
* @since v1
*/
-const { appManagerService } = require('@yaps/core').client
+const { AbstractService } = require('@yaps/core')
+const { AppManager, grpc } = require('@yaps/core').client
+// const grpc = require('gr... | 7 |
diff --git a/src/apps.json b/src/apps.json "cats": [
16
],
- "html": "(?:<div[^>]+id=\"recaptcha_image|<link[^>]+recaptcha|document\\.getElementById\\('recaptcha')",
+ "html": [
+ "<div[^>]+id=\"recaptcha_image",
+ "<link[^>]+recaptcha",
+ "<div[^>]+class=\"g-recaptcha\""
+ ],
"icon": "reCAPTCHA.png",
"js": {
+ "Recapt... | 7 |
diff --git a/articles/node-firebase/index.md b/articles/node-firebase/index.md @@ -8,6 +8,8 @@ description: This is a short tutorial that shows how to use the firebase real-ti
author: linus-muema
date: 2020-08-13T00:00:00-13:00
topics: [Node.js]
+aliases:
+- "/engineering-education/articles/node-firebase/"
excerpt_sepa... | 12 |
diff --git a/travis/scripts/05-run.sh b/travis/scripts/05-run.sh @@ -65,6 +65,15 @@ if [[ "$JHIPSTER" == *"uaa"* ]]; then
./mvnw verify -DskipTests -P"$PROFILE"
fi
+#-------------------------------------------------------------------------------
+# Decrease Angular timeout for Protractor tests
+#-----------------------... | 12 |
diff --git a/blocks/variables_dynamic.js b/blocks/variables_dynamic.js @@ -102,11 +102,14 @@ Blockly.Constants.VariablesDynamic.CUSTOM_CONTEXT_MENU_VARIABLE_GETTER_SETTER_MI
}
var opposite_type;
var contextMenuMsg;
+ var varType;
if (this.type == 'variables_get_dynamic') {
opposite_type = 'variables_set_dynamic';
+ var... | 1 |
diff --git a/packages/insomnia-app/app/ui/components/wrapper-home.js b/packages/insomnia-app/app/ui/components/wrapper-home.js @@ -363,7 +363,18 @@ class WrapperHome extends React.PureComponent<Props, State> {
? apiSpec.modified
: workspaceModified;
- let log = <TimeFromNow timestamp={modifiedLocally} />;
+ // Span spe... | 3 |
diff --git a/src/resources/sprite.js b/src/resources/sprite.js @@ -38,9 +38,9 @@ pc.extend(pc, function () {
// copy it into asset.data and delete
asset.data.pixelsPerUnit = sprite.__data.pixelsPerUnit;
- asset.data.frames = sprite.__data.frames;
+ asset.data.frameKeys = sprite.__data.frameKeys;
- var atlas = assets.ge... | 10 |
diff --git a/src/lib/geo_location_utils.js b/src/lib/geo_location_utils.js @@ -326,18 +326,39 @@ function fetchTraceGeoData(calcData) {
}
PlotlyGeoAssets[url] = d;
- resolve(d);
+ return resolve(d);
});
});
}
+ function wait(url) {
+ return new Promise(function(resolve, reject) {
+ var cnt = 0;
+ var interval = setInte... | 1 |
diff --git a/components/app/pulse/layer-card/component.js b/components/app/pulse/layer-card/component.js @@ -11,7 +11,7 @@ import { LAYERS_PLANET_PULSE } from 'utils/layers/pulse_layers';
import Legend from 'components/app/pulse/Legend';
import DatasetWidgetChart from 'components/app/explore/DatasetWidgetChart';
import... | 4 |
diff --git a/package.json b/package.json "name": "find-and-replace",
"main": "./lib/find",
"description": "Find and replace within buffers and across the project.",
- "version": "0.215.14",
+ "version": "0.215.15",
"license": "MIT",
"activationCommands": {
"atom-workspace": [
| 6 |
diff --git a/src/scss/_dragdrop.scss b/src/scss/_dragdrop.scss .uppy-DragDrop-inner {
margin: 0;
text-align: center;
- padding: 80px 0;
+ padding: 80px 15px;
+ line-height: 1.4;
}
.uppy-DragDrop-arrow {
width: 60px;
height: 60px;
fill: lighten($color-gray, 30%);
- margin-bottom: 20px;
+ margin-bottom: 17px;
}
.uppy-Dra... | 0 |
diff --git a/articles/tutorials/removing-auth0-exporting-data.md b/articles/tutorials/removing-auth0-exporting-data.md @@ -6,7 +6,7 @@ description: How to export data out of Auth0.
All data in your Auth0 account is always under your control and is [available through the management API](/api/v2) at any time.
The only in... | 0 |
diff --git a/website_code/php/import/import.php b/website_code/php/import/import.php @@ -454,11 +454,28 @@ if (substr($_FILES['filenameuploaded']['name'], strlen($_FILES['filenameuploaded
foreach ($zip->compressedList as $x) {
- foreach ($x as $y) {
+ $y = $x['file_name'];
if (!(strpos($y, "media/") === false)) {
$stri... | 7 |
diff --git a/src/kiri-mode/cam/ops.js b/src/kiri-mode/cam/ops.js @@ -1160,7 +1160,7 @@ class OpPocket extends CamOp {
let vert = widget.getGeoVertices({ unroll: true, translate: true }).map(v => v.round(4));
// let vert = widget.getVertices().array.map(v => v.round(4));
let outline = [];
- let faces = CAM.surface_find(... | 3 |
diff --git a/src/components/upvote/view/upvoteView.tsx b/src/components/upvote/view/upvoteView.tsx @@ -407,6 +407,8 @@ const UpvoteView = ({
trackStyle={styles.track}
thumbStyle={styles.thumb}
thumbTintColor="#007ee5"
+ minimumValue={0.01}
+ maximumValue={1}
value={sliderValue}
onValueChange={(value) => {
setSliderValu... | 12 |
diff --git a/components/mapbox/ban-map/index.js b/components/mapbox/ban-map/index.js @@ -67,7 +67,7 @@ function BanMap({map, isSourceLoaded, popup, address, setSources, setLayers, onS
}
}, [address, isCenterControlDisabled, map])
- const hasVisibleRenderedFeatures = useCallback(() => {
+ const isAddressVisible = useCal... | 10 |
diff --git a/react/src/components/toggle/SprkToggle.js b/react/src/components/toggle/SprkToggle.js @@ -10,11 +10,8 @@ class SprkToggle extends Component {
constructor(props) {
super(props);
// TODO: Remove isDefaultOpen in issue #1296
- const { isDefaultOpen } = this.props;
- let { isOpen } = this.props;
- if (isDefaul... | 3 |
diff --git a/app/models/carto/user.rb b/app/models/carto/user.rb @@ -44,8 +44,7 @@ class Carto::User < ActiveRecord::Base
"users.viewer, users.quota_in_bytes, users.database_host, users.crypted_password, " \
"users.builder_enabled, users.private_tables_enabled, users.private_maps_enabled, " \
"users.org_admin, users.la... | 2 |
diff --git a/src/og/Globe.js b/src/og/Globe.js @@ -82,8 +82,13 @@ class Globe {
* @public
* @type {Element}
*/
+ if (options.target instanceof HTMLElement) {
+ this.div = options.target;
+ } else {
this.div =
document.getElementById(options.target) || document.querySelector(options.target);
+ }
+
this.div.appendChild(t... | 0 |
diff --git a/src/sdk/conference/conference.js b/src/sdk/conference/conference.js }
};
if (options.resolution) {
- mediaOptions.video.parameters = {};
+ mediaOptions.video.parameters = mediaOptions.video.parameters || {};
if (typeof options.resolution === 'string') {
mediaOptions.video.parameters.resolution = resolution... | 11 |
diff --git a/src/html.js b/src/html.js import React from "react"
import { TypographyStyle } from "react-typography"
-import Helmet from "react-helmet"
import typography from "./utils/typography"
@@ -15,7 +14,6 @@ if (process.env.NODE_ENV === `production`) {
export default class HTML extends React.Component {
render() {... | 2 |
diff --git a/js/kucoinfutures.js b/js/kucoinfutures.js @@ -242,12 +242,12 @@ module.exports = class kucoinfutures extends kucoin {
},
},
'networks': {
- 'ETH': 'eth',
+ // 'ETH': 'eth',
'ERC20': 'eth',
- 'TRX': 'trx',
- 'TRC20': 'trx',
- 'KCC': 'kcc',
- 'TERRA': 'luna',
+ // 'TRX': 'trx',
+ // 'TRC20': 'trx',
+ // 'KCC... | 1 |
diff --git a/microraiden/microraiden/channel_manager.py b/microraiden/microraiden/channel_manager.py @@ -352,6 +352,7 @@ class ChannelManager(gevent.Greenlet):
sender, open_block_number)
c.settle_timeout = settle_timeout
c.is_closed = True
+ c.mtime = time.time()
self.state.store()
def event_channel_settled(self, sende... | 12 |
diff --git a/userscript.user.js b/userscript.user.js @@ -9900,7 +9900,9 @@ var $$IMU_EXPORT$$;
if (domain_nosub === "daumcdn.net" && /^t[0-9]*\./.test(domain)) {
// http://t1.daumcdn.net/cafe_image/fancafe/2018/fancafe-cheer-color-bg.png
- if (/\/cafe_image\/+fancafe\/+[0-9]+\/+fancafe-cheer-color-bg\./.test(src)) {
+ ... | 7 |
diff --git a/server/game/cards/09.5-aCF/DaidojiKageyu.js b/server/game/cards/09.5-aCF/DaidojiKageyu.js @@ -4,7 +4,7 @@ const AbilityDsl = require('../../abilitydsl.js');
class DaidojiKageyu extends DrawCard {
setupCardAbilities() {
this.action({
- title: 'Bow and send a character home',
+ title: 'Draw cards',
condition... | 1 |
diff --git a/publish/deployed/mainnet/deployment.json b/publish/deployed/mainnet/deployment.json },
"StakingRewardsiBTC": {
"name": "StakingRewardsiBTC",
- "address": "0x32C9F03490A9F560EccC9f107e71560C1b0A2535",
+ "address": "0xDcdD9e45FA94cf50eCd3251dd8f8157B2D492DD9",
"source": "StakingRewardsiBTC",
"link": "https:/... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.