code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/test/jasmine/tests/axes_test.js b/test/jasmine/tests/axes_test.js @@ -573,6 +573,119 @@ describe('Test axes', function() {
.toEqual(tinycolor.mix('#444', bgColor, frac).toRgbString());
});
+ it('should default to a dark color for tickfont when plotting background is light', function() {
+ layoutIn = {
+ pl... | 0 |
diff --git a/tests/e2e/specs/modules/analytics/setup-with-account-with-tag.test.js b/tests/e2e/specs/modules/analytics/setup-with-account-with-tag.test.js @@ -26,6 +26,7 @@ async function proceedToSetUpAnalytics() {
}
const EXISTING_PROPERTY_ID = 'UA-00000001-1';
+const EXISTING_ACCOUNT_ID = '100';
let getAccountsReque... | 3 |
diff --git a/iris/index.js b/iris/index.js @@ -61,30 +61,13 @@ import {
import { StaticRouter } from 'react-router';
import { createStore } from 'redux';
import { createLocalInterface } from 'apollo-local-query';
+import Helmet from 'react-helmet';
import { initStore } from '../src/store';
+const html = fs
+ .readFileS... | 4 |
diff --git a/src/libs/actions/Link.js b/src/libs/actions/Link.js import Onyx from 'react-native-onyx';
import lodashGet from 'lodash/get';
+import {Linking} from 'react-native';
import ONYXKEYS from '../../ONYXKEYS';
import Growl from '../Growl';
import * as Localize from '../Localize';
import CONST from '../../CONST';... | 4 |
diff --git a/app/lib/zooniverse-logging.js b/app/lib/zooniverse-logging.js -const enabledTokens = ['zooHome', 'zooTalk', 'zooniverse/gravity-spy', 'mschwamb/comet-hunters', 'zooniverse/snapshot-wisconsin'];
+const excludedProjects = []
class ZooniverseLogging {
constructor() {
@@ -27,7 +27,7 @@ class ZooniverseLogging ... | 11 |
diff --git a/site/maxlength.xml b/site/maxlength.xml @@ -61,7 +61,7 @@ limitations under the License.
By default messages will be dropped or dead-lettered from the front
of the queue to make room for new messages, once the limit is reached.
This behaviour can be changed by setting the <code>overflow</code>
- setting to... | 10 |
diff --git a/app/src/main/mockServer.js b/app/src/main/mockServer.js @@ -78,11 +78,12 @@ let randomCandidate = () => ({
module.exports = function (port = 8999) {
let app = express()
+ // TODO this lets the server timeout until there is an external request
// log all requests
- app.use((req, res, next) => {
- console.lo... | 1 |
diff --git a/remcomments.js b/remcomments.js @@ -2,11 +2,12 @@ const fs = require("fs");
function update() {
console.log("Updating...");
- var userscript = fs.readFileSync("userscript.user.js").toString();
+ var userscript = fs.readFileSync(process.argv[2] || "userscript.user.js").toString();
var lines = userscript.spl... | 7 |
diff --git a/lib/contracts/provider.js b/lib/contracts/provider.js @@ -78,7 +78,7 @@ class Provider {
if (!self.isDev) {
return callback();
}
- async.each(self.accounts, (account, eachCb) => {
+ async.eachLimit(self.accounts, 1, (account, eachCb) => {
fundAccount(self.web3, account.address, account.hexBalance, eachCb);... | 12 |
diff --git a/react/src/components/awards/SprkAward.js b/react/src/components/awards/SprkAward.js @@ -131,7 +131,7 @@ SprkAward.propTypes = {
element: PropTypes.oneOfType([
PropTypes.string,
PropTypes.func,
- PropTypes.element,
+ PropTypes.elementType,
]),
/** The image src. */
src: PropTypes.string.isRequired,
| 3 |
diff --git a/core/api/src/config/servers/web.ts b/core/api/src/config/servers/web.ts @@ -11,7 +11,9 @@ export const DEFAULT = {
serverOptions: {},
// Should we redirect all traffic to the first host in this array if hte request header doesn't match?
// i.e.: [ 'https://www.site.com' ]
- allowedRequestHosts: process.env... | 13 |
diff --git a/assets/js/modules/adsense/components/setup/SetupMain.js b/assets/js/modules/adsense/components/setup/SetupMain.js @@ -305,7 +305,7 @@ export default function SetupMain( { finishSetup } ) {
viewComponent = <SetupAccountApproved />;
break;
default:
- if ( alertsError ) {
+ if ( error ) {
viewComponent = <Err... | 14 |
diff --git a/react-redux-form.d.ts b/react-redux-form.d.ts @@ -226,7 +226,7 @@ export interface ControlProps<T> extends React.HTMLProps<T> {
/**
* Determines the value given the event (from onChange) and optionally the control component's props.
*/
- getValue?: (e: Event, props: any) => any;
+ getValue?: (e: ChangeEven... | 7 |
diff --git a/character-controller.js b/character-controller.js @@ -57,6 +57,7 @@ function loadPhysxCharacterController() {
const contactOffset = 0.1/heightFactor * avatarHeight;
const stepOffset = 0.5/heightFactor * avatarHeight;
const radius = 0.3/heightFactor * avatarHeight;
+ const height = avatarHeight - radius*2;
... | 0 |
diff --git a/src/global/css.js b/src/global/css.js @@ -46,6 +46,7 @@ function style () {
if ( doc && !styleElement ) {
styleElement = doc.createElement( 'style' );
styleElement.type = 'text/css';
+ styleElement.setAttribute( 'data-ractive-css', '' );
doc.getElementsByTagName( 'head' )[0].appendChild( styleElement );
| 12 |
diff --git a/userscript.user.js b/userscript.user.js @@ -36624,11 +36624,14 @@ var $$IMU_EXPORT$$;
// https://www.dbstatic.no/68267011.jpg?width=-1&height=-1 -- 1664x2500
domain_nowww === "dbstatic.no") {
// http://www.cdn.tv2.no/images?imageId=8999096&width=3000
+ // thanks to fedesk on discord
+ // https://www.cdn.tv... | 7 |
diff --git a/spec/support/redis.rb b/spec/support/redis.rb @@ -18,70 +18,10 @@ module CartoDB
end
class RedisTest
- REDIS_PID = "/tmp/redis-test.pid"
- REDIS_CACHE_PATH = "/tmp"
- REDIS_DB_NAME = "redis_test.rdb"
-
def self.down
- if ENV['REDIS_PORT']
- if File.file?("/tmp/redis-test-#{ENV['REDIS_PORT']}.tmp")
- puts "... | 2 |
diff --git a/lib/assets/javascripts/new-dashboard/components/Settings/Ordering.vue b/lib/assets/javascripts/new-dashboard/components/Settings/Ordering.vue <h6 class="text is-xsmall is-txtSoftGrey u-tupper letter-spacing">{{ $t('SettingsDropdown.orderMaps') }}</h6>
<ul class="list">
<li class="type text is-caption is-tx... | 2 |
diff --git a/test/jasmine/tests/gl3d_hover_click_test.js b/test/jasmine/tests/gl3d_hover_click_test.js @@ -550,7 +550,7 @@ describe('Test gl3d trace click/hover:', function() {
.then(done);
});
- it('@gl should display correct face colors', function(done) {
+ it('@noCI @gl should display correct face colors', function(... | 0 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-footer/sprk-footer.stories.ts b/angular/projects/spark-angular/src/lib/components/sprk-footer/sprk-footer.stories.ts @@ -128,7 +128,7 @@ export const defaultStory = () => ({
href: '/global-1',
icon: 'auto-loans',
iconCSS: 'sprk-c-Icon--xl sprk-c-Icon--... | 3 |
diff --git a/src/components/ChangeLogComponent/ChangeLogItem.js b/src/components/ChangeLogComponent/ChangeLogItem.js @@ -97,12 +97,11 @@ const Details: ComponentType = ({ data }) => {
export const ChangeLogType: ComponentType<*> = ({ type, standAlone=false, ...props }) => {
return <CategoryContainer standAlone={ standA... | 14 |
diff --git a/js/kraken.js b/js/kraken.js @@ -1408,9 +1408,10 @@ module.exports = class kraken extends Exchange {
async cancelOrder (id, symbol = undefined, params = {}) {
await this.loadMarkets ();
let response = undefined;
+ const clientOrderId = this.safeValue2 (params, 'userref', 'clientOrderId');
try {
response = a... | 11 |
diff --git a/generators/languages/templates/src/main/webapp/i18n/de/_health.json b/generators/languages/templates/src/main/webapp/i18n/de/_health.json "details": "Details",
"properties": "Properties",
"name": "Name",
- "value": "Value",
+ "value": "Wert",
"error": "Error"
},
"indicator": {
| 3 |
diff --git a/src/server/app.js b/src/server/app.js @@ -153,6 +153,7 @@ async.series([
saveUninitialized: true,
resave: false,
cookie: {
+ secure: true,
maxAge: config.server.security.cookieMaxAge
},
store: new MongoStore({
| 12 |
diff --git a/sparta.go b/sparta.go @@ -8,7 +8,6 @@ import (
"fmt"
"math/rand"
"os"
- "path/filepath"
"reflect"
"regexp"
"runtime"
@@ -17,7 +16,6 @@ import (
spartaCF "github.com/mweagle/Sparta/aws/cloudformation"
spartaIAM "github.com/mweagle/Sparta/aws/iam"
- "github.com/mweagle/Sparta/system"
gocc "github.com/mweagle... | 2 |
diff --git a/saiku-core/saiku-service/src/main/java/org/saiku/repository/MarkLogicRepositoryManager.java b/saiku-core/saiku-service/src/main/java/org/saiku/repository/MarkLogicRepositoryManager.java @@ -267,6 +267,14 @@ public class MarkLogicRepositoryManager implements IRepositoryManager {
RequestOptions options = new... | 14 |
diff --git a/sockets/sockets.js b/sockets/sockets.js @@ -1038,9 +1038,9 @@ var actionsObj = {
}
},
- mtestGame: {
- command: "mtestGame",
- help: "/mtestGame <number>: Add <number> bots to a test game and start it automatically.",
+ mtestgame: {
+ command: "mtestgame",
+ help: "/mtestgame <number>: Add <number> bots to... | 10 |
diff --git a/src/server/service/config-manager.js b/src/server/service/config-manager.js @@ -32,7 +32,7 @@ class ConfigManager {
debug('ConfigManager#loadConfigs', this.configObject);
// cache all config keys
- this.setConfigKeys();
+ this.reloadConfigKeys();
}
/**
@@ -112,7 +112,7 @@ class ConfigManager {
return keys;... | 10 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -11,7 +11,7 @@ import * as universe from './universe.js';
import {rigManager} from './rig.js';
import {buildMaterial} from './shaders.js';
import {teleportMeshes} from './teleport.js';
-import {appManager, renderer, scene, camera, dolly} from './app-object.js';
+i... | 0 |
diff --git a/assets/js/components/data/index.js b/assets/js/components/data/index.js @@ -77,14 +77,10 @@ const dataAPI = {
maxRequests: 10,
init() {
- global.googlesitekit.initialized = true;
- this.collectModuleData = this.collectModuleData.bind( this );
- global.googlesitekit.cache = [];
-
addAction(
'googlesitekit.m... | 2 |
diff --git a/package.json b/package.json "moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss)$": "identity-obj-proxy"
- }
+ },
+ "modulePathIgnorePatterns": [
+ "<rootDir>/templates/"
+ ]
},
"devDependencies": {
"@... | 8 |
diff --git a/test/browse.es b/test/browse.es @@ -10,7 +10,7 @@ const
module.exports = async function () {
const browser
- = puppeteer.launch ({ headless, executablePath: path })
+ = await puppeteer.launch ({ headless, executablePath: path })
return async function (url) {
console.warn ('Browsing to', url, await browser)... | 3 |
diff --git a/LICENSE.md b/LICENSE.md MIT License
-Copyright (c) 2021 Oleg Solomka
+Copyright (c) 2021 Oleg Solomka, Xavier Foucrier, Jonas Sandstedt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
| 0 |
diff --git a/articles/quickstart/native/cordova/download.md b/articles/quickstart/native/cordova/download.md +To run the sample follow these steps:
-To run the example you need [Node.JS LTS](https://nodejs.org/en/download/) installed, and follow these steps:
+1) Set the **Allowed Callback URLs** in the [Application Set... | 7 |
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,7 +6,7 @@ Before creating a pull request, please make sure:
- You have read the guide for contributing
- See https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- You signed all your commits (otherwise we w... | 14 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -115,28 +115,10 @@ jobs:
name: Docker Push
command: |
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
-
- #sudo apt-get -y install python3-pip wget
- #sudo pip3 install awscli
-
- #if [ -z "${AWS_REGION}" ]; then
- # AWS_REGION=us-west-2
- #fi
-
- #if [ "${CL... | 2 |
diff --git a/test/integration/offline.js b/test/integration/offline.js @@ -390,8 +390,9 @@ describe('Offline', () => {
method: 'GET',
url: '/fn1',
}, res => {
- expect(res.headers).to.have.property('set-cookie').which.contains('foo=bar');
- expect(res.headers).to.have.property('set-cookie').which.contains('floo=baz');
... | 1 |
diff --git a/js/webcomponents/bisweb_grapherelement.js b/js/webcomponents/bisweb_grapherelement.js @@ -264,82 +264,8 @@ class GrapherModule extends HTMLElement {
this.lastdata.numvoxels,
showVolume);
- let options = null;
- let d_type = '';
-
- if (numframes > 1 && showVolume === false) {
- options = {
- title: {
- dis... | 2 |
diff --git a/src/strategies/latency.js b/src/strategies/latency.js */
"use strict";
+const Promise = require("bluebird");
const _ = require("lodash");
const { random } = require("lodash");
@@ -48,7 +49,7 @@ class LatencyStrategy extends BaseStrategy {
this.brokerStopped = false;
- this.hostLatency = new Map();
+ this.h... | 7 |
diff --git a/aws/cloudformation/util.go b/aws/cloudformation/util.go @@ -997,7 +997,11 @@ func ConvergeStackState(serviceName string,
aws.StringValue(eachEvent.ResourceType),
aws.StringValue(eachEvent.LogicalResourceId),
aws.StringValue(eachEvent.ResourceStatusReason))
+ // Only append if the resource failed because so... | 8 |
diff --git a/site/plugins.json b/site/plugins.json "compatibility": [
{
"version": "1.1.5",
- "siteDependencies": {
- "next": "<10.0.6"
- }
+ "siteDependencies": { "next": "<10.0.6" }
}
]
},
| 13 |
diff --git a/src/shareManagement.js b/src/shareManagement.js @@ -200,10 +200,10 @@ class Shares {
let data = 'shares'
const send = {}
- if (path !== '' || (optionalParams && optionalParams.spaceRef)) {
- data += '?'
-
+ if (path !== '') {
send.path = this.helpers._normalizePath(path)
+ }
+
optionalParams = this.helpers... | 7 |
diff --git a/bin/name.js b/bin/name.js @@ -37,7 +37,7 @@ function run(stack,options={}){
}
var stackname=stack.replace('/','-')
var full=`${namespace}-${stackname}`
- var path=`["${namespace}"].["${stackname}"]`
+ var path=`["${config.profile}"].["${namespace}"].["${stackname}"]`
if(options.hasOwnProperty("set")){
incr... | 7 |
diff --git a/src/layers/core/grid-layer/grid-layer.js b/src/layers/core/grid-layer/grid-layer.js @@ -118,8 +118,7 @@ export default class GridLayer extends Layer {
latDelta: this.props.latDelta,
lngDelta: this.props.lngDelta,
opacity: this.props.opacity,
- viewMatrix,
- testScale: 80
+ viewMatrix
}, uniforms)});
}
| 2 |
diff --git a/generators/client/templates/react/src/test/javascript/jest.conf.js.ejs b/generators/client/templates/react/src/test/javascript/jest.conf.js.ejs @@ -7,5 +7,9 @@ module.exports = {
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
moduleNameMapper: {
'app/(.*)': '<rootDir>/src/main/webapp/app... | 8 |
diff --git a/README.md b/README.md @@ -262,14 +262,14 @@ const socket = new Pusher(APP_KEY, {
});
```
-Note: if you intend to use secure websockets, or `wss`, you can not simply specify `wss` in `enabledTransports`, you must specify `ws` in `enabledTransports` as well as set the `encrypted` option to `true`.
+Note: if ... | 14 |
diff --git a/examples/cdn-example/index.html b/examples/cdn-example/index.html const Dashboard = Uppy.Dashboard
const Webcam = Uppy.Webcam
const Tus = Uppy.Tus
- const Informer = Uppy.Informer
const uppy = Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, {
})
.use(Webcam, {target: Dashboard})
.use(Tus,... | 2 |
diff --git a/edit.js b/edit.js @@ -279,14 +279,16 @@ const _getPotentialIndex = (x, y, z, subparcelSize) => x + y*subparcelSize*subpa
let animals = [];
(async () => {
const animalsMeshes = await _loadGltf('./animals.glb');
- console.log('got animals', animalsMeshes);
- // const deers = animalsMeshes.getObjectByName('De... | 0 |
diff --git a/src/components/Menu/NestedList.js b/src/components/Menu/NestedList.js @@ -6,19 +6,9 @@ import ListItem, {style as listItemStyle} from './ListItem';
import {style as menuStyle} from './Menu';
import Radium from 'radium';
-const NestedList = React.createClass({
- propTypes: {
- pages: pagesShape.isRequired,
... | 14 |
diff --git a/assets/sass/components/settings/_googlesitekit-settings-notice.scss b/assets/sass/components/settings/_googlesitekit-settings-notice.scss .googlesitekit-settings-notice__text {
position: relative;
-
- &::before {
- background-position: center center;
- background-repeat: no-repeat;
- background-size: 2px 1... | 2 |
diff --git a/articles/quickstart/spa/_includes/_login_preamble.md b/articles/quickstart/spa/_includes/_login_preamble.md Use the hosted login page to provide a way for your users to log in to your ${library} application.
When the user logs in, Auth0 returns three items:
-* `access_token` - an access token
-* `id_token`... | 0 |
diff --git a/packages/light-electron/package.json b/packages/light-electron/package.json "lint": "semistandard 'src/**/*.js' --parser babel-eslint",
"package": "electron-builder",
"start": "electron-webpack dev --ui-dev --light --ws-origins all",
- "start-electron": "electron electron/ --ui-dev --light --ws-origins all... | 2 |
diff --git a/app/shared/actions/producers.js b/app/shared/actions/producers.js @@ -80,16 +80,22 @@ export function getProducers(previous = false) {
const votes = parseInt(producer.total_votes, 10);
const percent = votes / parseInt(current.total_producer_vote_weight, 10);
const isBackup = (backupMinimumPercent && percen... | 11 |
diff --git a/tools/platforms/WindowsPlatform.hx b/tools/platforms/WindowsPlatform.hx @@ -209,7 +209,7 @@ class WindowsPlatform extends PlatformTarget
{
var command = #if lime "lime" #else "hxp" #end;
- Log.info("You must define HL_PATH to copy HL dependencies: '" + command + " setup hl' first");
+ Log.error("You must d... | 7 |
diff --git a/react/src/base/inputs/HelperText.stories.js b/react/src/base/inputs/HelperText.stories.js @@ -3,8 +3,9 @@ import SprkTextInput from './SprkTextInput/SprkTextInput';
import SprkInput from './SprkInput/SprkInput';
import SprkLabel from './SprkLabel/SprkLabel';
import SprkInputContainer from './SprkInputConta... | 3 |
diff --git a/spec/models/carto/user_table_spec.rb b/spec/models/carto/user_table_spec.rb @@ -7,8 +7,6 @@ describe Carto::UserTable do
let(:user) { create(:carto_user) }
before(:all) do
- bypass_named_maps
-
@user = user
@carto_user = user
@user_table = Carto::UserTable.new
| 2 |
diff --git a/src/views/Send/SendNFT.vue b/src/views/Send/SendNFT.vue <div class="account-content mx-3">
<div>
<Accordion v-for="(assets, key) in nftCollection" :key="assets.id">
- <h3 slot="header" id="nft-asset-header">{{ key }} ({{ assets.length }})</h3>
+ <h3 slot="header" id="nft-asset-header">
+ {{ nftCollectionNa... | 3 |
diff --git a/stories/module-analytics-components.stories.js b/stories/module-analytics-components.stories.js @@ -85,141 +85,36 @@ generateReportBasedWidgetStories( {
moduleSlugs: [ 'analytics' ],
datastore: STORE_NAME,
group: 'Analytics Module/Components/Page Dashboard/All Traffic Widget',
+ referenceDate: '2021-01-06'... | 1 |
diff --git a/public/javascripts/Gallery/css/cards.css b/public/javascripts/Gallery/css/cards.css @@ -92,7 +92,7 @@ with respect to the image holder. This allows the validation menu to be placed o
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
-.card-info:hover {
+.gallery-card:hover > .card-info {... | 1 |
diff --git a/docs/source/platform/schema-validation.md b/docs/source/platform/schema-validation.md @@ -7,7 +7,7 @@ As GraphQL scales within an organization, it's important in schema evolution to
As such, schema change validation is one of the cornerstones of the [Apollo Platform](/docs/intro/platform.html) and we've bu... | 14 |
diff --git a/bl-kernel/admin/themes/booty/html/navbar.php b/bl-kernel/admin/themes/booty/html/navbar.php <a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'content' ?>">
<?php $L->p('Content') ?></a>
</li>
+ <?php if (!checkRole(array('admin'),false)): ?>
+ <li class="nav-item">
+ <a class="nav-link" href="<?ph... | 2 |
diff --git a/benchmarks/dbmon/scripts.js b/benchmarks/dbmon/scripts.js @@ -9,13 +9,11 @@ perfMonitor.startFPSMonitor();
perfMonitor.startMemMonitor();
perfMonitor.initProfiler("render");
-function run() {
- app.set("databases", ENV.generateData().toArray());
+var run = function() {
perfMonitor.startProfile("render");
-... | 7 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -40,6 +40,8 @@ const localEuler = new THREE.Euler();
const localEuler2 = new THREE.Euler();
const localMatrix = new THREE.Matrix4();
+const y180Quaternion = new THREE.Quaternion().setFromAxisAngle(new THREE.Vector3(0, 1, 0), Math.PI);
+
VRMSpringBoneImporter.proto... | 0 |
diff --git a/articles/tutorials/generic-oauth2-connection-examples.md b/articles/tutorials/generic-oauth2-connection-examples.md @@ -125,19 +125,24 @@ After the call completes successfully, you will be able to login using these new
* [Create an application](http://www.twitch.tv/kraken/oauth2/clients/new)
* Copy `Client... | 0 |
diff --git a/src/client/js/components/PageEditor/LinkEditModal.jsx b/src/client/js/components/PageEditor/LinkEditModal.jsx @@ -75,6 +75,10 @@ class LinkEditModal extends React.PureComponent {
labelInputValue: label,
linkInputValue: link,
linkerType: type,
+ isUseRelativePath: false,
+ isUsePermanentLink: false,
+ markd... | 12 |
diff --git a/app/pages/collections/collection-card.jsx b/app/pages/collections/collection-card.jsx import PropTypes from 'prop-types';
import React from 'react';
import FlexibleLink from '../../components/flexible-link';
+import Thumbnail from '../../components/thumbnail'
export default class CollectionCard extends Rea... | 4 |
diff --git a/src/redux/Restaurant/reducers.js b/src/redux/Restaurant/reducers.js @@ -399,10 +399,22 @@ export default (state = initialState, action = {}) => {
switch (name) {
case 'order:created':
+ case 'order:accepted':
+ case 'order:cancelled':
+
+ // FIXME
+ // Fix this on API side
+ let newOrder = { ...data.order ... | 9 |
diff --git a/src/apps.json b/src/apps.json ],
"env": "^gerrit_",
"html": [
- ">Gerrit Code Review</a>\\s*\"\\s*\\(([0-9.])\\)\\;version:\\1",
+ ">Gerrit Code Review</a>\\s*\"\\s*\\(([0-9.]+)\\)\\;version:\\1",
"<(?:div|style) id=\"gerrit_"
],
"icon": "gerrit.svg",
| 1 |
diff --git a/website/site/data/updates.yml b/website/site/data/updates.yml updates:
+ - date: '2018-07-21'
+ description: Fix multipart extension support for GitLab
+ version: 1.9.4
- date: '2018-07-03'
description: Fix numbers in TOML output.
version: 1.9.3
| 3 |
diff --git a/components/button-stateful/index.jsx b/components/button-stateful/index.jsx @@ -164,7 +164,9 @@ class ButtonStateful extends React.Component {
handleClick = (e) => {
if (isFunction(this.props.onClick)) this.props.onClick(e);
if (typeof this.props.active !== 'boolean') {
- this.setState({ active: !this.stat... | 3 |
diff --git a/src/components/play-mode/hotbar/Hotbar.jsx b/src/components/play-mode/hotbar/Hotbar.jsx @@ -22,6 +22,46 @@ const fullscreenFragmentShader = `\
uniform float uSelectFactor;
varying vec2 vUv;
+ //---------------------------------------------------------------------------
+ //1D Perlin noise implementation
+ ... | 0 |
diff --git a/bin/enforcers/Parameter.js b/bin/enforcers/Parameter.js const EnforcerRef = require('../enforcer-ref');
const Exception = require('../exception');
const Result = require('../result');
+const Value = require('../value');
const rxFalse = /^false/i;
const rxTrue = /^true$/i;
@@ -272,9 +273,7 @@ module.exports... | 1 |
diff --git a/src/immer.js.flow b/src/immer.js.flow +// @flow
+
declare export function extendShallowObservable(target: any): any
/**
@@ -12,21 +14,21 @@ declare export function extendShallowObservable(target: any): any
* @param thunk - function that receives a proxy of the current state as first argument and which can ... | 7 |
diff --git a/.github/workflows/deployRelease.yml b/.github/workflows/deployRelease.yml @@ -53,18 +53,6 @@ jobs:
path: |
./dist/alloy.js
./dist/alloy.min.js
- createTestBranch:
- name: Create test branch from release tag
- runs-on: ubuntu-latest
- needs: release
- steps:
- - uses: gagle/package-version@v1
- id: package-... | 2 |
diff --git a/.travis.yml b/.travis.yml @@ -29,24 +29,25 @@ matrix:
env: BROWSER=chrome
addons:
chrome: stable
+ - name: "Firefox Stable"
+ env: BROWSER=firefox
+ addons:
+ firefox: latest
+ allow_failures:
- name: "Chrome Beta"
env: BROWSER=chrome
addons:
chrome: beta
+ - name: "Firefox Beta"
+ env: BROWSER=firefox
+ a... | 11 |
diff --git a/generators/client/templates/angular/src/main/webapp/app/shared/login/login.component.html.ejs b/generators/client/templates/angular/src/main/webapp/app/shared/login/login.component.html.ejs <input type="password" class="form-control" name="password" id="password" placeholder="{{'login.form.password.placeho... | 2 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/task/TaskContainer.js b/public/javascripts/SVLabel/src/SVLabel/task/TaskContainer.js @@ -178,7 +178,6 @@ function TaskContainer (navigationModel, neighborhoodModel, streetViewService, s
success: function (result) {
var task;
console.log("Number of tasks received: " + ... | 1 |
diff --git a/extensions/README.md b/extensions/README.md @@ -19,6 +19,8 @@ STAC specification defines only a minimal core, but is designed for extension. I
implementations will use several 'extensions' to fully describe their data. This document describes how extensions
work, and links to the 'core' extensions included... | 0 |
diff --git a/lib/tasks/user_migrator.rake b/lib/tasks/user_migrator.rake @@ -25,7 +25,7 @@ namespace :cartodb do
puts "Export finished with status #{ume.state}"
if ume.state == Carto::UserMigrationExport::STATE_COMPLETE
import_params = {
- org_import: true,
+ org_import: ume.organization.present?,
import_metadata: true... | 12 |
diff --git a/Source/Scene/DebugCameraPrimitive.js b/Source/Scene/DebugCameraPrimitive.js @@ -105,7 +105,7 @@ define([
}
var scratchColor = new Color();
-
+ var scratchSplits = [1.0, 100000.0];
/**
* @private
*/
@@ -128,6 +128,12 @@ define([
var frustumSplits = frameState.frustumSplits;
var numFrustums = frustumSplits.l... | 4 |
diff --git a/docs/components/CodeSnippet.scss b/docs/components/CodeSnippet.scss .dxb-codesnippet {
position: relative;
padding: 3px 5px;
+ background: #494949;
pre {
background: transparent !important;
}
}
+.dxe-codesplit-right .dxb-codesnippet {
+ background: transparent;
+}
+
.dxe-codesplit-right .cxb-tab.cxm-code {... | 12 |
diff --git a/src/components/DisplayInput.js b/src/components/DisplayInput.js @@ -28,7 +28,9 @@ class DisplayInput extends React.Component {
};
static defaultProps = {
- elementProps: {},
+ elementProps: {
+ type: 'text'
+ },
isFocused: false,
primaryColor: StyleConstants.Colors.PRIMARY,
valid: true
@@ -88,6 +90,7 @@ cl... | 12 |
diff --git a/src/Tracker.js b/src/Tracker.js @@ -23,20 +23,18 @@ class Tracker {
this.shardId = shardId;
this.shardCount = shardCount;
if (carbonToken) {
- setInterval(() => this.updateCarbonitex(this.client.guilds.length), updateInterval);
+ setInterval(() => this.updateCarbonitex(this.client.guilds.size), updateInter... | 3 |
diff --git a/lib/tests/run_tests.js b/lib/tests/run_tests.js @@ -139,7 +139,7 @@ module.exports = {
console.log(`Coverage report created. You can find it here: ${fs.dappPath('coverage/index.html')}\n`);
const opn = require('opn');
const _next = () => { next(); };
- opn(fs.dappPath('coverage/index.html'), {wait: false})... | 7 |
diff --git a/server/game/cards/locations/06/scorchingdeserts.js b/server/game/cards/locations/06/scorchingdeserts.js @@ -12,12 +12,11 @@ class ScorchingDeserts extends DrawCard {
ability.costs.sacrificeSelf()
],
target: {
- activePromptTitle: 'Select a character',
- cardCondition: card => (
+ cardCondition: (card, cont... | 11 |
diff --git a/spec/models/geocoding_spec.rb b/spec/models/geocoding_spec.rb @@ -264,13 +264,17 @@ describe Geocoding do
end
it 'returns the used credits when the user is over geocoding quota' do
+ user_geocoder_metrics = CartoDB::GeocoderUsageMetrics.new(@user.username, nil)
geocoding = FactoryGirl.create(:geocoding, us... | 1 |
diff --git a/content/concepts/did-ddo.md b/content/concepts/did-ddo.md @@ -25,16 +25,7 @@ An _asset_ in Ocean represents a downloadable file, compute service, or similar.
An _asset_ should have a DID and DDO. The DDO should include [metadata](#metadata) about the asset, and define access in at least one [service](#serv... | 5 |
diff --git a/embark-ui/src/components/ContractDebugger.js b/embark-ui/src/components/ContractDebugger.js import PropTypes from "prop-types";
import React, {Component} from 'react';
-import {
- Page,
- Grid, Table
-} from "tabler-react";
import {
Row,
Col,
@@ -61,34 +57,28 @@ class ContractDebugger extends Component {
r... | 3 |
diff --git a/reader/readerContent.css b/reader/readerContent.css @@ -13,7 +13,7 @@ body[theme="dark"] {
body[theme="sepia"] {
background-color: rgb(245, 237, 220);
- color: rgba(80, 55, 35, 1);
+ color: rgb(68, 47, 30);
}
iframe {
@@ -84,6 +84,10 @@ img, picture, video {
height: auto;
margin: auto;
}
+body[theme="dark"... | 3 |
diff --git a/assets/js/modules/analytics/dashboard/dashboard-widget-analytics-adsense-top-pages.js b/assets/js/modules/analytics/dashboard/dashboard-widget-analytics-adsense-top-pages.js @@ -36,7 +36,8 @@ import { TYPE_MODULES } from '../../../components/data';
import { getDataTableFromData, TableOverflowContainer } fr... | 9 |
diff --git a/src/components/Validator.js b/src/components/Validator.js @@ -140,7 +140,9 @@ export var Validator = {
check: function(component, setting, value) {
// From http://stackoverflow.com/questions/46155/validate-email-address-in-javascript
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@(... | 11 |
diff --git a/test/jasmine/tests/geo_test.js b/test/jasmine/tests/geo_test.js @@ -380,6 +380,25 @@ describe('geojson / topojson utils', function() {
expect(out).toEqual(false);
});
});
+
+ describe('should distinguish between US and US Virgin Island', function() {
+
+ // N.B. Virgin Island don't appear at the 'world_110... | 0 |
diff --git a/rule-server/src/static/archives.json b/rule-server/src/static/archives.json "name": "Latest Deployment",
"path": "/archives/latest"
},
+ {
+ "id": "21September2022",
+ "name": "21 September 2022 Deployment",
+ "version": "3.1.39",
+ "path": "/archives/2022.09.21"
+ },
{
"id": "10August2022",
"name": "10 Au... | 3 |
diff --git a/src/context/testCaseActions.js b/src/context/testCaseActions.js @@ -136,24 +136,21 @@ export const deleteAsync = id => ({
id,
});
-export const updateAsync = ({ id,
- queryVariant,
- querySelector,
- queryValue,
- isNot,
- matcherType,
- matcherValue,
- suggestions,
+export const updateAsync = ({
+ id,
+ m... | 3 |
diff --git a/src/encoded/tests/data/inserts/user.json b/src/encoded/tests/data/inserts/user.json ],
"uuid": "de7f5444-ee87-4e4e-b621-9c136ea1d4b1"
},
+ {
+ "email": "khzlin@stanford.edu",
+ "first_name":"Khine",
+ "last_name":"Lin",
+ "lab": "/labs/j-michael-cherry/",
+ "status": "current",
+ "groups": [
+ "admin"
+ ],... | 0 |
diff --git a/spec/server/unit/conf_spec.coffee b/spec/server/unit/conf_spec.coffee @@ -4,6 +4,7 @@ os = require("os")
path = require("path")
Promise = require("bluebird")
Conf = require("#{root}lib/util/conf")
+exit = require("#{root}lib/util/exit")
lockFile = Promise.promisifyAll(require("lockfile"))
fs = Promise.prom... | 0 |
diff --git a/tests/Unit/CrudPanel/CrudPanelColumnsTest.php b/tests/Unit/CrudPanel/CrudPanelColumnsTest.php @@ -18,7 +18,7 @@ class CrudPanelColumnsTest extends BaseDBCrudPanelTest
'tableColumn' => false,
'orderable' => false,
'searchLogic' => false,
- 'priority' => 1,
+ 'priority' => 0,
],
];
@@ -47,7 +47,7 @@ class Cr... | 3 |
diff --git a/examples/py/exchanges.py b/examples/py/exchanges.py @@ -25,7 +25,7 @@ for id in ccxt.exchanges:
def log(*args):
print(' '.join([str(arg) for arg in args]))
-log('The ccxt library supports', green(len(ccxt.exchanges)), 'exchanges:')
+log('The ccxt library supports', green(str(len(ccxt.exchanges))), 'exchang... | 1 |
diff --git a/sirepo/package_data/static/js/radia.js b/sirepo/package_data/static/js/radia.js @@ -1024,12 +1024,8 @@ SIREPO.app.directive('radiaViewer', function(appState, errorService, frameCache,
var b = renderer.computeVisiblePropBounds();
radiaService.objBounds = b;
//srdbg('bnds', b);
- var points = new window.Floa... | 12 |
diff --git a/fixed-price-subscriptions/server/go/server.go b/fixed-price-subscriptions/server/go/server.go @@ -350,9 +350,9 @@ func handleWebhook(w http.ResponseWriter, r *http.Request) {
DefaultPaymentMethod: stripe.String(pi.PaymentMethod.ID),
}
sub.Update(invoice.Subscription.ID, params)
- fmt.Println("Default payme... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.