code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/lib/datapacktypes/omniscript.js b/lib/datapacktypes/omniscript.js @@ -91,7 +91,7 @@ OmniScript.prototype.afterActivationSuccess = async function(inputMap) {
var jobInfo = inputMap.jobInfo;
var dataPack = inputMap.dataPack;
- if(!jobInfo.checkLWCActivation){
+ if(!jobInfo.ignoreLWCActivation && !jobInfo.che... | 8 |
diff --git a/datalad_service/app.py b/datalad_service/app.py import falcon
from datalad_service.common import raven
-from datalad_service.common.celery import app
+from datalad_service.common.celery import app, publish_queue
+from datalad_service.tasks.audit import audit_datasets
from datalad_service.datalad import Dat... | 1 |
diff --git a/cli.js b/cli.js @@ -12,7 +12,7 @@ module.exports = function (dir, options) {
validate.BIDS(dir, options, function (issues, summary) {
var errors = issues.errors;
var warnings = issues.warnings;
- if (issues === 'Invalid') {
+ if (issues.errors.length === 1 && issues.errors[0].code === 61) {
console.log(col... | 9 |
diff --git a/templates/master/test/lex.js b/templates/master/test/lex.js @@ -17,11 +17,7 @@ var exists = require('./util').exists
var run = require('./util').run
var api = require('./util').api
-function sleep(ms){
- // return new Promise(resolve=>{
- // setTimeout(resolve,ms)
- // })
-}
+
module.exports = {
setUp: fun... | 1 |
diff --git a/packages/harden/src/main.js b/packages/harden/src/main.js @@ -18,15 +18,21 @@ import makeHardener from '@agoric/make-hardener';
import buildTable from './buildTable.js';
// Try to use SES's own harden if available.
-let h = typeof harden !== 'undefined' && harden;
-if (!h) {
+let h = typeof harden === 'und... | 11 |
diff --git a/platform_services/components/crud/getList.js b/platform_services/components/crud/getList.js @@ -84,7 +84,7 @@ module.exports = (query, getAllRecords, onComplete) => {
});
}
- if (!getAllRecords || (global.userId && !_.includes(global.config.admin_users, global.userId.toLowerCase()))) {
+ if (/*!getAllRecor... | 8 |
diff --git a/test/builders/capsule-query.test.js b/test/builders/capsule-query.test.js @@ -3,7 +3,8 @@ const request = require('supertest');
const app = require('../../src/app');
beforeAll((done) => {
- app.on('ready', () => {
+ app.on('ready', async () => {
+ jest.setTimeout(10000);
done();
});
});
@@ -12,65 +13,58 @@... | 3 |
diff --git a/src/components/ProductDetailOptionsList/ProductDetailOptionsList.js b/src/components/ProductDetailOptionsList/ProductDetailOptionsList.js @@ -26,7 +26,6 @@ const styles = (theme) => ({
});
@withStyles(styles, { withTheme: true })
-@inject("uiStore")
@observer
export default class OptionsList extends Compon... | 2 |
diff --git a/examples/CustomArrows.js b/examples/CustomArrows.js import React, { Component } from 'react'
-import createReactClass from 'create-react-class'
import Slider from '../src/slider'
-var SampleNextArrow = createReactClass({
- render: function() {
- const {className, style, onClick} = this.props
+function Samp... | 2 |
diff --git a/Dockerfile b/Dockerfile @@ -30,7 +30,6 @@ COPY package.json /usr/src/app/
COPY npm-shrinkwrap.json /usr/src/app/
RUN npm install --production && npm cache clean --force
COPY . /usr/src/app
-RUN chmod a+w /usr/src/app
COPY docker/scripts/start.sh /start.sh
| 13 |
diff --git a/lib/node_modules/@stdlib/math/fast/special/int32-sqrt/test/test.js b/lib/node_modules/@stdlib/math/fast/special/int32-sqrt/test/test.js var tape = require( 'tape' );
var minstd = require( '@stdlib/math/base/random/minstd-shuffle' );
-var SQRT = require( '@stdlib/math/base/special/sqrt' );
+var sqrt = requi... | 14 |
diff --git a/src/components/play-mode/minimap/minimap.module.css b/src/components/play-mode/minimap/minimap.module.css margin-bottom: 20px;
width: 180px;
height: 180px;
- border-radius: 50%;
+ /* border-radius: 50%; */
background-color: #000;
image-rendering: pixelated;
}
| 2 |
diff --git a/bin/idyll.js b/bin/idyll.js @@ -27,7 +27,6 @@ var argv = require('yargs')
.describe('datasets', 'Directory where data files are located')
.default('datasets', 'data')
.describe('defaultComponents', 'Directory where default set of components are located')
- .default('defaultComponents', 'components/default'... | 2 |
diff --git a/kitty-items-go/services/kibbles.go b/kitty-items-go/services/kibbles.go @@ -3,10 +3,23 @@ package services
import (
"context"
+ "github.com/onflow/cadence"
"github.com/onflow/flow-go-sdk"
)
-const mintKibblesTemplate = ``
+const mintKibblesTemplate = `
+import DietKibbles from 0x06f65a4f32bba850
+import Fu... | 0 |
diff --git a/_CodingChallenges/90-floyd-steinberg-dithering.md b/_CodingChallenges/90-floyd-steinberg-dithering.md @@ -32,9 +32,9 @@ contributions:
- title: "Image dithering in python that outputs to CSS"
author:
name: "MeaningOf42"
- url: "github.com/MeaningOf42"
- url: "meaningof42.github.io/pointless-site/css_dither... | 1 |
diff --git a/packages/idyll-document/src/components/author-tool.js b/packages/idyll-document/src/components/author-tool.js @@ -7,7 +7,6 @@ class AuthorTool extends React.PureComponent {
this.state = { isAuthorView: false, debugHeight: 0};
this.handleClick = this.handleClick.bind(this);
}
-
/* Returns authoring informat... | 2 |
diff --git a/admin-base/materialize/custom/_explorer.scss b/admin-base/materialize/custom/_explorer.scss .explorer {
- width: 100%;
- max-width: 100%;
- padding: 0 0.75rem;
+ position: absolute;
+ top: 64px;
+ padding: 0.75rem 0.75rem 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ overflow: hidden;
+ .nav-explorer {
+ .nav-w... | 11 |
diff --git a/src/components/pinAnimatedInput/views/pinAnimatedInputView.js b/src/components/pinAnimatedInput/views/pinAnimatedInputView.js /* eslint-disable react/no-array-index-key */
import React, { Component } from 'react';
import { View } from 'react-native';
-import Animated, { Easing } from 'react-native-reanimat... | 14 |
diff --git a/components/post.js b/components/post.js @@ -72,12 +72,25 @@ function Post({title, published_at, feature_image, html, backLink}) {
text-align: center;
}
- .kg-bookmark-card {
+ .kg-bookmark-card, .kg-callout-card {
position: relative;
width: 85%;
margin: 1em auto;
}
+ .kg-callout-card {
+ width: 100%;
+ dis... | 0 |
diff --git a/src/html-utils.js b/src/html-utils.js @@ -158,6 +158,7 @@ function renderExamplesList(data) {
function renderModule(data) {
const {symbol} = data;
const value = head(symbol.value);
+ const kind = value.kind;
return `
${renderSymbolHeader(symbol)}
@@ -173,7 +174,7 @@ function renderModule(data) {
${renderLa... | 10 |
diff --git a/website/widgets/ske.js b/website/widgets/ske.js @@ -355,7 +355,7 @@ Ske.searchThes=function(fromp){
$(".skebox .waiter").show();
var lemma=$.trim($(".skebox .textbox").val());
if(lemma!="") {
- $.get(rootPath+dictID+"/skeget/thes/", {url: kex.url, corpus: kex.corpus, username: ske_username, apikey: ske_api... | 1 |
diff --git a/apps/qrcode/custom.html b/apps/qrcode/custom.html </div>
<hr>
<p>Additional options:</p>
- <input type="checkbox" id="hideDescription" name="minimize"/>
+ <input type="checkbox" id="boostBacklight" name="boostBacklight"/>
+ <label for="boostBacklight">Set backlight to max. while QR is shown</label></br>
+ ... | 11 |
diff --git a/package.json b/package.json "ntl": "./bin/run",
"netlify": "./bin/run"
},
- "bugs": "https://github.com/netlify/cli/issues",
+ "bugs": {
+ "url": "https://github.com/netlify/cli/issues"
+ },
"dependencies": {
"@iarna/toml": "^2.0.0",
"@netlify/open-api": "^0.2.0",
| 7 |
diff --git a/inspect.js b/inspect.js @@ -429,14 +429,18 @@ const _bakePackage = async p => {
const manifest = document.getElementById('manifest').value;
console.log('save manifest', manifest);
- if (!isValidManifest(manifest)) return window.alert('Error: invalid manifest!');
+ if (isValidManifest(manifest)) {
p = _upda... | 2 |
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -2441,12 +2441,15 @@ function excentersolve(){
a=parseFloat(document.getElementById('ena').value);
b=parseFloat(document.getElementById('enb').value);
c=parseFloat(document.getElementById('enc').value);
- var excenterop1 = (-a*x1 + b*y1 + c*z1)/(-a+b+c... | 1 |
diff --git a/app/Root.js b/app/Root.js @@ -45,6 +45,7 @@ export default class Root extends Component {
we must load the RustModule and Lovefield DB first.
*/
Promise.all([loadRustModule(), loadLovefieldDB()]).then(() => {
+ console.debug('Root::componentDidMount Async modules loaded');
const api = setupApi();
const rou... | 7 |
diff --git a/parent_composer.js b/parent_composer.js @@ -81,22 +81,30 @@ function findLastStableMcBall(conn, arrWitnesses, onDone){
);
}
-function adjustLastStableMcBall(conn, last_stable_mc_ball_unit, arrParentUnits, handleAdjustedLastStableUnit){
+function adjustLastStableMcBallAndParents(conn, last_stable_mc_ball_un... | 4 |
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -67,7 +67,6 @@ jobs:
working-directory: rule-server/dist
- run: npm install
- postinstall: sed -i " "s/[\"|']use strict[\"|']/;/g" exceljs.js
working-directory: accessibility-checker-engine
- run: npm install
working-directory: accessibility-checke... | 3 |
diff --git a/util.js b/util.js @@ -767,3 +767,20 @@ export const memoize = fn => {
return cache;
};
};
+export function shuffle(array, rng = Math.random) {
+ let currentIndex = array.length, randomIndex;
+
+ // While there remain elements to shuffle...
+ while (currentIndex != 0) {
+
+ // Pick a remaining element...
+ ... | 0 |
diff --git a/assets/js/modules/analytics/datastore/accounts.js b/assets/js/modules/analytics/datastore/accounts.js @@ -31,7 +31,7 @@ import { actions as profileActions } from './profiles';
// Actions
const FETCH_ACCOUNTS_PROPERTIES_PROFILES = 'FETCH_ACCOUNTS_PROPERTIES_PROFILES';
const RECEIVE_ACCOUNTS = 'RECEIVE_ACCOU... | 10 |
diff --git a/assets/js/modules/analytics/components/common/ExistingTagNotice.js b/assets/js/modules/analytics/components/common/ExistingTagNotice.js @@ -26,7 +26,6 @@ import { sprintf, __ } from '@wordpress/i18n';
*/
import Data from 'googlesitekit-data';
import { MODULES_ANALYTICS } from '../../datastore/constants';
-... | 2 |
diff --git a/components/Discussion/Comments.js b/components/Discussion/Comments.js @@ -398,7 +398,7 @@ class Comments extends PureComponent {
return (
<Loader
loading={loading}
- error={error}
+ error={error || (discussion === null && t('discussion/missing'))}
render={() => {
const {totalCount, pageInfo, nodes} = discu... | 9 |
diff --git a/package.json b/package.json {
"name": "design-system-react",
- "version": "0.8.8",
+ "version": "0.8.8-a",
"description": "Salesforce Lightning Design System for React",
"license": "SEE LICENSE IN README.md",
"engines": {
"warning": "^3.0.0"
},
"peerDependencies": {
- "@salesforce-ux/design-system": ">=2.4... | 11 |
diff --git a/planet.js b/planet.js @@ -843,13 +843,6 @@ const _connectRoom = async roomName => {
}
});
- planet.update = () => {
- // update remote player rigs
- for (const peerConnection of peerConnections) {
- peerConnection.getPlayerRig().update();
- }
- };
-
/* channelConnection.addEventListener('botconnection', as... | 5 |
diff --git a/articles/quickstart/spa/angular2/01-login.md b/articles/quickstart/spa/angular2/01-login.md @@ -10,8 +10,6 @@ topics:
github:
path: 01-Login
---
-<%= include('../_includes/_intro', { library: 'Angular 2+' } ) %>
-
<%= include('../_includes/_getting_started', { library: 'Angular 2+', callback: 'http://local... | 2 |
diff --git a/docs/en/API-reference.md b/docs/en/API-reference.md @@ -123,7 +123,7 @@ dayjs().year();
### Month `.month()`
-Returns a `number` representing the `Dayjs`'s month.
+Returns a `number` representing the `Dayjs`'s month. Starts at 0
```js
dayjs().month();
@@ -131,7 +131,7 @@ dayjs().month();
### Day of the Mon... | 0 |
diff --git a/src/inertia.js b/src/inertia.js @@ -17,6 +17,7 @@ export default {
if (window.history.state && this.navigationType() === 'back_forward') {
this.setPage(window.history.state)
} else {
+ window.history.state.cache = null
this.setPage(initialPage)
}
@@ -142,7 +143,11 @@ export default {
|| page.url === window... | 1 |
diff --git a/src/pages/home/sidebar/SidebarLinks.js b/src/pages/home/sidebar/SidebarLinks.js @@ -260,7 +260,7 @@ class SidebarLinks extends React.Component {
hasDraftHistory = lodashGet(this.props.reports, `${ONYXKEYS.COLLECTION.REPORT}${this.props.currentlyViewedReportID}.hasDraft`, false);
}
- const shouldReorder = t... | 10 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -207,6 +207,28 @@ npm run test-jasmine -- --help
npm run test-jasmine -- --info
```
+### Draft new baseline
+Install fonts and tools
+```sh
+# install required fonts (if missing) on ubuntu
+sudo cp -r .circleci/fonts/ /usr/share/ && sudo fc-cache -f
+# upgrade pip (if n... | 0 |
diff --git a/token-metadata/0xCA0e7269600d353F70b14Ad118A49575455C0f2f/metadata.json b/token-metadata/0xCA0e7269600d353F70b14Ad118A49575455C0f2f/metadata.json "symbol": "AMLT",
"address": "0xCA0e7269600d353F70b14Ad118A49575455C0f2f",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/server/game/cards/02.1-ToA/SmokeAndMirrors.js b/server/game/cards/02.1-ToA/SmokeAndMirrors.js @@ -17,7 +17,7 @@ class SmokeAndMirrors extends DrawCard {
},
handler: context => {
this.game.addMessage('{0} uses {1} to send {2} home', this.controller, this, context.target);
- _.each(context.target, card => th... | 4 |
diff --git a/src/MUIDataTable.js b/src/MUIDataTable.js @@ -421,7 +421,7 @@ class MUIDataTable extends React.Component {
column.options.sortDirection = 'none';
}
- if (column.options.sortDirection !== undefined) {
+ if (column.options.sortDirection !== undefined && column.options.sortDirection !== 'none') {
if (sortDire... | 11 |
diff --git a/articles/rules/legacy/index.md b/articles/rules/legacy/index.md @@ -65,10 +65,6 @@ Rules containing shared functions should be placed at the top of the [Rules list
## Examples
-::: note
-You can find more examples of common Rules on Github at [auth0/rules](https://github.com/auth0/rules).
-:::
-
To create ... | 2 |
diff --git a/views/redux/info/quests.es b/views/redux/info/quests.es @@ -306,18 +306,22 @@ function questTrackingReducer(state, {type, postBody, body, result}) {
// e.g. api_slotitem_ids = "24004,24020"
const slotitems = postBody.api_slotitem_ids || ''
const ids = slotitems.split(',')
- let flag = false
+ // now it onl... | 7 |
diff --git a/src/client/js/legacy/crowi.js b/src/client/js/legacy/crowi.js @@ -596,6 +596,11 @@ $(() => {
window.addEventListener('load', (e) => {
const { appContainer } = window;
+ // do nothing if user is guest
+ if (appContainer.currentUser == null) {
+ return;
+ }
+
// hash on page
if (window.location.hash) {
if ((... | 7 |
diff --git a/tests/phpunit/integration/Core/Authentication/Setup_V2Test.php b/tests/phpunit/integration/Core/Authentication/Setup_V2Test.php @@ -114,7 +114,7 @@ class Setup_V2Test extends TestCase {
* @dataProvider data_conditionally_syncs_site_fields
*/
public function test_handle_action_setup_start__syncs_site_fields... | 1 |
diff --git a/spec/requests/superadmin/organizations_spec.rb b/spec/requests/superadmin/organizations_spec.rb @@ -16,10 +16,6 @@ feature "Superadmin's organization API" do
end
end
- scenario "organization create fail" do
- pending "Exception handling isn' implemented yet"
- end
-
scenario "organization create success" d... | 2 |
diff --git a/lib/shared/addon/components/cluster-driver/driver-azureaks/component.js b/lib/shared/addon/components/cluster-driver/driver-azureaks/component.js @@ -9,11 +9,11 @@ import {
} from 'ui/utils/azure-choices';
const VERSIONS = [
- // {
- // "value": "1.7.7"
- // },
{
- "value": "1.8.1"
+ "value": "1.8.11"
+ },... | 3 |
diff --git a/generators/entity/templates/client/angular/src/main/webapp/app/entities/_entity-management-dialog.component.html b/generators/entity/templates/client/angular/src/main/webapp/app/entities/_entity-management-dialog.component.html @@ -79,10 +79,10 @@ _%>
<span class="pull-left">{{<%= entityInstance %>.<%= fie... | 14 |
diff --git a/scenes/SceneTara.js b/scenes/SceneTara.js @@ -8,11 +8,9 @@ import { css } from "@emotion/react";
import { TabGroup } from "~/components/core/TabGroup";
import { ButtonPrimary } from "~/components/system/components/Buttons";
import { dispatchCustomEvent } from "~/common/custom-events";
-import { WarningMess... | 10 |
diff --git a/src/client/js/components/PageEditor/GridEditModal.jsx b/src/client/js/components/PageEditor/GridEditModal.jsx @@ -30,8 +30,15 @@ export default class GridEditModal extends React.PureComponent {
this.hide();
}
- render() {
- showCols() {
+ // showDevices() {
+ // const devices = ['Phone', 'Tablet', 'Desktop... | 10 |
diff --git a/src/components/SaveEventButton.js b/src/components/SaveEventButton.js @@ -18,6 +18,19 @@ type State = {
progress?: Object
};
+const triggerAnimation = (progress: Object, active: boolean) => {
+ const value = active ? 1 : 0;
+ if (active) {
+ ReactNativeHapticFeedback.trigger("impactHeavy");
+ }
+ Animated.... | 1 |
diff --git a/js/drawSamples.js b/js/drawSamples.js @@ -85,6 +85,11 @@ var drawSamples = (vg, props) => {
let {heatmapData, codes, width, zoom} = props,
{count, height, index} = zoom;
+ if (_.isEmpty(heatmapData)) { // no features to draw
+ vg.box(0, 0, width, height, "gray");
+ return;
+ }
+
vg.labels(() => {
draw(vg, ... | 9 |
diff --git a/userscript.user.js b/userscript.user.js @@ -1039,7 +1039,7 @@ var $$IMU_EXPORT$$;
mouseover_styles: "",
// thanks to decembre on github for the idea: https://github.com/qsniyg/maxurl/issues/14#issuecomment-541065461
mouseover_wait_use_el: false,
- //mouseover_download_key: ["ctrl", "s"],
+ mouseover_downlo... | 11 |
diff --git a/helpers/svgcode.json b/helpers/svgcode.json "desc": "Convert raster images like JPG, PNG, GIF, WebP, AVIF, etc. to vector graphics in SVG format.",
"url": "https://svgco.de/",
"tags": [
- "Data transformation",
"Favicons",
"Icons",
"Illustration",
"Images",
- "PWA",
"SVG"
],
"maintainers": [
"tomayac"
],
-... | 2 |
diff --git a/world.js b/world.js @@ -127,9 +127,9 @@ world.connectRoom = async (roomName, worldURL) => {
rigManager.removePeerRig(peerConnection.connectionId);
live = false;
- world.dispatchEvent(new MessageEvent('peersupdate', {
+ /* world.dispatchEvent(new MessageEvent('peersupdate', {
data: Array.from(rigManager.pee... | 2 |
diff --git a/layouts/partials/helpers/fragments.html b/layouts/partials/helpers/fragments.html check for presence of local fragments since multiple files can use a single
fragment.
*/}}
-{{- $local_fragments := $real_page.Resources.ByType "page" -}}
+{{- if $page -}}
+ {{- $local_fragments := $page.Resources.ByType "pa... | 1 |
diff --git a/renderer/pages/home.js b/renderer/pages/home.js @@ -40,17 +40,6 @@ const TopLeftFloatingButton = styled.div`
cursor: pointer;
`
-const ConfigureButton = styled(Button)`
- font-size: 12px;
- border-radius: 20px;
- height: 25px;
- line-height: 1;
- padding-left: 15px;
- padding-right: 15px;
- text-transform:... | 2 |
diff --git a/public/app/js/cbus-audio.js b/public/app/js/cbus-audio.js @@ -204,6 +204,7 @@ if (MPRISPlayer) {
supportedInterfaces: [ "player" ]
});
+ cbus.audio.mprisPlayer.canGoNext = false;
cbus.audio.mprisPlayer.canGoPrevious = false;
cbus.audio.mprisPlayer.playbackStatus = "Paused";
cbus.audio.mprisPlayer.minimumRa... | 12 |
diff --git a/src/components/dashboard/SendQRSummary.js b/src/components/dashboard/SendQRSummary.js @@ -86,7 +86,7 @@ const SendQRSummary = (props: AmountProps) => {
source={profile && profile.avatar}
/>
{to && <Section.Text style={styles.toText}>{`To: ${to}`}</Section.Text>}
- {profile && profile.name && <Section.Text ... | 2 |
diff --git a/test/jasmine/tests/titles_test.js b/test/jasmine/tests/titles_test.js @@ -6,6 +6,7 @@ var interactConstants = require('@src/constants/interactions');
var createGraphDiv = require('../assets/create_graph_div');
var destroyGraphDiv = require('../assets/destroy_graph_div');
var mouseEvent = require('../assets... | 3 |
diff --git a/src/components/webServer/index.js b/src/components/webServer/index.js @@ -60,7 +60,8 @@ module.exports = class WebServer {
(
error.code.startsWith('HPE_') ||
error.code.startsWith('ECONN') ||
- error.code.startsWith('EPIPE')
+ error.code.startsWith('EPIPE') ||
+ error.code.startsWith('ECANCELED')
)
){
if(G... | 8 |
diff --git a/token-metadata/0x4690D8F53E0d367f5b68f7F571e6eb4b72D39ACe/metadata.json b/token-metadata/0x4690D8F53E0d367f5b68f7F571e6eb4b72D39ACe/metadata.json "symbol": "WNRZ",
"address": "0x4690D8F53E0d367f5b68f7F571e6eb4b72D39ACe",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/screens/EventsScreen/FilterHeader.test.js b/src/screens/EventsScreen/FilterHeader.test.js @@ -3,6 +3,8 @@ import React from "react";
import { shallow } from "enzyme";
import FilterHeader from "./FilterHeader";
import type { Props as ComponentProps } from "./FilterHeader";
+import FilterHeaderButton fro... | 0 |
diff --git a/.github/workflows/preDeploy.yml b/.github/workflows/preDeploy.yml @@ -149,6 +149,10 @@ jobs:
- name: Checkout master branch
run: git checkout master
+ - name: Set Staging Version
+ run: |
+ echo "STAGING_VERSION=$(npm run print-version --silent)" >> $GITHUB_ENV
+
- name: Create Pull Request
# Version: 2.4.... | 12 |
diff --git a/common/stores/account-store.js b/common/stores/account-store.js @@ -22,7 +22,13 @@ var controller = {
if (isInvite) {
return controller.onLogin();
} else {
- return data.post(`${Project.api}organisations/?format=json`, {name: organisation_name})
+ var opts = {};
+ if (ConfigStore.model && ConfigStore.model... | 12 |
diff --git a/src/components/FmaMap/index.js b/src/components/FmaMap/index.js @@ -14,8 +14,8 @@ class FmaMap extends Component {
console.log('layer', layer);
console.log('feature', feature);
console.log(this);
- if (feature.properties && feature.properties.fireblocks) {
- layer.bindPopup(`<span>${feature.properties.fire... | 3 |
diff --git a/docs/axes/radial/linear.md b/docs/axes/radial/linear.md @@ -76,14 +76,12 @@ This example sets up a chart with a y axis that creates ticks at `0, 0.5, 1, 1.5
```javascript
let options = {
- scales: {
- yAxes: [{
+ scale: {
ticks: {
max: 5,
min: 0,
stepSize: 0.5
}
- }]
}
};
```
| 1 |
diff --git a/src/navigator/view/ItemView.js b/src/navigator/view/ItemView.js @@ -132,9 +132,11 @@ module.exports = Backbone.View.extend({
*/
handleEdit(e) {
e && e.stopPropagation();
+ const em = this.em;
const inputEl = this.getInputName();
inputEl[inputProp] = true;
inputEl.focus();
+ em && em.setEditing(1);
},
/**
@... | 1 |
diff --git a/src/cn.js b/src/cn.js k && (envusr[k] = v);
}
const env = {
+ SINGLETRACE: '1',
...envusr,
APLK0: 'default',
AUTOCOMPLETE_PREFIXSIZE: '0',
CLASSICMODE: '1',
- SINGLETRACE: '1',
RIDE_SPAWNED: '1',
};
if (x.subtype === 'ssh') {
| 11 |
diff --git a/services/importer/lib/importer/downloader.rb b/services/importer/lib/importer/downloader.rb @@ -73,8 +73,6 @@ module CartoDB
attr_reader :source_file, :etag, :last_modified, :http_response_code, :datasource
- TMP_IMPORTER_PATH = '/tmp/importer'.freeze
-
def initialize(user_id, url, http_options = {}, optio... | 4 |
diff --git a/src/screens/application/container/applicationContainer.js b/src/screens/application/container/applicationContainer.js @@ -258,7 +258,7 @@ class ApplicationContainer extends Component {
const { currentAccount } = this.props;
const postUrl = postUrlParser(url);
- const { author, permlink } = postUrl;
+ const... | 9 |
diff --git a/packages/@uppy/core/src/_variables.scss b/packages/@uppy/core/src/_variables.scss @@ -16,6 +16,19 @@ $color-yellow: #ffd600 !default;
$color-green: #1bb240 !default;
$color-blue: #2275d7 !default;
+// Shades of gray
+// @todo: replace all current grays with them
+$gray-50: #fafafa;
+$gray-100: #f4f4f4;
+$g... | 0 |
diff --git a/src/tests/controllers/tribe3Messages.test.ts b/src/tests/controllers/tribe3Messages.test.ts @@ -122,7 +122,7 @@ export async function tribe3Msgs(t, node1, node2, node3) {
name: 'testChannel2',
owner_pubkey: node1.pubkey,
}
- console.log(tribe)
+
const tribeSeverAddChannelResponse = await http.post(
node1.e... | 3 |
diff --git a/lib/grammars/javascript.js b/lib/grammars/javascript.js @@ -5,7 +5,7 @@ import GrammarUtils from '../grammar-utils';
const babel = path.join(__dirname, '../..', 'node_modules', '.bin', 'babel');
-const args = ({ filepath }) => ['-c', `${babel} --filename '${babel}' < '${filepath}'| node`];
+const args = ({... | 1 |
diff --git a/packages/core/src/commands/build.js b/packages/core/src/commands/build.js @@ -17,9 +17,9 @@ import getPath from "../utils/getPath";
const debug = require("debug")("phenomic:core:commands:build");
-const content = "content";
+const contentFolder = "content";
const getContentPath = (config: PhenomicConfig) =... | 10 |
diff --git a/articles/protocols/saml/index.html b/articles/protocols/saml/index.html @@ -119,10 +119,4 @@ title: SAML
</li>
</ul>
</li>
- <li>
- <i class="icon icon-budicon-715"></i><a href="/protocols/saml/idp-initiated-sso">IdP-Initiated SSO</a>
- <p>
- This article explains how to set up Identity Provider initiated ... | 2 |
diff --git a/tests/.eslintrc.js b/tests/.eslintrc.js module.exports = {
"parserOptions": {
"ecmaVersion": 2017,
+ },
+ "rules": {
+ // console.info allowed to report on long going tasks or valuable debug information
+ "no-console": ["error", { allow: ["info"] }]
}
};
| 11 |
diff --git a/packages/rmw-shell/cra-template-rmw/template/functions/db/groupChatMessages/onCreate.f.js b/packages/rmw-shell/cra-template-rmw/template/functions/db/groupChatMessages/onCreate.f.js import * as functions from 'firebase-functions'
import admin from 'firebase-admin'
+const runtimeOpts = {
+ timeoutSeconds: 5... | 3 |
diff --git a/source/swap/package.json b/source/swap/package.json "verify": "truffle run verify"
},
"devDependencies": {
- "@airswap/constants": "0.3.4",
+ "@airswap/constants": "0.3.5",
"@airswap/test-utils": "0.1.6",
"@airswap/tokens": "0.1.4",
"@airswap/utils": "0.3.11",
| 3 |
diff --git a/token-metadata/0x7968bc6a03017eA2de509AAA816F163Db0f35148/metadata.json b/token-metadata/0x7968bc6a03017eA2de509AAA816F163Db0f35148/metadata.json "symbol": "HGET",
"address": "0x7968bc6a03017eA2de509AAA816F163Db0f35148",
"decimals": 6,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/js/start.js b/js/start.js @@ -194,8 +194,8 @@ function isOnboardingNeeded() {
.done(() => {
onboardingNeededDeferred.resolve(false);
})
- .fail((xhr) => {
- const jqXhr = xhr.length ? xhr[0] : xhr;
+ .fail((xhr, e) => {
+ const jqXhr = xhr && xhr.length ? xhr[0] : xhr || e;
if (profileFailed || settingsFai... | 9 |
diff --git a/app/views/faq.scala.html b/app/views/faq.scala.html <div class="row">
<div class="col-sm-12">
<p>
- Great! We really appreciate your help! It would be very helpful if you could use our tool to <i>audit accessibility of neighborhoods.</i>
+ Thanks for chipping in! You can help us out by using our tool to <i... | 3 |
diff --git a/lib/xmlSchemaFaker.js b/lib/xmlSchemaFaker.js @@ -47,7 +47,7 @@ function convertSchemaToXML(name, schema, attribute, indentChar, indent) {
attributes.push(`${key}="${propVal}"`);
}
else {
- childNodes += propVal === undefined ? '' : propVal;
+ childNodes += _.isString(propVal) ? propVal : '';
}
});
if (att... | 9 |
diff --git a/src/components/select/Select.js b/src/components/select/Select.js @@ -115,6 +115,9 @@ export default class SelectComponent extends Field {
if (this.isHtmlRenderMode()) {
this.triggerUpdate();
}
+
+ // Get the template keys for this select component.
+ this.getTemplateKeys();
}
get dataReady() {
@@ -473,9 +... | 7 |
diff --git a/services/importer/lib/importer/downloader.rb b/services/importer/lib/importer/downloader.rb @@ -17,7 +17,7 @@ require_relative '../../../../lib/carto/url_validator'
require_relative '../helpers/quota_check_helpers.rb'
# NOTE: Beware that some methods and some parameters are kept since this class is suppose... | 2 |
diff --git a/src/components/SideNav.js b/src/components/SideNav.js -import React, { useState } from "react"
+import React, { useState, useEffect } from "react"
import styled from "styled-components"
import { motion } from "framer-motion"
import Icon from "./Icon"
import Link from "./Link"
+// To display item as a colla... | 11 |
diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js @@ -12,6 +12,7 @@ import _ from 'underscore';
import lodashGet from 'lodash/get';
import {withOnyx} from 'react-native-onyx';
import lodashIntersection from 'lodash/intersection';
+import moment from 'moment';
impor... | 7 |
diff --git a/test/jasmine/tests/select_test.js b/test/jasmine/tests/select_test.js @@ -1228,6 +1228,90 @@ describe('Test select box and lasso in general:', function() {
.then(done);
});
+ describe('should return correct range data on dragmode *select*', function() {
+ var specs = [{
+ axType: 'linear',
+ rng: [-0.6208,... | 0 |
diff --git a/lib/components/fields/fields.js b/lib/components/fields/fields.js @@ -50,7 +50,7 @@ export default createReactClass({
// Want to move to fieldset with legend, but doing a little backward-compatible
// hacking here, only converting child `fields` without keys.
- const isGroup = !!((field.parent && field.key... | 1 |
diff --git a/examples/gallery/src/line-layer.html b/examples/gallery/src/line-layer.html <head>
<title>deck.gl LineLayer Example</title>
- <script src="https://unpkg.com/deck.gl@latest/deckgl.min.js"></script>
-
+ <script src="https://unpkg.com/deck.gl@^7.0.0/dist.min.js"></script>
<script src="https://api.tiles.mapbox... | 0 |
diff --git a/edit.js b/edit.js @@ -32,6 +32,7 @@ import {
getNextMeshId,
makePromise,
} from './constants.js';
+import storage from './storage.js';
import alea from './alea.js';
import easing from './easing.js';
import {planet} from './planet.js';
@@ -972,13 +973,14 @@ const geometryWorker = (() => {
const subparcelOff... | 0 |
diff --git a/core/i18n.js b/core/i18n.js * Node attributes that define how node content will be localized.
*
* There're following supported attributes:
- * - i18n: replace value of `innerHTML` property by localized text;
+ * - i18n: replace value of `textContent` property by localized text;
* - i18n-title: replace valu... | 11 |
diff --git a/src/views/studio/studio.scss b/src/views/studio/studio.scss @@ -76,7 +76,7 @@ $radius: 8px;
padding: 0;
margin: 0;
}
- .studio-description:disabled {
+ .studio-description:disabled, .studio-description-text {
background: $ui-blue-10percent;
}
.studio-description-text {
| 12 |
diff --git a/src/utilities/WorldStateClient.js b/src/utilities/WorldStateClient.js @@ -153,7 +153,7 @@ export default class WorldStateClient {
this.#logger.error(`invalid request: ${endpoint} not an ENDPOINTS.WORLDSTATE or ENDPOINTS.SEARCH`);
return undefined;
}
- return fetch(`${apiBase}/${endpoint}?language=${languag... | 1 |
diff --git a/src/screens/FilterModal/component.test.js b/src/screens/FilterModal/component.test.js @@ -159,4 +159,84 @@ describe("FilterModal", () => {
const header = output.find("Header");
expect(header.props().showClear).toBe(false);
});
+
+ it("dispatches new filter when checkbox checked", () => {
+ const navigation... | 7 |
diff --git a/sirepo/package_data/static/js/sirepo.js b/sirepo/package_data/static/js/sirepo.js @@ -911,6 +911,9 @@ SIREPO.app.factory('frameCache', function(appState, panelState, requestSender, $
m = m[frameReport in m ? frameReport : c];
var f = SIREPO.APP_SCHEMA.frameIdFields;
f = f[frameReport in f ? frameReport : c... | 7 |
diff --git a/build/transpile.js b/build/transpile.js @@ -175,6 +175,7 @@ const pythonRegexes = [
[ /this\.stringToBinary\s*\((.*)\)/g, '$1' ],
[ /this\.stringToBase64\s/g, 'base64.b64encode' ],
[ /this\.base64ToBinary\s/g, 'base64.b64decode' ],
+ [ /\.shift\s*\(\)/g, '.pop (0)' ],
// insert common regexes in the middle... | 4 |
diff --git a/definitions/npm/humps_v2.x.x/flow_v0.104.x-/test_humps_v2.x.x.js b/definitions/npm/humps_v2.x.x/flow_v0.104.x-/test_humps_v2.x.x.js @@ -15,7 +15,8 @@ import {
describe("tests", () => {
it("errors", () => {
- // $FlowExpectedError
+ // $FlowExpectedError[incompatible-call]
+ // $FlowExpectedError[incompatib... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -9111,8 +9111,24 @@ var $$IMU_EXPORT$$;
}
if (domain === "imgsrv.piclick.me") {
+ // http://imgsrv.piclick.me/publish.php?pid=1319
+ // https://imgsrv.piclick.me/cimg/1319.jpg
+ newsrc = src.replace(/\/publish\.php\?(?:.*&)?pid=([0-9]+)(?:[?#].*)?$/, "/cimg/$1.jpg... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.