code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/packages/magda-web/src/UI/Star.js b/packages/magda-web/src/UI/Star.js @@ -22,7 +22,7 @@ class Star extends Component {
event.stopPropagation();
this.setState({
isActive: !this.state.isActive,
- showInfo: true
+ showInfo: !this.state.isActive
})
}
| 7 |
diff --git a/packages/fether-react/src/assets/sass/shared/_form.scss b/packages/fether-react/src/assets/sass/shared/_form.scss @@ -110,8 +110,6 @@ input.form_field_amount[type='number'] {
font-size: ms(6);
line-height: ms(6) * 1.1;
font-weight: 200;
- padding: 3rem 0;
- margin: 3rem 0;
text-align: center;
-webkit-appea... | 2 |
diff --git a/articles/api-auth/tutorials/authorization-code-grant.md b/articles/api-auth/tutorials/authorization-code-grant.md @@ -110,6 +110,11 @@ Once the `access_token` has been obtained it can be used to make calls to the AP
]
}
```
+## 4. Verify the Token
+
+Once your API receives a request with a Bearer `access_t... | 0 |
diff --git a/packages/app/test/cypress/integration/2-basic-features/access-to-page.spec.ts b/packages/app/test/cypress/integration/2-basic-features/access-to-page.spec.ts @@ -18,9 +18,11 @@ context('Access to page', () => {
it('/Sandbox with anchor hash is successfully loaded', () => {
cy.visit('/Sandbox#Headers');
- c... | 7 |
diff --git a/ext/abp-filter-parser-modified/abp-filter-parser.js b/ext/abp-filter-parser-modified/abp-filter-parser.js var separatorCharacters = ':?/=^'
+ var noSpecialCharactersRegex = /[a-zA-Z0-9]+/
+
/**
* Finds the first separator character in the input string
*/
if (!data) {
continue
}
+ if (data._d) {
+ substring... | 4 |
diff --git a/token-metadata/0x11A2Ab94adE17e96197C78f9D5f057332a19a0b9/metadata.json b/token-metadata/0x11A2Ab94adE17e96197C78f9D5f057332a19a0b9/metadata.json "symbol": "ORBI",
"address": "0x11A2Ab94adE17e96197C78f9D5f057332a19a0b9",
"decimals": 9,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/lib/application.js b/lib/application.js @@ -89,8 +89,8 @@ class Application extends events.EventEmitter {
async loadDomain(fileName) {
const rel = fileName.substring(this.domainPath.length + 1);
- const [name, ext] = rel.split('.');
- if (ext !== 'js' || name.startsWith('.')) return;
+ if (!rel.endsWith('.... | 7 |
diff --git a/src/muncher/monster/legendary.js b/src/muncher/monster/legendary.js @@ -3,7 +3,7 @@ import { getRecharge, getActivation, getFeatSave, getDamage } from "./utils.js";
import { FEAT_TEMPLATE } from "./templates/feat.js";
function addPlayerDescription(monster, action) {
- let playerDescription = `</section>\nT... | 7 |
diff --git a/package.json b/package.json "fs": "0.0.1-security",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.2",
- "neon-js": "git+https://github.com/hbibkrim/neon-js.git#update-api",
+ "neon-js": "git+https://github.com/CityOfZion/neon-js.git",
"qrcode": "^0.8.2",
"react": "^15.0.2",
"react-ace": "^5.0.1",
| 3 |
diff --git a/package.json b/package.json "eslint-plugin-react": "^7.1.0",
"extract-text-webpack-plugin": "^2.1.2",
"file-loader": "^0.11.2",
- "fileicon": "^0.1.8",
"filesize": "^3.5.5",
"find-cache-dir": "^1.0.0",
"flow-bin": "^0.52.0",
| 2 |
diff --git a/test/endtoend/create-react-app/src/App.js b/test/endtoend/create-react-app/src/App.js @@ -4,6 +4,7 @@ import Tus from '@uppy/tus'
import GoogleDrive from '@uppy/google-drive'
import { Dashboard, DashboardModal } from '@uppy/react'
// import { Dashboard, DashboardModal, DragDrop, ProgressBar } from '@uppy/r... | 0 |
diff --git a/src/neat.js b/src/neat.js @@ -48,8 +48,8 @@ var config = require('./config');
*/
let Neat = function (dataset, {
generation = 0, // internal variable
- input = 0,
- output = 0,
+ input = 1,
+ output = 1,
equal = true,
clean = false,
popsize = 50,
| 12 |
diff --git a/components/component-docs.json b/components/component-docs.json "required": false,
"description": "A footer is an optional. Buttons are often placed here."
},
- "footerActions": {
+ "footerWalkthroughActions": {
"type": {
"name": "union",
"value": [
"required": false,
"description": "Used with `walkthrough... | 3 |
diff --git a/ts-defs-src/test-api/assertions.d.ts b/ts-defs-src/test-api/assertions.d.ts @@ -111,14 +111,14 @@ interface Assertion<E = any> {
* @param message - An assertion message that will be displayed in the report if the test fails.
* @param options - Assertion options.
*/
- typeOf(typeName: 'function' | 'object' ... | 0 |
diff --git a/js/bittrex.js b/js/bittrex.js @@ -285,7 +285,7 @@ module.exports = class bittrex extends Exchange {
'ask': this.safeFloat (ticker, 'Ask'),
'askVolume': undefined,
'vwap': undefined,
- 'open': undefined,
+ 'open': previous,
'close': last,
'last': last,
'previousClose': undefined,
| 12 |
diff --git a/token-metadata/0x9Cb2f26A23b8d89973F08c957C4d7cdf75CD341c/metadata.json b/token-metadata/0x9Cb2f26A23b8d89973F08c957C4d7cdf75CD341c/metadata.json "symbol": "DZAR",
"address": "0x9Cb2f26A23b8d89973F08c957C4d7cdf75CD341c",
"decimals": 6,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/core/Animation.js b/src/core/Animation.js import {
+ isNil,
extend,
isNumber,
isString,
@@ -221,6 +222,14 @@ const Animation = {
for (const p in styles) {
if (styles.hasOwnProperty(p)) {
const values = styles[p];
+ // ignore null values
+ if (!values) {
+ continue;
+ } else if (Array.isArray(values)) {... | 8 |
diff --git a/index.html b/index.html <div id="No ethical consumption" class="achievement achievementlocked" style="background-image: url(images/89.png)" ach-tooltip="Get 5 billion banked infinities. Reward: After eternity you permanently keep 5% of your infinities."><br></div>
</td>
<td>
- <div id="Unique snowflakes" c... | 7 |
diff --git a/test/acceptance/ported/support/ported-server-options.js b/test/acceptance/ported/support/ported-server-options.js @@ -41,7 +41,7 @@ module.exports = _.extend({}, serverOptions, {
whitelist: ['http://127.0.0.1:8033/{s}/{z}/{x}/{y}.png'],
fallbackImage: {
type: 'fs',
- src: path.join(__dirname, '/../../test/... | 1 |
diff --git a/lib/findProjectRoot.js b/lib/findProjectRoot.js import fs from 'fs';
import path from 'path';
+const NODE_MODULES_PATTERN = /\/node_modules$/;
+
function findRecursive(directory) {
if (directory === '/') {
throw new Error('No project root found');
}
const pathToPackageJson = path.join(directory, 'package.j... | 5 |
diff --git a/.eslintrc.json b/.eslintrc.json "code": 100,
"tabWidth": 4,
"ignoreStrings": true,
- "ignoreRegExpLiterals": true
+ "ignoreRegExpLiterals": true,
+ "ignoreUrls": true
}
],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
| 8 |
diff --git a/core/block.js b/core/block.js @@ -2224,16 +2224,15 @@ Blockly.Blocks['let_typed'] = {
this.createDropDownChangeFunction());
this.appendDummyInput('VARIABLE')
.appendField('let')
- .appendField(variable_field, 'VAR')
- .setTypeExpr(A);
+ .appendField(variable_field, 'VAR');
this.appendValueInput('EXP1')
.se... | 1 |
diff --git a/src/views/thread/style.js b/src/views/thread/style.js @@ -22,6 +22,7 @@ export const View = styled(FlexCol)`
`}
flex: auto;
align-items: stretch;
+ overflow-y: scroll;
@media (max-width: 1024px) {
background-color: ${({ theme }) => theme.bg.default};
| 1 |
diff --git a/lib/route/calendar.js b/lib/route/calendar.js @@ -146,7 +146,7 @@ router.get('/teamview/', function(req, res){
);
var base_date = validator.isDate(req.param('date'))
- ? moment(req.param('date'), req.user.company.get_default_date_format())
+ ? moment(req.param('date'))
: moment();
var team_view = new TeamV... | 1 |
diff --git a/edit.js b/edit.js @@ -1329,6 +1329,7 @@ const [
const idsStart = new Uint32Array(messageData.buffer, idsFreeEntry, 1)[0];
const skyLightsStart = new Uint32Array(messageData.buffer, skyLightsFreeEntry, 1)[0];
const torchLightsStart = new Uint32Array(messageData.buffer, torchLightsFreeEntry, 1)[0];
+ const p... | 0 |
diff --git a/src/parser/templateStrings.js b/src/parser/templateStrings.js @@ -140,11 +140,11 @@ const applyConstraint = (value, constraint) => {
// min:1
// max:3
const splitConstraint = constraint.split(":");
- const match = splitConstraint[0];
+ const multiConstraint = splitConstraint[0].split("*");
+ const match = ... | 7 |
diff --git a/books/templates/index.html b/books/templates/index.html <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="shortcut icon" href="/favicon.ico">
<title>Kamu</title>
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r]... | 0 |
diff --git a/packages/app/src/server/middlewares/certify-shared-file.js b/packages/app/src/server/middlewares/certify-shared-file.js +import { AttachmentType } from '~/server/interfaces/attachment';
import loggerFactory from '~/utils/logger';
+
const url = require('url');
const logger = loggerFactory('growi:middleware:... | 11 |
diff --git a/packages/gallery/src/components/item/loveButton/loveButton.js b/packages/gallery/src/components/item/loveButton/loveButton.js @@ -11,7 +11,6 @@ class LoveButton extends GalleryComponent {
this.onKeyPress = this.onKeyPress.bind(this);
this.state = {
- loveButtonToggledToLove: undefined,
animate: false,
};
}... | 2 |
diff --git a/packages/mjml-image/src/index.js b/packages/mjml-image/src/index.js @@ -8,11 +8,11 @@ export default class MjImage extends BodyComponent {
static tagOmission = true
static allowedAttributes = {
- 'alt': 'string',
- 'href': 'string',
- 'src': 'string',
- 'srcset': 'string',
- 'title': 'string',
+ alt: 'stri... | 9 |
diff --git a/Utilities.js b/Utilities.js @@ -28,6 +28,8 @@ function dynamicDecimals (value) {
if (Math.trunc(value * 100) < 1) { decimals = 6 }
if (Math.trunc(value * 10000) < 1) { decimals = 8 }
if (Math.trunc(value * 1000000) < 1) { decimals = 10 }
+ if (Math.trunc(value * 100000000) < 1) { decimals = 12 }
+ if (Math... | 7 |
diff --git a/Source/DataSources/KmlDataSource.js b/Source/DataSources/KmlDataSource.js @@ -3349,6 +3349,7 @@ function load(dataSource, entityCollection, data, options) {
* @property {Boolean} [clampToGround=false] true if we want the geometry features (Polygons, LineStrings and LinearRings) clamped to the ground.
* @pr... | 3 |
diff --git a/articles/libraries/lock/v11/configuration.md b/articles/libraries/lock/v11/configuration.md @@ -295,7 +295,9 @@ Options for the `window.open` [position and size][windowopen-link] features. Thi
```js
var options = {
- redirect: false,
+ auth: {
+ redirect: false
+ },
popupOptions: { width: 300, height: 400,... | 1 |
diff --git a/sparta_constants.go b/sparta_constants.go @@ -73,6 +73,8 @@ const (
LambdaPrincipal = "lambda.amazonaws.com"
// @enum AWSPrincipal
ElasticLoadBalancingPrincipal = "elasticloadbalancing.amazonaws.com"
+ // @enum KinesisFirehosePrincipal
+ KinesisFirehosePrincipal = "firehose.amazonaws.com"
)
type contextKey... | 0 |
diff --git a/src/traces/violin/hover.js b/src/traces/violin/hover.js 'use strict';
+var tinycolor = require('tinycolor2');
+
+var Color = require('../../components/color');
var Lib = require('../../lib');
var Axes = require('../../plots/cartesian/axes');
var boxHoverPoints = require('../box/hover');
@@ -75,7 +78,15 @@ ... | 9 |
diff --git a/docs/README.md b/docs/README.md @@ -113,11 +113,11 @@ If it returns a descriptive answer, e.g. ``v8.9.0``, then Node is correctly inst
Once both Git and Node are set up, install the rest of the tools as follows: on MacOS or Linux open a terminal and type
- sudo npm install -g gulp mocha jsdoc eslint modcle... | 2 |
diff --git a/lib/runtime/console2.js b/lib/runtime/console2.js @@ -74,7 +74,7 @@ export function activate (ink) {
// doesn't handle multiline URIs properly due to upstream bug (xterm.js#24)
terminal.terminal.registerLinkMatcher(uriRegex, linkHandler, {validationCallback: validator})
- proc.onExit(() => {
+ client.onDet... | 9 |
diff --git a/html/settings/_settings.scss b/html/settings/_settings.scss @@ -166,7 +166,7 @@ $sprk-icon-custom-stroke-width-xl: 3px !default;
///
/// Width value for the Centered Column layout container.
-$sprk-centered-column-width: 77rem !default;
+$sprk-centered-column-width: 64rem !default;
//
// Layers
| 12 |
diff --git a/app/components/Wallet/BackupBrainkey.jsx b/app/components/Wallet/BackupBrainkey.jsx @@ -4,7 +4,7 @@ import Translate from "react-translate-component";
import WalletActions from "actions/WalletActions";
import WalletDb from "stores/WalletDb";
import {hash} from "bitsharesjs";
-import {Card} from "bitshares-... | 14 |
diff --git a/src/tagui_parse.php b/src/tagui_parse.php @@ -245,7 +245,8 @@ else return $params.end_fi()."\n";}
function code_intent($raw_intent) {
$params = $raw_intent; // natural language handling for conditions
-if ((strpos($params,"if")!==false) or (strpos($params,"for")!==false) or (strpos($params,"while")!==false... | 7 |
diff --git a/core/workspace_svg.js b/core/workspace_svg.js @@ -1450,7 +1450,7 @@ Blockly.WorkspaceSvg.prototype.pasteWorkspaceComment_ = function(xmlComment) {
Blockly.Events.enable();
}
if (Blockly.Events.isEnabled()) {
- // TODO: Fire a Workspace Comment Create event.
+ Blockly.WorkspaceComment.fireCreateEvent(commen... | 2 |
diff --git a/main/filtering.js b/main/filtering.js @@ -10,6 +10,43 @@ var enabledFilteringOptions = {
exceptionDomains: []
}
+const globalParamsToRemove = [
+ // microsoft
+ 'msclkid',
+ // google
+ 'gclid',
+ 'dclid',
+ // facebook
+ 'fbclid',
+ // yandex
+ 'yclid',
+ '_openstat',
+ // adobe
+ 'icid',
+ // instagram
+... | 2 |
diff --git a/articles/libraries/auth0js/v9/migration-guide.md b/articles/libraries/auth0js/v9/migration-guide.md @@ -14,9 +14,9 @@ Auth0.js can be used to implement authentication in different ways:
- Embedded Login, using the `.login()`, `popup.loginWithCredentials()`, `client.loginWithCredentials()` methods, where th... | 0 |
diff --git a/.github/workflows/php-tests.yml b/.github/workflows/php-tests.yml @@ -20,9 +20,7 @@ jobs:
mysql:
image: mysql:5.7
env:
- MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: wordpress
- MYSQL_ROOT_PASSWORD: ''
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
@@ -43,7 +41,7 @@ jobs:
- name: C... | 12 |
diff --git a/scripts/compile-sounds.sh b/scripts/compile-sounds.sh # input: directory of wav files
# output: mp3 data file and json metadata file
-ls {walk,run,jump,land,narutoRun,food}/*.wav | sort -n >sound-files.txt
+ls {walk,run,jump,land,narutoRun,food,combat}/*.wav | sort -n >sound-files.txt
# cat sounds.txt | aw... | 0 |
diff --git a/docs/elements/tip.html b/docs/elements/tip.html @@ -8,7 +8,7 @@ prev: "elements-tag"
<div class="siimple-h2">Tip</div>
<div class="siimple-p">
- Add <code class="siimple-code">siimple-tip</codde> to a <code class="siimple-code">div</code> tag to create a tip element.
+ Add <code class="siimple-code">siimpl... | 1 |
diff --git a/tests/e2e/specs/StartTimerEvent.spec.js b/tests/e2e/specs/StartTimerEvent.spec.js @@ -20,30 +20,29 @@ describe('Start Timer Event', () => {
const now = new Date();
const today = now.getDate().toString().padStart(2, '0');
- it('can set a specific start date', () => {
- const toggledPeriod = moment(now).form... | 12 |
diff --git a/components/base-adresse-nationale/tooltip.js b/components/base-adresse-nationale/tooltip.js @@ -22,7 +22,7 @@ function Tooltip({isCertified, message, direction, children}) {
color: #fff;
text-align: center;
border-radius: 4px;
- padding: 5px 0;
+ padding: 5px;
/* Position the tooltip */
position: absolute;... | 0 |
diff --git a/token-metadata/0x5Cf04716BA20127F1E2297AdDCf4B5035000c9eb/metadata.json b/token-metadata/0x5Cf04716BA20127F1E2297AdDCf4B5035000c9eb/metadata.json "symbol": "NKN",
"address": "0x5Cf04716BA20127F1E2297AdDCf4B5035000c9eb",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/bbs-plus-presentation.js b/src/bbs-plus-presentation.js @@ -79,20 +79,7 @@ export default class BbsPlusPresentation {
typeof credentialSchema === 'string'
? JSON.parse(credentialSchema)
: credentialSchema,
- ) : new CredentialSchema({
- ...CredentialSchema.essential(),
- type: 'object',
- properties: {... | 4 |
diff --git a/assets/js/modules/analytics-4/components/dashboard/ActivationBanner/index.js b/assets/js/modules/analytics-4/components/dashboard/ActivationBanner/index.js @@ -84,24 +84,19 @@ export default function ActivationBanner() {
[ accountID ]
);
- const setupBannerErrors = useSelect( ( select ) => {
- const errors... | 7 |
diff --git a/config/application.rb b/config/application.rb @@ -199,7 +199,7 @@ module CartoDB
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
- config.action_controller.relative_url_root = "/assets/#{frontend_version}"
+ config.action_controller.relative_url_roo... | 2 |
diff --git a/accessibility-checker-extension/src/ts/options/OptionsApp.tsx b/accessibility-checker-extension/src/ts/options/OptionsApp.tsx @@ -373,7 +373,15 @@ class OptionsApp extends React.Component<{}, OptionsAppState> {
</div>
);
} else {
- return <div>error: can not get archives or rulesets</div>;
+ return (
+ <di... | 3 |
diff --git a/articles/client-auth/current/mobile-desktop.md b/articles/client-auth/current/mobile-desktop.md @@ -20,6 +20,7 @@ If you would like to implement this functionality using either Lock or one of th
* [Lock for Web](/libraries/lock)
* [Lock for iOS](/libraries/lock-ios)
* [Lock for Android](/libraries/lock-and... | 14 |
diff --git a/iris/mutations/channel/editChannel.js b/iris/mutations/channel/editChannel.js @@ -44,7 +44,9 @@ export default async (
if (
currentUserCommunityPermissions.isOwner ||
- currentUserChannelPermissions.isOwner
+ currentUserChannelPermissions.isOwner ||
+ currentUserCommunityPermissions.isModerator ||
+ curren... | 11 |
diff --git a/apps/viewer/uicallbacks.js b/apps/viewer/uicallbacks.js @@ -296,75 +296,6 @@ function draw(e) {
}
}
-// function drawLabel(e) {
-// if (!$CAMIC.viewer.canvasDrawInstance) {
-// alert('Draw Doesn\'t Initialize');
-// return;
-// }
-
-// if (e.status) {
-// if ($CAMIC.status == 'label') {
-// presetLabelOn.c... | 1 |
diff --git a/PostHeadersQuestionToc.user.js b/PostHeadersQuestionToc.user.js // @description Sticky post headers while you view each post (helps for long posts). Question ToC of Answers in sidebar.
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.7.3
+// @version 1.7.4
//
//... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,16 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.24.2] -- 2017-03-10
+
+### Fixed
+- Fix removal of last annotation or shape [#1451]
+- Fix shape and image clip path removal [#1453]
... | 3 |
diff --git a/packages/browser-sync/package.json b/packages/browser-sync/package.json "etag": "^1.8.1",
"fresh": "^0.5.2",
"fs-extra": "3.0.1",
- "http-proxy": ">=1.18.1",
+ "http-proxy": "^1.18.1",
"immutable": "^3",
"localtunnel": "1.9.2",
"micromatch": "^3.1.10",
| 4 |
diff --git a/UI/src/app/_components/tally/tally.component.html b/UI/src/app/_components/tally/tally.component.html <h2 class="lead mt-5" *ngIf="devices.length == 0">No devices are available for tally monitoring at this time.</h2>
</div>
-<div [class]="'d-flex flex-column max-height container-fluid pt-5 ' + (mode_progra... | 12 |
diff --git a/token-metadata/0xDcfE18bc46f5A0Cd0d3Af0c2155d2bCB5AdE2fc5/metadata.json b/token-metadata/0xDcfE18bc46f5A0Cd0d3Af0c2155d2bCB5AdE2fc5/metadata.json "symbol": "HUE",
"address": "0xDcfE18bc46f5A0Cd0d3Af0c2155d2bCB5AdE2fc5",
"decimals": 4,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/modules/core/src/lib/layer.js b/modules/core/src/lib/layer.js @@ -513,13 +513,12 @@ export default class Layer extends Component {
// Call subclass lifecycle methods
this.updateState(updateParams);
+ // End subclass lifecycle methods
- // Render or update previously rendered sublayers
if (this.isComposite)... | 2 |
diff --git a/packages/node_modules/@node-red/util/lib/util.js b/packages/node_modules/@node-red/util/lib/util.js * @mixin @node-red/util_util
*/
-const clone = require("clone");
const clonedeep = require("lodash.clonedeep");
const jsonata = require("jsonata");
const safeJSONStringify = require("json-stringify-safe");
| 2 |
diff --git a/client/templates/topic/topicInfoItemList.js b/client/templates/topic/topicInfoItemList.js @@ -5,6 +5,7 @@ import { Minutes } from '/imports/minutes';
import { ReactiveVar } from 'meteor/reactive-var';
import { ConfirmationDialogFactory } from '../../helpers/confirmationDialogFactory';
import {InfoItemFacto... | 7 |
diff --git a/components/bases-locales/charte/partners-searchbar.js b/components/bases-locales/charte/partners-searchbar.js -import {useState, useCallback, useEffect} from 'react'
+import {useState, useCallback, useEffect, useMemo} from 'react'
import {debounce, intersection} from 'lodash'
import {getCommunes, getByCode... | 7 |
diff --git a/cli/commands.js b/cli/commands.js @@ -111,12 +111,14 @@ const defaultCommands = {
By default everything is run in parallel. If you like to interact with the console use '--interactive' flag.`,
help: `
Arguments:
- jdlFiles # The JDL file names Type: String[] Required: true if --inline is not set
+ jdlFiles... | 3 |
diff --git a/src/actions/posts.js b/src/actions/posts.js @@ -6,7 +6,7 @@ import { resetEditor } from '../actions/editor'
export function createPost(body, editorId, repostId, repostedFromId, artistInviteId) {
const data = body.length ? { body } : null
- if (data && artistInviteId) {
+ if (data && !repostId && !repostedF... | 11 |
diff --git a/lib/carto/oauth_provider/scopes.rb b/lib/carto/oauth_provider/scopes.rb @@ -270,7 +270,7 @@ module Carto
end
end
- return [datasets, non_datasets]
+ [datasets, non_datasets]
end
def self.subtract_dataset_scopes(datasets1, datasets2)
| 2 |
diff --git a/packages/openneuro-app/src/client.jsx b/packages/openneuro-app/src/client.jsx @@ -24,7 +24,7 @@ ReactDOM.render(
<ApolloProvider
client={createClient(`${config.url}/crn/graphql`, {
clientVersion: version,
- enableWebsocket: false,
+ enableWebsocket: true,
cache: new InMemoryCache({
typePolicies: {
Query: {... | 1 |
diff --git a/ui/js/lbryio.js b/ui/js/lbryio.js @@ -57,18 +57,17 @@ lbryio.call = function(resource, action, params, method='get') {
console.log('loaded');
const response = JSON.parse(xhr.responseText);
- if (response.error) {
+ if (!response.success) {
if (reject) {
reject(new Error(response.error));
} else {
document.... | 7 |
diff --git a/src/docs/permalinks.md b/src/docs/permalinks.md @@ -119,7 +119,7 @@ Both of the above examples will write to `_site/this-is-a-new-path/subdirectory/
### `permalink: false`
-If you set the `permalink` value to be `false`, this will disable writing the file to disk in your output folder. The file will still ... | 1 |
diff --git a/source/views/menu/MenuOptionView.js b/source/views/menu/MenuOptionView.js import { Class } from '../../core/Core.js';
+import { create as el } from '../../dom/Element.js';
import { cancel, invokeAfterDelay } from '../../foundation/RunLoop.js';
import { PopOverView } from '../panels/PopOverView.js';
import ... | 0 |
diff --git a/test/form.html b/test/form.html <textarea class="siimple-textarea siimple-textarea--fluid"></textarea>
<div class="siimple-field-helper">This field can't be empty</div>
</div>
+ <!-- Select a topic -->
+ <div class="siimple-field">
+ <div class="siimple-field-label">Select a topic</div>
+ <div class="siimp... | 1 |
diff --git a/includes/Modules/Analytics/Advanced_Tracking/Measurement_Code_Injector.php b/includes/Modules/Analytics/Advanced_Tracking/Measurement_Code_Injector.php @@ -47,6 +47,7 @@ final class Measurement_Code_Injector {
public function __construct( $event_configurations ) {
$this->event_configurations = Measurement_... | 5 |
diff --git a/js/webcomponents/bisweb_grapherelement.js b/js/webcomponents/bisweb_grapherelement.js @@ -130,7 +130,7 @@ class GrapherModule extends HTMLElement {
<li><a class='dropdown-item' href='#'>Another Item<br></a></li>
<li><a class='dropdown-item' href='#'>One More Item<br></a></li>
<li><a class='dropdown-item' h... | 1 |
diff --git a/jsdoc.json b/jsdoc.json "search": false,
"sort": true,
"outputSourceFiles": false,
- "outputSourcePath": false
+ "outputSourcePath": false,
+ "methodHeadingReturns": true
}
}
| 0 |
diff --git a/test/jasmine/tests/select_test.js b/test/jasmine/tests/select_test.js @@ -916,6 +916,16 @@ describe('Test select box and lasso per trace:', function() {
.then(function() {
return Plotly.relayout(gd, 'dragmode', 'select');
})
+ .then(function() {
+ // For some reason we need this to make the following tests... | 0 |
diff --git a/shared/graphql/queries/user/getCurrentUserEverythingFeed.js b/shared/graphql/queries/user/getCurrentUserEverythingFeed.js @@ -54,10 +54,11 @@ const getCurrentUserEverythingOptions = {
user,
networkStatus,
refetch,
- threads: user ? user.everything.edges : '',
+ threads: user && user.everything ? user.every... | 1 |
diff --git a/package.json b/package.json "@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/runtime": "^7.4.4",
- "@pact-foundation/pact": "10.0.0-beta.31",
+ "@pact-foundation/pact": "10.0.0-beta.33",
"babel-jest": "^26.6.3",
"babel-loader": "^8.0.5",
"chai": "^4.2.0",
| 3 |
diff --git a/package.json b/package.json {
"name": "prettier-atom",
"main": "./dist/main.js",
- "version": "0.34.0",
+ "version": "0.35.0",
"description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration",
"keywords": [
"atom",
| 6 |
diff --git a/snippets/button-style.jsx b/snippets/button-style.jsx @@ -42,9 +42,12 @@ function toggleEnablement({value: checked}) {
}
function toggleCornerRadius({value: checked}) {
- contentView.find(Button).forEach((button) => button.cornerRadius = checked ? 40 : 4);
+ contentView.find(Button).forEach((button) => but... | 7 |
diff --git a/src/js/controller/dialogs/importwizard/steps/ImageImport.js b/src/js/controller/dialogs/importwizard/steps/ImageImport.js var name = this.extractFileNameFromPath_(this.file_.name);
// Remove extension from filename.
name = name.replace(/\.[a-zA-Z]+$/, '');
- return new Promise(function (resolve, reject) {
... | 14 |
diff --git a/plugins/dns_service/app/controllers/dns_service/create_zone_wizard_controller.rb b/plugins/dns_service/app/controllers/dns_service/create_zone_wizard_controller.rb @@ -77,8 +77,8 @@ module DnsService
# 0. find project to get domain_id
requested_parent_zone_project = services.identity.find_project(requested... | 10 |
diff --git a/docker-compose.yml b/docker-compose.yml @@ -16,11 +16,11 @@ services:
- "9000:9000"
environment:
- DATABASE_URL=jdbc:postgresql://db:5432/sidewalk
- - SIDEWALK_CITY_ID=columbus-oh
+ - SIDEWALK_CITY_ID=DUMMY_CITY_ID
- SIDEWALK_EMAIL_ADDRESS=DUMMY_EMAIL_ADDRESS
- SIDEWALK_EMAIL_PASSWORD=DUMMY_EMAIL_PASSWORD
... | 13 |
diff --git a/src/renderer/scss/component/_button.scss b/src/renderer/scss/component/_button.scss @@ -62,7 +62,7 @@ button:disabled {
font-size: 1em;
color: var(--btn-color-inverse);
border-radius: 0;
- display: inline-block;
+ display: inline;
min-width: 0;
box-shadow: none;
text-align: left;
| 12 |
diff --git a/src/components/App.js b/src/components/App.js @@ -111,7 +111,7 @@ class App extends Component {
this.treeHash = this.generateTreeHash()
this.attachedEngineControllers = [null, null]
- this.engineBoards = [null, null]
+ this.engineStates = [null, null]
// Expose submodules
@@ -1891,7 +1891,7 @@ class App ex... | 14 |
diff --git a/website/versioned_docs/version-0.5/running-on-device.md b/website/versioned_docs/version-0.5/running-on-device.md @@ -265,7 +265,7 @@ $ nslookup 10.0.1.123.xip.io
If it doesn't resolve your local IP address either the **xip.io** service is down or more likely your router prevents it.
-To still use xip.io b... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -50634,6 +50634,16 @@ var $$IMU_EXPORT$$;
return src.replace(/\/data\/upload\/[0-9]+\//, "/data/upload/");
}
+ if (domain === "img.hmv.co.jp") {
+ // thanks to Urkchar on discord
+ // https://img.hmv.co.jp/image/backimage.gif
+ if (/\/image\/+backimage\.gif(?:[?#]... | 8 |
diff --git a/tests/phpunit/integration/Core/Authentication/Clients/OAuth_ClientTest.php b/tests/phpunit/integration/Core/Authentication/Clients/OAuth_ClientTest.php @@ -49,8 +49,7 @@ class OAuth_ClientTest extends TestCase {
$client->refresh_token();
- // Google client must be initialized first
- $this->assertEquals( '... | 3 |
diff --git a/articles/libraries/auth0js/v9/migration-guide.md b/articles/libraries/auth0js/v9/migration-guide.md @@ -30,7 +30,9 @@ Migration to v9 will depend on how you are using auth0.js:
| In your application, to implement embedded login | Required |
| In a customized hosted page | Not Supported |
-(*) There a certa... | 3 |
diff --git a/lib/optimize/SplitChunksPlugin.js b/lib/optimize/SplitChunksPlugin.js @@ -167,7 +167,7 @@ module.exports = class SplitChunksPlugin {
// Filenames and paths can't be too long otherwise an
// ENAMETOOLONG error is raised. If the generated name if too
// long, it is truncated and a hash is appended. The limit... | 3 |
diff --git a/shared/js/content-scripts/click-to-load.js b/shared/js/content-scripts/click-to-load.js closeIcon = response
})
- /** TODO - Add message handler in message-handlers.js to return a Share Feedback Link
- * generated by `browserUIWrapper` ('../ui/base/ui-wrapper.es6.js')
- */
- sendMessage('getShareFeedbackLi... | 2 |
diff --git a/assets/js/modules/tagmanager/components/common/ContainerSelect.test.js b/assets/js/modules/tagmanager/components/common/ContainerSelect.test.js @@ -35,39 +35,6 @@ describe( 'ContainerSelect', () => {
registry.dispatch( MODULES_TAGMANAGER ).receiveGetExistingTag( null );
} );
- it( 'should be disabled if th... | 2 |
diff --git a/src/commands/view/ComponentDrag.js b/src/commands/view/ComponentDrag.js @@ -308,7 +308,7 @@ export default {
};
},
- onStart() {
+ onStart(event) {
const { target, editor, isTran, opts } = this;
const { center, onStart } = opts;
const { Canvas } = editor;
| 4 |
diff --git a/source/Renderer/shaders/ibl.glsl b/source/Renderer/shaders/ibl.glsl @@ -80,7 +80,6 @@ vec3 getIBLVolumeRefraction(vec3 normal, vec3 viewDirectionW, float perceptualRo
float NdotV = clampedDot(normal, viewDirectionW);
vec2 brdfSamplePoint = clamp(vec2(NdotV, perceptualRoughness), vec2(0.0, 0.0), vec2(1.0, 1... | 2 |
diff --git a/views/stats.ejs b/views/stats.ejs @@ -2442,8 +2442,7 @@ const metaDescription = getMetaDescription()
<div>
<span class="stat-name">[</span>
<span class="stat-value"><%= helper.renderRaceTier(raceTier) %></span>
- <span class="stat-name">]</span>
- <span class="stat-name"> <%= raceName %>: </span>
+ <span c... | 5 |
diff --git a/lod.js b/lod.js @@ -287,6 +287,14 @@ const equalsNode = (a, b) => {
const equalsNodeLod = (a, b) => {
return equalsNode(a, b) && a.lodArray.every((lod, i) => lod === b.lodArray[i]);
};
+const containsPoint = (a, p) => {
+ return p.x >= a.min.x && p.x < a.min.x + a.lod &&
+ p.y >= a.min.y && p.y < a.min.y +... | 0 |
diff --git a/addon/templates/components/polaris-text-field.hbs b/addon/templates/components/polaris-text-field.hbs </div>
{{#if connectedLeft}}
- {{component connectedLeft}}
+ {{render-content connectedLeft}}
{{/if}}
<div
onblur={{action handleBlur}}
onclick={{action handleClick}}
>
- <!-- prefix -->
+
+ {{#if prefix}}... | 4 |
diff --git a/plugins/networking/app/models/networking/floating_ip.rb b/plugins/networking/app/models/networking/floating_ip.rb @@ -14,7 +14,7 @@ module Networking
@subnet_object if @subnet_object
subnets = Rails.cache.fetch("network_#{self.floating_network_id}_subnets", expires_in: 1.hours) do
- services.networking.sub... | 1 |
diff --git a/src/mavoscript.js b/src/mavoscript.js @@ -136,6 +136,23 @@ var _ = Mavo.Script = {
return operatorDefinition && operatorDefinition.comparison;
}
},
+
+ isStatic: node => {
+ if (node.type === "Identifier") {
+ return false;
+ }
+
+ for (let property of _.childProperties) {
+ if (node[property] && property ... | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.