code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/README.md b/README.md @@ -45,7 +45,7 @@ SimpleBar is mean to improve the experience of **internal web pages scrolls**: l
### Other usages
You can start SimpleBar mannually if you need to:
- new SimpleBar(document.getElementById('#myElement'))
+ new SimpleBar(document.getElementById('myElement'))
If you wan... | 3 |
diff --git a/lib/ejs.js b/lib/ejs.js @@ -507,20 +507,12 @@ Template.prototype = {
if (!this.source) {
this.generateSource();
- if (opts.client) {
- prepended += 'var __output = [], __append = callerAppend || __output.push.bind(__output);' + '\n';
- }
- else {
- prepended += 'var __append = callerAppend;' + '\n';
- }
-
... | 13 |
diff --git a/CHANGELOG.md b/CHANGELOG.md # Changelog
+## Unreleased
+
+* Apostrophe now has built-in support for the Node.js cluster module. If the `APOS_CLUSTER_PROCESSES` environment variable is set to a number, that number of child processes are forked, sharing the same listening port. If the variable is set to `0`,... | 5 |
diff --git a/src/1_utils.js b/src/1_utils.js @@ -662,7 +662,7 @@ utils.openGraphDataAsObject = function() {
};
utils.scrapeTitle = function() {
- var tags = document.getElementsByTagName([ 'title' ]);
+ var tags = document.getElementsByTagName('title');
return tags.length > 0 ? tags[0].innerText : '';
};
| 2 |
diff --git a/server/preprocessing/other-scripts/base.R b/server/preprocessing/other-scripts/base.R @@ -45,7 +45,7 @@ get_papers <- function(query, params, limit=100,
# add "textus:" to each word/phrase to enable verbatim search
# make sure it is added after any opening parentheses to enable queries such as "(a and b) o... | 9 |
diff --git a/src/components/icon/icon.stories.js b/src/components/icon/icon.stories.js @@ -53,7 +53,13 @@ storiesOf('Icon', module)
knobs: { escapeHTML: false }
}
)
- .add('default', () => <Icon { ...commonKnobs() } { ...dlsKnobs() } />, {
+ .add('default', () => {
+ const props = dlsKnobs();
+
+ if (props.iconColor ==... | 12 |
diff --git a/src/components/Picker/index.js b/src/components/Picker/index.js @@ -168,7 +168,7 @@ class Picker extends PureComponent {
// We add a text color to prevent white text on white background dropdown items on Windows
items={_.map(this.props.items, item => ({...item, color: themeColors.pickerOptionsTextColor}))}... | 4 |
diff --git a/packages/gatsby-cli/src/create-cli.js b/packages/gatsby-cli/src/create-cli.js @@ -99,7 +99,12 @@ function buildLocalCommands(cli, isLocalSite) {
type: `boolean`,
describe: `Open the site in your browser for you.`,
}),
- handler: getCommandHandler(`develop`),
+ handler: handlerP(
+ getCommandHandler(`develo... | 12 |
diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js text.className = 'text';
a.className = 'dropdown-item ' + (firstOption ? firstOption.className : '');
newElement.className = this.$menu[0].parentNode.className + ' ' + classNames.SHOW;
+ newElement.style.width = 0; // ensure button width doesn't affect natura... | 12 |
diff --git a/lib/core/processes/processLauncher.js b/lib/core/processes/processLauncher.js @@ -92,11 +92,27 @@ class ProcessLauncher {
// Translates logs from the child process to the logger
_handleLog(msg) {
+ // Sometimes messages come in with line breaks, so we need to break them up accordingly.
+ let processedMessa... | 1 |
diff --git a/cypress/integration/results.spec.ts b/cypress/integration/results.spec.ts @@ -27,17 +27,17 @@ context('The results card', () => {
describe('results charts', () => {
it('should have default invisible charts', () => {
- for (const testId of resultsCharts) {
+ resultsCharts.forEach((testId) => {
cy.findByTest... | 14 |
diff --git a/src/lib/gundb/__tests__/UserStorage.js b/src/lib/gundb/__tests__/UserStorage.js @@ -16,27 +16,94 @@ describe('UserStorage', () => {
expect(userStorage.user).not.toBeUndefined()
})
+ it('sets gundb field', async () => {
+ const res = await userStorage.profile
+ .get('x')
+ .put({ z: 1, y: 1 })
+ .then()
+ e... | 0 |
diff --git a/TooManyCommentsFlagQueueHelper.user.js b/TooManyCommentsFlagQueueHelper.user.js // @description Inserts quicklinks to "Move comments to chat + delete" and "Delete all comments"
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 3.4.4
+// @version 3.4.5
//
// @match ... | 3 |
diff --git a/server/services/search.php b/server/services/search.php @@ -44,6 +44,7 @@ function search($repository, $dirty_query, $post_params, $param_types, $keyword_
$ini_array = library\Toolkit::loadIni($INI_DIR);
$query = strip_tags($dirty_query);
$query = trim($query);
+ $query = preg_replace('!\s+!', ' ', $query)... | 14 |
diff --git a/README.md b/README.md @@ -187,8 +187,8 @@ Don't hesitate to contact me if you want to get involved.
yarn lint
-We use [JavaScript Standard Style](https://github.com/feross/standard).
-We recommend you installing [editor plugins](https://github.com/feross/standard#are-there-text-editor-plugins) so you can g... | 14 |
diff --git a/spec/solve.spec.js b/spec/solve.spec.js @@ -151,6 +151,7 @@ describe('Solve', function () {
'(-27*a^2*y^4-27*abs(a^2*y^4))^(1/3)*(1+i*sqrt(3))*2^(-1/3)*a^(-1)*y^(-2),(1/6)*'+
'(-27*a^2*y^4-27*abs(a^2*y^4))^(1/3)*(-i*sqrt(3)+1)*2^(-1/3)*a^(-1)*y^(-2)]'
},
+ // logarithms
{
given: 'solve(log(x,2)+log(x,3)=lo... | 0 |
diff --git a/test/jasmine/tests/gl3d_plot_interact_test.js b/test/jasmine/tests/gl3d_plot_interact_test.js @@ -392,6 +392,122 @@ describe('Test gl3d plots', function() {
.then(done);
});
+ it('@gl should set the camera dragmode to orbit if the camera.up.z vector is set to be tilted', function(done) {
+ Plotly.plot(gd, ... | 0 |
diff --git a/lib/util/progress.js b/lib/util/progress.js 'use babel'
/** @jsx dom */
+import { CompositeDisposable, Disposable } from 'atom'
import etch from 'etch'
import { Etch, Progress, view, dom } from './etch';
import Tooltip from './tooltip';
@@ -36,7 +37,7 @@ import Tooltip from './tooltip';
// Destroys `p` and... | 7 |
diff --git a/camera-manager.js b/camera-manager.js @@ -13,6 +13,7 @@ const cameraOffset = new THREE.Vector3();
/* const thirdPersonCameraOffset = new THREE.Vector3(0, 0, -1.5);
const isometricCameraOffset = new THREE.Vector3(0, 0, -2); */
+let wasActivated = false;
const requestPointerLock = async () => {
for (const op... | 0 |
diff --git a/viewer/js/gis/dijit/Identify.js b/viewer/js/gis/dijit/Identify.js @@ -414,7 +414,7 @@ define([
if (typeof feature.infoTemplate === 'undefined') {
var infoTemplate = this.getInfoTemplate(ref, null, result);
if (infoTemplate) {
- if (result.layerId && ref.layerInfos && infoTemplate.info.showAttachments) {
+ ... | 11 |
diff --git a/README.md b/README.md @@ -117,6 +117,7 @@ You can use a number of parameters to control the behaviour of Bosco. Parameter
|-f, --force|Force over ride of any files|false|
|-s, --service|Inside single service|false|
|--nocache|Ignore local cache for github projects|false|
+|--offline|Ignore expired cache of... | 3 |
diff --git a/src/functionHelper.js b/src/functionHelper.js @@ -9,7 +9,7 @@ const { createUniqueId } = require('./utils');
const handlerCache = {};
const messageCallbacks = {};
-function runProxyHandler(funOptions, options) {
+function runServerlessProxy(funOptions, options) {
return (event, context) => {
const args = [... | 10 |
diff --git a/packages/typescript-imba-plugin/src/lexer/grammar.imba b/packages/typescript-imba-plugin/src/lexer/grammar.imba @@ -1043,7 +1043,7 @@ export const states = {
_tag_event: [
'_tag_part'
[/(\@)(@optid)/,['tag.event.start','tag.event.name']]
- [/(\.)(@optid)/,['tag.event-modifier.start','tag.event-modifier.nam... | 11 |
diff --git a/package.json b/package.json "dev": "npm run build:dev && npm run build:static",
"watch": "npm run remove-dist && npm run build:static && webpack --watch --mode=development --debug --devtool cheap-module-eval-source-map --output-pathinfo",
"release-zip": "npm run build && gulp release && gulp copy && gulp p... | 2 |
diff --git a/sandbox/public/index.html b/sandbox/public/index.html });
alloy("event", {
- // NOTE: `viewStart` is a special type of events.
- // View docs for more info.
- type: "viewStart",
+ viewStart: true,
data: {
+ "type": "page-view",
"url": location.href,
"name": location.pathname.substring(1) || "home"
}
| 2 |
diff --git a/server/lib/Room.js b/server/lib/Room.js @@ -165,7 +165,7 @@ class Room extends EventEmitter
}
else if (this._locked) // Don't allow connections to a locked room
{
- notification(socket, 'roomLocked');
+ this._notification(socket, 'roomLocked');
socket.disconnect(true);
return;
}
| 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -50761,6 +50761,14 @@ var $$IMU_EXPORT$$;
return src.replace(/(\/image_files\/+)[0-9]+\/+/, "$1orig/");
}
+ if (domain_nowww === "cryengine.com") {
+ // https://www.cryengine.com/files/news/480/9b028f1114d8aca8d4600bfbaa3255583d52c390efd63fde86f062bc95528539.webp
... | 11 |
diff --git a/src/plots/cartesian/axes.js b/src/plots/cartesian/axes.js @@ -664,12 +664,12 @@ axes.prepTicks = function(ax, opts) {
// get range min and max to find range delta of axis 1
var minValBaseAxis = Math.min(baseAxis.range[0], baseAxis.range[1]);
var maxValBaseAxis = Math.max(baseAxis.range[0], baseAxis.range[1... | 2 |
diff --git a/articles/scopes/current/index.md b/articles/scopes/current/index.md @@ -158,7 +158,7 @@ Note the differences between the two examples. In the latest, we want to get an
- `response_type`: We appended the value `token`. This tells the Authorization Server (Auth0 in our case) to issue an `access_token` as wel... | 0 |
diff --git a/core/block.js b/core/block.js @@ -3122,19 +3122,6 @@ Blockly.Blocks['variables_get_typed'] = {
variable.setTypeExpr(A);
},
- /**
- * Notification that a variable is renaming.
- * If the name matches one of this block's variables, rename it.
- * @param {string} oldName Previous name of variable.
- * @param ... | 2 |
diff --git a/changelog/62_UNRELEASED_xxxx-xx-xx.md b/changelog/62_UNRELEASED_xxxx-xx-xx.md - Fixed that due soon products with `due_type` = "Expiration date" were missing in `due_products` of the `/stock/volatile` endpoint
- Fixed that `PUT/DELETE /objects/{entity}/{objectId}` produced an internal server error when the... | 11 |
diff --git a/src/Model.d.ts b/src/Model.d.ts @@ -164,7 +164,8 @@ export type OneProperties = {
export class Paged<T> extends Array {
start: string;
- next: () => Paged<T>;
+ // DEPRECATED
+ next: () => Promise<Paged<T>>;
}
export type AnyModel = {
| 1 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -417,9 +417,11 @@ metaversefile.setApi({
const app = currentAppRender;
if (app) {
const frame = e => {
+ if (!app.paused) {
performanceTracker.startCpuObject(app.name);
fn(e.data);
performanceTracker.endCpuObject();
+ }
};
world.appManager.addEventListener('fr... | 0 |
diff --git a/Specs/Scene/AxisSpec.js b/Specs/Scene/AxisSpec.js @@ -13,64 +13,33 @@ defineSuite([
Matrix4) {
'use strict';
+ function convertUpAxis(upAxis, transformation, expected) {
+ var transformed = Matrix4.multiplyByVector(transformation, upAxis, new Cartesian4());
+ Cartesian4.normalize(transformed, transformed);... | 3 |
diff --git a/src/muncher/ddb.js b/src/muncher/ddb.js @@ -367,7 +367,7 @@ export default class DDBMuncher extends Application {
const sourcesSelected = game.settings.get("ddb-importer", "munching-policy-monster-sources").flat().length > 0;
const homebrewDescription = (tiers.homebrew)
? sourcesSelected
- ? "Homebrew won'... | 7 |
diff --git a/includes/REST_API/Stories_Controller.php b/includes/REST_API/Stories_Controller.php @@ -186,6 +186,9 @@ class Stories_Controller extends WP_REST_Posts_Controller {
$schema['properties']['color_presets'] = [
'description' => __( 'Color presets used by all stories', 'web-stories' ),
'type' => 'array',
+ 'ite... | 7 |
diff --git a/cypress/integration/labelhelp.spec.js b/cypress/integration/labelhelp.spec.js @@ -9,7 +9,7 @@ describe("Create a Label Help ", () => {
cy.contains("Import Toy Dataset").click()
cy.get('[data-import-toy-dataset-name="Cats"]').click()
cy.contains("Label").click()
- cy.contains("Label Help").click()
+ cy.cont... | 1 |
diff --git a/app/controllers/carto/api/groups_controller.rb b/app/controllers/carto/api/groups_controller.rb @@ -16,7 +16,7 @@ module Carto
before_filter :load_user
before_filter :validate_organization_or_user_loaded
before_filter :load_group, :only => [:show, :update, :destroy, :add_users, :remove_users]
- before_filt... | 11 |
diff --git a/src/components/play-mode/hotbar/Hotbar.jsx b/src/components/play-mode/hotbar/Hotbar.jsx @@ -20,6 +20,7 @@ const fullscreenFragmentShader = `\
uniform sampler2D uTex;
uniform float uSelected;
uniform float uSelectFactor;
+ uniform float uTime;
varying vec2 vUv;
//--------------------------------------------... | 0 |
diff --git a/locale/de.json b/locale/de.json "humanizer_language": "de"
},
"restarter": {
- "crash_detected": "Absturz erkannt",
+ "crash_detected": "Absturz registriert",
"partial_crash_warn": "Aufgrund von Verbindungsproblemen startet dieser Server in 1 Minute neu. Bitte trenne die Verbindung jetzt.",
"partial_crash_... | 1 |
diff --git a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js b/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js @@ -72,7 +72,9 @@ function AnchorRenderer({tnode, key, style}) {
// An auth token is needed to download Expensify chat attachments
const isAttachment = Boolean(htmlAttribs['data-expensi... | 11 |
diff --git a/js/fcoin.js b/js/fcoin.js @@ -534,7 +534,7 @@ module.exports = class fcoin extends Exchange {
headers['FC-ACCESS-KEY'] = this.apiKey;
headers['FC-ACCESS-SIGNATURE'] = signature;
headers['FC-ACCESS-TIMESTAMP'] = tsStr;
- headers['Content-Type'] = 'application/json;charset=UTF-8';
+ headers['Content-Type'] =... | 1 |
diff --git a/src/plugins/Dashboard/index.js b/src/plugins/Dashboard/index.js @@ -216,7 +216,7 @@ module.exports = class Dashboard extends Plugin {
handlePopState (event) {
// Check if the state no longer contains our `uppyDashboard: 'open'` flag
if (!event.state || !event.state.uppyDashboard) {
- this.closeModal()
+ th... | 0 |
diff --git a/packages/app/src/server/service/app.ts b/packages/app/src/server/service/app.ts @@ -123,11 +123,11 @@ export default class AppService implements S2sMessageHandlable {
return this.configManager.getConfig('crowi', 'app:isMaintenanceMode');
}
- async startMaintenanceMode() {
+ async startMaintenanceMode(): Pr... | 7 |
diff --git a/server/preprocessing/other-scripts/linkedcat.R b/server/preprocessing/other-scripts/linkedcat.R @@ -85,10 +85,11 @@ get_papers <- function(query, params, limit=100) {
}
build_query <- function(query, params, limit){
- fields = c('maintitle', 'keywords', 'ocrtext', 'author', 'host', 'ddc')
- q = paste(paste... | 3 |
diff --git a/lib/models/patch/multi-file-patch.js b/lib/models/patch/multi-file-patch.js @@ -17,6 +17,7 @@ export default class MultiFilePatch {
this.filePatches = filePatches || [];
this.filePatchesByMarker = new Map();
+ this.filePatchesByPath = new Map();
this.hunksByMarker = new Map();
// Store a map of {diffRow, o... | 4 |
diff --git a/contracts/Havven.sol b/contracts/Havven.sol @@ -197,16 +197,6 @@ contract Havven is ERC20Token, Owned {
penultimateFeePeriodStartTime = now - 2*targetFeePeriodDurationSeconds;
}
- /* ========== VIEW FUNCTIONS ========== */
-
- function lastAverageBalanceNeedsRecomputation(address account)
- public
- view
-... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md All notable changes to this project are documented in this file.
-## Head
+## 13.9.0
- Added: TAP formatter ([#5062](https://github.com/stylelint/stylelint/pull/5062)).
- Fixed: incorrect exit code when using `--report` options ([#5079](https://github.com/stylelint/stylelint/pul... | 6 |
diff --git a/package.json b/package.json {
"name": "prettier-atom",
"main": "./dist/main.js",
- "version": "0.56.0",
+ "version": "0.56.1",
"description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration",
"keywords": [
"atom",
| 6 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js @@ -932,7 +932,6 @@ RED.subflow = (function() {
function buildEnvUIRow(row, tenv, ui, node) {
- console.log(tenv, ui)
ui.label = ui.label||{};
if ((tenv.type === "cred" ||... | 2 |
diff --git a/userscript.user.js b/userscript.user.js @@ -97474,7 +97474,7 @@ var $$IMU_EXPORT$$;
};
// untested
- // files = array of data, not filenames
+ // files = array of {data: uint8array, mime: ...}, not filenames
var ffmpeg_concat = function(ffmpeg, files, cb) {
if (!ffmpeg) cb(null);
@@ -97488,10 +97488,14 @@ ... | 1 |
diff --git a/tests/phpunit/integration/Core/Authentication/AuthenticationTest.php b/tests/phpunit/integration/Core/Authentication/AuthenticationTest.php @@ -56,7 +56,6 @@ class AuthenticationTest extends TestCase {
$auth->register();
// Authentication::handle_oauth is invoked on init but we cannot test it due to use of... | 2 |
diff --git a/src/__tests__/defaultShouldValidate.spec.js b/src/__tests__/defaultShouldValidate.spec.js @@ -28,9 +28,8 @@ describe('defaultShouldValidate', () => {
foo: 'fooChanged'
})
}
- }),
- true
- )
+ })
+ ).toBe(true)
})
it('should not validate if values have not changed', () => {
@@ -46,9 +45,8 @@ describe('defau... | 1 |
diff --git a/README.md b/README.md @@ -4,8 +4,6 @@ _by [Samuel Liew](https://stackoverflow.com/users/584192/samuel-liew)_
[Bug reports](https://github.com/samliew/SO-mod-userscripts/issues), Forks, and PRs welcome!
-*See also: [Other Stack Overflow Userscripts](https://github.com/samliew/SO-userscripts)*
-
<br>
| 2 |
diff --git a/src/pages/LootTier.jsx b/src/pages/LootTier.jsx @@ -231,6 +231,10 @@ function LootTier(props) {
/>,
<div
className="display-wrapper"
+ style = {{
+ backgroundColor: '#000',
+ height: 'auto',
+ }}
key = {'display-wrapper'}
>
<div
| 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -12334,6 +12334,8 @@ var $$IMU_EXPORT$$;
(domain_nowww === "fitolsam.com" && string_indexof(src, "/uploads/") >= 0) ||
// https://sevelina.ru/images/uploads/2015/08/1212121-139x120.gif
(domain_nowww === "sevelina.ru" && /\/images\/+uploads\//.test(src)) ||
+ // ht... | 4 |
diff --git a/lib/JITClient/JITManager.cpp b/lib/JITClient/JITManager.cpp @@ -151,7 +151,7 @@ JITManager::CreateBinding(
FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, errorNumber, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPWSTR)&messageBuffer, 0, NUL... | 4 |
diff --git a/generators/dart/math.js b/generators/dart/math.js @@ -190,7 +190,7 @@ Blockly.Dart['math_number_property'] = function(block) {
var number_to_check = Blockly.Dart.valueToCode(block, 'NUMBER_TO_CHECK',
Blockly.Dart.ORDER_MULTIPLICATIVE);
if (!number_to_check) {
- return ['false', Blockly.Python.ORDER_ATOMIC]... | 2 |
diff --git a/tests/integration/components/polaris-resource-list/item-test.js b/tests/integration/components/polaris-resource-list/item-test.js @@ -318,6 +318,19 @@ module('Integration | Component | polaris-resource-list/item', function(hooks) {
.dom('[data-test-checkbox-input]')
.hasAttribute('data-test-checkbox-input-... | 5 |
diff --git a/token-metadata/0x6F87D756DAf0503d08Eb8993686c7Fc01Dc44fB1/metadata.json b/token-metadata/0x6F87D756DAf0503d08Eb8993686c7Fc01Dc44fB1/metadata.json "symbol": "TRADE",
"address": "0x6F87D756DAf0503d08Eb8993686c7Fc01Dc44fB1",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED... | 3 |
diff --git a/test/functional/helpers/constants/consent.js b/test/functional/helpers/constants/consent.js export const CONSENT_IN = {
- preferences: [
+ consent: [
{
standard: "Adobe",
version: "1.0",
@@ -10,7 +10,7 @@ export const CONSENT_IN = {
]
};
export const CONSENT_OUT = {
- preferences: [
+ consent: [
{
standard... | 2 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -471,9 +471,7 @@ module.exports = function (grunt) {
generateConfig: {
command: [
"echo '\n--- Regenerating config files. ---'",
- // "node --experimental-modules src/core/config/scripts/generateOpsIndex.mjs",
"mkdir -p src/core/config/modules",
- "echo 'export default {};\n'... | 2 |
diff --git a/app/controllers/stats_controller.rb b/app/controllers/stats_controller.rb class StatsController < ApplicationController
-
before_filter :set_time_zone_to_utc
before_filter :load_params, except: [:year, :generate_year]
- before_filter :authenticate_user!, only: [:cnc2017_taxa, :cnc2017_stats, :generate_year... | 11 |
diff --git a/src/article/ArticleSnippets.js b/src/article/ArticleSnippets.js -export const FIGURE_SNIPPET = `
+export const FIGURE_SNIPPET = () => `
<fig xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0">
- <label></label>
- <caption>
- <title></title>
- <p></p>
- </caption>
+ <... | 7 |
diff --git a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js @@ -134,7 +134,29 @@ in your Node-RED user directory (${RED.settings.userDir}).
url = "http://"+url;
}
}
- url = encodeURI(url);
+
+ // The Request module used in Node... | 9 |
diff --git a/src/css/ui/components/code-block.css b/src/css/ui/components/code-block.css color: var(--code-violet);
}
-[language="css"] .CodeBlock--token-color,
[language="css"] .CodeBlock--token-attribute.CodeBlock--token-value,
-.CodeBlock--language-css.CodeBlock--token-color,
.CodeBlock--language-css.CodeBlock--toke... | 7 |
diff --git a/scc-guide.md b/scc-guide.md @@ -51,10 +51,17 @@ If you want to try SCC on K8s, the simplest way to get started is to sign up to
You can also run SCC using only Node.js version >= 6.x.x.
For simplicity, we will show you how to run everything on your localhost (`127.0.0.1`), but in practice, you will need to... | 7 |
diff --git a/package.json b/package.json "node": ">= 6.0.0"
},
"scripts": {
- "start": "node src/index.js",
+ "start": "node lib/index.js",
"start-dev": "LOG_LEVEL=debug node src/index.js",
"start:dist": "node dist/index.js",
"lint": "eslint --fix .",
| 10 |
diff --git a/bin/multielasticdump b/bin/multielasticdump @@ -38,7 +38,7 @@ const defaults = {
offset: 0,
direction: 'dump', // default to dump
'support-big-int': false,
- ignoreAnalyzer: false,
+ ignoreAnalyzer: true,
ignoreData: false,
ignoreMapping: false,
ignoreSettings: false,
| 8 |
diff --git a/app/controllers/superadmin/platform_controller.rb b/app/controllers/superadmin/platform_controller.rb @@ -31,14 +31,14 @@ class Superadmin::PlatformController < Superadmin::SuperadminController
def database_validation
if !params[:database_host]
- render json: { error: "Database host parameter is mandatory"... | 2 |
diff --git a/store/queries.js b/store/queries.js @@ -174,7 +174,7 @@ function getHeroRankings(db, redis, heroId, options, cb) {
WHERE hero_id = ?
ORDER BY score DESC
LIMIT 100
- `, [heroId]).asCallback((err, result) => {
+ `, [heroId || 0]).asCallback((err, result) => {
if (err) {
return cb(err);
}
| 9 |
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js @@ -34,13 +34,13 @@ function MetamaskInpageProvider (connectionStream) {
const filterSubprovider = new FilterSubprovider()
engine.addProvider(filterSubprovider)
- const stream = self.stream = new StreamSubprovider()
- engine.addProvide... | 10 |
diff --git a/token-metadata/0x09fE5f0236F0Ea5D930197DCE254d77B04128075/metadata.json b/token-metadata/0x09fE5f0236F0Ea5D930197DCE254d77B04128075/metadata.json "symbol": "WCK",
"address": "0x09fE5f0236F0Ea5D930197DCE254d77B04128075",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/react/src/components/masthead/SprkMasthead.stories.js b/react/src/components/masthead/SprkMasthead.stories.js @@ -163,7 +163,7 @@ export const defaultStory = () => (
<SprkMasthead
littleNavLinks={links}
narrowNavLinks={links.concat(addedNarrowNavLinks)}
- siteLogo={<svg className="sprk-c-Masthead__logo" xm... | 3 |
diff --git a/wiki/Community_Meetings/Angular_PF_Community_Meeting_Aug17.md b/wiki/Community_Meetings/Angular_PF_Community_Meeting_Aug17.md -# Angular-PatternFly Community Meeting - August 17, 2017
+# Angular-PatternFly Community Meeting - August 17, 2017 10AM EST
During this meeting we will talk about the problems we a... | 0 |
diff --git a/generators/client/files-common.js b/generators/client/files-common.js * See the License for the specific language governing permissions and
* limitations under the License.
*/
-const mkdirp = require('mkdirp');
-const constants = require('../generator-constants');
-
-const MAIN_SRC_DIR = constants.CLIENT_M... | 2 |
diff --git a/articles/migrations/guides/legacy-lock-api-deprecation.md b/articles/migrations/guides/legacy-lock-api-deprecation.md @@ -19,8 +19,12 @@ If your applications match any of the following cases, you are affected:
If you do not use the above libraries and do not specifically call the above endpoints, you are n... | 3 |
diff --git a/src/views/microbit/microbit.jsx b/src/views/microbit/microbit.jsx @@ -289,7 +289,14 @@ class MicroBit extends ExtensionLanding {
<FormattedMessage id="microbit.cardsDescription" />
</p>
<p>
- <a href={this.props.intl.formatMessage({id: 'cards.microbit-cardsLink'})}>
+ <a
+ href={this.props.intl.formatMessa... | 4 |
diff --git a/scss/_variables.scss b/scss/_variables.scss @@ -17,9 +17,9 @@ $siimple-legacy-colors: ("navy", "green", "teal", "blue", "purple", "pink", "red
//Darker/lighter amount
$siimple-default-amount: 20% !default;
-//Defautl colors
+//Default colors
$siimple-default-white: #ffffff !default;
-$siimple-default-dark:... | 10 |
diff --git a/aws/events/event.go b/aws/events/event.go @@ -50,8 +50,7 @@ type APIGatewayRequest struct {
func NewAPIGatewayMockRequest(lambdaName string,
httpMethod string,
whitelistParamValues map[string]string,
- eventData interface{},
- testingURL string) (*APIGatewayRequest, error) {
+ eventData interface{}) (*APIG... | 2 |
diff --git a/assets/sass/components/global/_googlesitekit-cta.scss b/assets/sass/components/global/_googlesitekit-cta.scss }
}
- #google_dashboard_widget & .googlesitekit-cta__title { // stylelint-disable-line selector-id-pattern
- color: $c-surfaces-on-surface;
- font-weight: 700;
- }
-
- #google_dashboard_widget &--e... | 2 |
diff --git a/app/src/components/AddRSSModal.js b/app/src/components/AddRSSModal.js @@ -234,7 +234,7 @@ class AddRSSModal extends React.Component {
});
}}
>
- <span>Import feeds</span>
+ <span>Import OPML</span>
<i
className={`fas fa-chevron-${
this.state.opmlSectionExpanded ? 'up' : 'down'
| 10 |
diff --git a/components/data-table/column.jsx b/components/data-table/column.jsx @@ -45,10 +45,34 @@ DataTableColumn.propTypes = {
* Some columns, such as "date last viewed" or "date recently updated," should sort descending first, since that is what the user probably wants. How often does one want to see their oldest ... | 3 |
diff --git a/generators/server/templates/src/test/java/package/web/rest/AccountResourceIT.java.ejs b/generators/server/templates/src/test/java/package/web/rest/AccountResourceIT.java.ejs @@ -236,20 +236,6 @@ public class AccountResourceIT <% if (databaseType === 'cassandra') { %>extends
.jsonPath("$.authorities").isEqu... | 2 |
diff --git a/token-metadata/0x3A1c1d1c06bE03cDDC4d3332F7C20e1B37c97CE9/metadata.json b/token-metadata/0x3A1c1d1c06bE03cDDC4d3332F7C20e1B37c97CE9/metadata.json "symbol": "VYBE",
"address": "0x3A1c1d1c06bE03cDDC4d3332F7C20e1B37c97CE9",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/tests/test_EtherNomin.py b/tests/test_EtherNomin.py @@ -405,12 +405,6 @@ class TestEtherNomin(unittest.TestCase):
mine_tx(self.setPrice(pre_price).transact({'from': owner}))
- def test_saleProceedsEther(self):
- pass
-
- def test_saleProceedsEther(self):
- pass
-
def test_priceIsStale(self):
pass
| 2 |
diff --git a/src/library/modules/DataBackup.js b/src/library/modules/DataBackup.js // Do not log and alert on:
// picker window aborted by user, or permission refused
if (err && !["AbortError", "NotAllowedError"].includes(err.name)) {
+ // No log for 'handle user gesture to show a file picker'
+ if ("SecurityError" !==... | 8 |
diff --git a/token-metadata/0xfDBc1aDc26F0F8f8606a5d63b7D3a3CD21c22B23/metadata.json b/token-metadata/0xfDBc1aDc26F0F8f8606a5d63b7D3a3CD21c22B23/metadata.json "symbol": "1WO",
"address": "0xfDBc1aDc26F0F8f8606a5d63b7D3a3CD21c22B23",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/token-metadata/0x607C794cDa77efB21F8848B7910ecf27451Ae842/metadata.json b/token-metadata/0x607C794cDa77efB21F8848B7910ecf27451Ae842/metadata.json "symbol": "PIE",
"address": "0x607C794cDa77efB21F8848B7910ecf27451Ae842",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/assets/sass/components/adminbar/_googlesitekit-wp-adminbar.scss b/assets/sass/components/adminbar/_googlesitekit-wp-adminbar.scss opacity: 0.6;
padding: 0;
position: relative;
- speak: none;
- vertical-align: middle;
width: 26px;
@media (min-width: $bp-wpAdminBarTablet) {
| 2 |
diff --git a/src/getstream.js b/src/getstream.js @@ -46,7 +46,7 @@ function connect(apiKey, apiSecret, appId, options) {
return new StreamClient(apiKey, apiSecret, appId, options);
}
-function connectCloud(apiKey, appId, options) {
+function connectCloud(apiKey, appId, options={}) {
/**
* Create StreamCloudClient that'... | 12 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -446,6 +446,7 @@ const _makeDebugMeshes = () => {
head: _makeCubeMesh(0xFF8080),
chest: _makeCubeMesh(0xFFFF00),
+ upperChest: _makeCubeMesh(0x808000),
leftShoulder: _makeCubeMesh(0x00FF00),
rightShoulder: _makeCubeMesh(0x008000),
leftUpperArm: _makeCubeMesh(0x00F... | 0 |
diff --git a/Makefile b/Makefile @@ -27,7 +27,7 @@ build: build/lib build/test build/externaltests
.PHONY: ${TARGETS}
${TARGETS}: build
- ./node_modules/.bin/rollup --config --sourcemap --format umd --name weknowhow.expect -o unexpected.js build/lib/index.js
+ ./node_modules/.bin/rollup --config rollup.config.js --sour... | 4 |
diff --git a/test/endtoend/wdio.remote.conf.js b/test/endtoend/wdio.remote.conf.js @@ -21,7 +21,7 @@ exports.config = Object.assign(base.config, {
{ browserName: 'MicrosoftEdge', version: '17', platform: 'Windows 10' },
// { browserName: 'safari', version: '11.0', platform: 'macOS 10.12' },
// { browserName: 'safari', ... | 2 |
diff --git a/components/dashboard/Form.js b/components/dashboard/Form.js @@ -15,7 +15,7 @@ const lastMonthToday = moment.utc().subtract(30, 'day').format('YYYY-MM-DD')
const defaultDefaultValues = {
since: lastMonthToday,
until: tomorrow,
- probe_cc: [], // ['IR', 'CU', 'SA', 'MY']
+ probe_cc: ['CN', 'IR', 'RU']
}
expo... | 4 |
diff --git a/protocols/index/reports/analysis/slither.txt b/protocols/index/reports/analysis/slither.txt Compilation warnings/errors on contracts/Index.sol: commit 2518c58bec77b8b7d7791d225de9f22716294e77
-contracts/Index.sol:18:1: Warning: Experimental features are turned on. Do not use experimental features on live d... | 3 |
diff --git a/src/libs/NetworkConnection.js b/src/libs/NetworkConnection.js import _ from 'underscore';
+import Onyx from 'react-native-onyx';
import NetInfo from '@react-native-community/netinfo';
import AppStateMonitor from './AppStateMonitor';
import Log from './Log';
import * as NetworkActions from './actions/Networ... | 8 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -14,7 +14,7 @@ Remove a legacy key code for delete that is used for F16 on keyboards that have
### New features
-Allow [gutters](https://codemirror.net/doc/manual.html#option_gutters) to specify direct CSS stings.
+Allow [gutters](https://codemirror.net/doc/manual.html#option... | 1 |
diff --git a/src/DragAndDrop.jsx b/src/DragAndDrop.jsx @@ -93,7 +93,9 @@ const DragAndDrop = () => {
return false;
}
- case 27: {
+ case 27: { // esc
+ setCurrentApp(null);
+
return false;
}
}
| 0 |
diff --git a/lib/status.js b/lib/status.js @@ -461,6 +461,7 @@ exports.ERR_LUA_FILE_NOT_FOUND = exports.AEROSPIKE_ERR_LUA_FILE_NOT_FOUND = as.s
* Prodeces a human-readable error message for the given status code.
*/
exports.getMessage = function (code) {
+ /* istanbul ignore next */
switch (code) {
case exports.ERR_INV... | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.