code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/browser/lib/util/http.ts b/browser/lib/util/http.ts @@ -68,7 +68,7 @@ const Http: typeof IHttp = class {
const hosts = getHosts(rest);
/* if there is only one host do it */
- if(hosts.length == 1) {
+ if(hosts.length === 1) {
Http.doUri(method, rest, uriFromHost(hosts[0]), headers, body, params, callback);... | 4 |
diff --git a/lib/file.js b/lib/file.js @@ -211,6 +211,7 @@ File.prototype.transformTasks = function (config, modify) {
File.prototype.extractTasks = function(config) {
this.tasks = [];
if (this.isMarkDownFile()) this.parseFrontMatter()
+ if (this.frontMatter.imdone_ignore) return this
if (this.isCodeFile()) {
this.extr... | 8 |
diff --git a/app/pages/project/classify.cjsx b/app/pages/project/classify.cjsx @@ -157,7 +157,7 @@ module.exports = React.createClass
subjects: [subject.id]
if @state.validUserGroup
- classification.update({ 'metadata.user_group': @props.location.query.group })
+ classification.update({ 'metadata.selected_user_group_id... | 10 |
diff --git a/app/addons/components/components/codeeditor.js b/app/addons/components/components/codeeditor.js @@ -13,6 +13,7 @@ import React from "react";
import ReactDOM from "react-dom";
import FauxtonAPI from "../../../core/api";
import ace from "brace";
+import "brace/ext/searchbox";
import {StringEditModal} from '.... | 0 |
diff --git a/token-metadata/0x9D24364b97270961b2948734aFe8d58832Efd43a/metadata.json b/token-metadata/0x9D24364b97270961b2948734aFe8d58832Efd43a/metadata.json "symbol": "FAM",
"address": "0x9D24364b97270961b2948734aFe8d58832Efd43a",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/plugins/standard_fonts_metrics.js b/plugins/standard_fonts_metrics.js @@ -359,7 +359,8 @@ somewhere around "pdfEscape" call.
API.events.push([
"addFont",
- function(font) {
+ function(data) {
+ var font = data.font;
var metrics,
unicode_section,
encoding = "Unicode",
| 1 |
diff --git a/src/consumer/__tests__/runner.spec.js b/src/consumer/__tests__/runner.spec.js @@ -349,18 +349,18 @@ describe('Consumer > Runner', () => {
})
it('should ignore request errors from BufferedAsyncIterator on stopped consumer', async () => {
- const rejectedRequest = new Promise((resolve, reject) => {
+ const r... | 7 |
diff --git a/app/api/ApplicationApi.js b/app/api/ApplicationApi.js import WalletUnlockActions from "actions/WalletUnlockActions";
-import notify from "actions/NotificationActions";
import WalletDb from "stores/WalletDb";
import {
Aes,
@@ -10,6 +9,7 @@ import {
ChainStore
} from "bitsharesjs";
import counterpart from "c... | 14 |
diff --git a/dual-contouring.js b/dual-contouring.js @@ -564,9 +564,7 @@ function _parsePQI(addr) {
};
}
-globalThis.addEventListener('result', e => {
- // console.log('got result', e.data, import.meta);
- const {id, result} = e.data;
+globalThis.handleResult = (id, result) => {
const p = cbs.get(id);
if (p) {
cbs.dele... | 0 |
diff --git a/packages/app/src/server/service/page.ts b/packages/app/src/server/service/page.ts @@ -317,6 +317,7 @@ class PageService {
}
async renamePage(page, newPagePath, user, options) {
+ const Page = mongoose.model('Page') as unknown as PageModel;
/*
* Common Operation
*/
@@ -330,6 +331,10 @@ class PageService {
r... | 7 |
diff --git a/docs/installation.rst b/docs/installation.rst Installation
============
-Requirements: geth (1.6.5 or higher recommended, 1.6.0 or lower for whisper support), node (6.9.1 or higher is recommended) and npm
+Requirements: geth (1.6.5 or higher recommended), node (6.9.1 or higher is recommended) and npm
serpe... | 2 |
diff --git a/app/test_map.html b/app/test_map.html {
"type": "osm-tiles",
"options":
- { "maxPos": 1000000000
+ {
+ "maxPos": 3095693983
}
}
],
| 3 |
diff --git a/assets/js/modules/tagmanager/datastore/accounts.test.js b/assets/js/modules/tagmanager/datastore/accounts.test.js * Internal dependencies
*/
import API from 'googlesitekit-api';
+import { STORE_NAME as CORE_SITE } from '../../../googlesitekit/datastore/site/constants';
import { STORE_NAME } from './constan... | 1 |
diff --git a/templates/index.html b/templates/index.html <div class="col-md-2 col-xs-12">
<div class="row">
<div class="col-md-12 col-xs-6">
- <a class="box box-info" href="/" role="button">
+ {% if selected_program %}
+ <a class="box box-info" href="/indicators/home/{{selected_program.id}}/0/0/" role="button">
<p clas... | 3 |
diff --git a/components/Frame/Footer.js b/components/Frame/Footer.js @@ -178,18 +178,14 @@ class Footer extends Component {
<a>{t('footer/crew')}</a>
</Link>
<br />
- <Link route='jobs'>
- <a>{t('footer/jobs')}</a>
- </Link>
- <br />
- <Link route='researchBudget'>
- <a>{t('footer/researchBudget')}</a>
- </Link>
- <br ... | 7 |
diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md -<!-- hey there, thanks for reporting an issue or feature request. If you found unexpected behaviour or problems using leaflet-geoman, please provide a demo via JSfiddle that reproduces the problem. You can use this as a starting point: https://jsfiddle.net/3e6r4L25/ .... | 1 |
diff --git a/app/assets/stylesheets/editor-3/_custom-list.scss b/app/assets/stylesheets/editor-3/_custom-list.scss }
.CustomList-item.is-highlighted,
.CustomList-item:hover {
- background: rgba($cHighlight, 0.16);
+ background: rgba($cBlue, 0.08);
cursor: pointer;
}
.CustomList-item.is-disabled {
| 4 |
diff --git a/assets/js/modules/analytics/common/account-select.test.js b/assets/js/modules/analytics/common/account-select.test.js @@ -123,6 +123,5 @@ describe( 'AccountSelect', () => {
expect( newPropertyID ).not.toBeFalsy();
expect( newWebPropertyID ).not.toBeFalsy();
expect( newProfileID ).not.toBeFalsy();
- // expe... | 2 |
diff --git a/test/model.test.js b/test/model.test.js @@ -5189,7 +5189,7 @@ describe('Model', function() {
it('watch() before connecting (gh-5964)', async function() {
const db = start();
- const MyModel = db.model('Test', new Schema({ name: String }));
+ const MyModel = db.model('Test5964', new Schema({ name: String })... | 10 |
diff --git a/src/widgets/time-series/time-series-header.tpl b/src/widgets/time-series/time-series-header.tpl <div class="CDB-Widget-contentSpaced CDB-Widget-contentFull">
<div class="CDB-Widget-contentSpaced--start">
- <h3 class="CDB-Text CDB-Size-large u-ellipsis" title=""></h3>
<% if (showSelection) { %>
- <div>
- <p... | 1 |
diff --git a/app/background-process/web-apis/dat-archive.js b/app/background-process/web-apis/dat-archive.js @@ -163,7 +163,7 @@ export default {
if (settings.networked === false) {
await assertArchiveOfflineable(archive)
}
- await archivesDb.setUserSettings(0, archive.key, {networked: settings.networked})
+ await arch... | 12 |
diff --git a/articles/tokens/preview/refresh-token.md b/articles/tokens/preview/refresh-token.md @@ -209,11 +209,9 @@ To revoke the user's access to an authorized application, and hence invalidate t
## Rules
-Rules will run for the [Refresh Token Exchange](#use-a-refresh-token). There is a key difference in the behavio... | 14 |
diff --git a/styles/override-editor.scss b/styles/override-editor.scss @@ -745,7 +745,10 @@ body {
.es-simple-v-single-select {
display: flex;
flex-direction: column;
- gap: 0.25rem;
+ gap: 1px;
+ border-radius: 0.25rem;
+
+ box-shadow: 0 0 0 1px hsl(0 0% 92%);
.components-button {
justify-content: flex-start !importan... | 7 |
diff --git a/src/main/scala/core/interceptor/InterceptorService.scala b/src/main/scala/core/interceptor/InterceptorService.scala @@ -25,12 +25,12 @@ class InterceptorService @Inject() extends MethodInterceptor with Logger {
injector.getInstance(clazz).asInstanceOf[Interceptor[AnyRef, AnyRef]].handle(args(argIndex)),
In... | 10 |
diff --git a/public/js/grocy.js b/public/js/grocy.js @@ -896,7 +896,7 @@ $('.dropdown-item').has('.form-check input[type=checkbox]').on('click', function
$('.table').on('column-sizing.dt', function(e, settings)
{
var dtScrollWidth = $('.dataTables_scroll').width();
- var tableWidth = $('.table').width();
+ var tableWid... | 7 |
diff --git a/types/index.d.ts b/types/index.d.ts @@ -2048,6 +2048,11 @@ export declare namespace Knex {
primary(columnNames: readonly string[], options?: Readonly<{constraintName?: string, deferrable?: deferrableType}>): TableBuilder;
/** @deprecated */
primary(columnNames: readonly string[], constraintName?: string): ... | 11 |
diff --git a/Node/intelligence-LUIS/README.md b/Node/intelligence-LUIS/README.md @@ -15,25 +15,26 @@ The minimum prerequisites to run this sample are:
* **[Recommended]** Visual Studio Code for IntelliSense and debugging, download it from [here](https://code.visualstudio.com/) for free.
#### LUIS Application
-If you wa... | 3 |
diff --git a/app-object.js b/app-object.js @@ -55,8 +55,8 @@ scene.add(dolly);
const orthographicCamera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0.1, 100);
scene.add(orthographicCamera);
-addDefaultLights(scene, true);
-addDefaultLights(avatarScene, false);
+// addDefaultLights(scene, true);
+// addDefaultLights(av... | 2 |
diff --git a/app-template/bitcoincom/GoogleService-Info.plist b/app-template/bitcoincom/GoogleService-Info.plist <plist version="1.0">
<dict>
<key>AD_UNIT_ID_FOR_BANNER_TEST</key>
- <string>ca-app-pub-432300239540/2934735716</string>
+ <string>ca-app-pub-3940256099942544/2934735716</string>
<key>AD_UNIT_ID_FOR_INTERSTI... | 3 |
diff --git a/_events/GlobalCommunityBioSummit/GlobalCommunityBioSummit.md b/_events/GlobalCommunityBioSummit/GlobalCommunityBioSummit.md @@ -21,11 +21,13 @@ _geoloc:
---
## About
-The Community Biotechnology Initiative at the MIT Media Lab is organizing a Global Summit on Community Biotechnology this fall from Friday S... | 0 |
diff --git a/translations/en-us.yaml b/translations/en-us.yaml @@ -2450,7 +2450,7 @@ catalogSettings:
rancher: "{appName} Certified Library"
pl: Certified Library
detail:
- rancher: Templates required for core Rancher features such as Kubernetes orchestration support. Maintained and supported by Rancher Labs.
+ rancher... | 2 |
diff --git a/src/govuk/i18n.unit.test.mjs b/src/govuk/i18n.unit.test.mjs @@ -165,27 +165,76 @@ describe('I18n', () => {
})
describe('.getPluralSuffix', () => {
- it('returns the preferred plural form for the locale if a translation exists', () => {
+ let consoleWarn
+
+ beforeEach(() => {
+ // Silence warnings in test ... | 7 |
diff --git a/source/Overture/foundation/Binding.js b/source/Overture/foundation/Binding.js only changes starting from the final static object will be observed.
A static portion is signified by using a `*` as a divider instead of a `.`.
- The section before the '*' is taken to be static. If no '*' is present, the
+ The ... | 1 |
diff --git a/src/node/sockets/node-clients/service/discovery/fallbacks/fallback_nodes_list.js b/src/node/sockets/node-clients/service/discovery/fallbacks/fallback_nodes_list.js @@ -24,7 +24,7 @@ export default {
{"addr": ["https://node6.petreus.ro:443"]}, // Thanks to Dani Petreus
{"addr": ["https://node7.petreus.ro:44... | 13 |
diff --git a/karma.conf.js b/karma.conf.js @@ -29,6 +29,11 @@ module.exports = function (config) {
base: 'SauceLabs',
browserName: 'internet explorer',
version: 'latest'
+ },
+ sl_edge_latest: {
+ base: 'SauceLabs',
+ browserName: 'MicrosoftEdge',
+ version: 'latest'
}
};
| 0 |
diff --git a/src/traces/barpolar/attributes.js b/src/traces/barpolar/attributes.js 'use strict';
+var extendFlat = require('../../lib/extend').extendFlat;
var scatterPolarAttrs = require('../scatterpolar/attributes');
var barAttrs = require('../bar/attributes');
@@ -28,11 +29,34 @@ module.exports = {
// description: 'S... | 7 |
diff --git a/token-metadata/0xe25b0BBA01Dc5630312B6A21927E578061A13f55/metadata.json b/token-metadata/0xe25b0BBA01Dc5630312B6A21927E578061A13f55/metadata.json "symbol": "SHIP",
"address": "0xe25b0BBA01Dc5630312B6A21927E578061A13f55",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/app/containers/wallet/WalletAddPage.js b/app/containers/wallet/WalletAddPage.js @@ -92,8 +92,8 @@ export default class WalletAddPage extends Component<Props> {
<WalletCreateDialogContainer
actions={actions}
stores={stores}
+ onClose={this.onClose}
classicTheme={profile.isClassicTheme}
- onClose={() => acti... | 13 |
diff --git a/test/perf/src/test/test.js b/test/perf/src/test/test.js @@ -113,9 +113,17 @@ const systemToken = secured() ? oauth.cache(authServer,
describe('abacus-perf-test', () => {
before((done) => {
if (objectStorageToken)
- objectStorageToken.start();
+ objectStorageToken.start((err) => {
+ if (err)
+ console.log('... | 7 |
diff --git a/packages/app/src/styles/theme/island.scss b/packages/app/src/styles/theme/island.scss @@ -31,7 +31,7 @@ html[dark] {
// $color-list-hover: ;
$bgcolor-list-hover: $color-themelight;
$color-list-active: $color-global;
- $bgcolor-list-active: lighten($bgcolor-list-hover, 5%);
+ $bgcolor-list-active: $primary;... | 7 |
diff --git a/apps/locale/locale.html b/apps/locale/locale.html distance: n => (n < 1000) ? Math.round(n) + locale.distance[0] : Math.round(n/1000) + locale.distance[1],
speed: s => Math.round(s) +locale.speed,
temp: t => Math.round(t) + locale.temperature,
- translate: s => locale.trans[s]||locale.trans[s.toLowerCase()... | 11 |
diff --git a/app/controllers/carto/api/users_controller.rb b/app/controllers/carto/api/users_controller.rb @@ -93,15 +93,23 @@ module Carto
user.set_fields(attributes, fields_to_be_updated) if fields_to_be_updated.present?
raise Sequel::ValidationFailed.new('Validation failed') unless user.errors.try(:empty?) && user.v... | 3 |
diff --git a/src/tiledimage.js b/src/tiledimage.js @@ -420,10 +420,12 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
},
/**
- * @returns {OpenSeadragon.Point} The dimensions of the image as it would be currently rendered in the viewport
+ * @returns {OpenSeadragon.Point} The TiledIm... | 10 |
diff --git a/src/readers/csv/csv.js b/src/readers/csv/csv.js @@ -149,7 +149,7 @@ const CSVReader = Reader.extend({
_guessDelimiter(text) {
const stringsToCheck = 2;
- const rows = this._getRows(text, stringsToCheck);
+ const rows = this._getRows(text, stringsToCheck).map((row) => row.replace(/".*?"/g, ''));
if (rows.le... | 8 |
diff --git a/src/charts/Line.js b/src/charts/Line.js @@ -338,16 +338,19 @@ class Line {
seriesNumber: realIndex,
i
})
- } else if (w.config.stroke.fill) {
+ } else {
+ if (w.config.stroke.fill.type === 'solid') {
+ lineFill = w.globals.stroke.colors[realIndex]
+ } else {
const prevFill = w.config.fill
w.config.fill = w... | 1 |
diff --git a/voice-endpoint-voicer.js b/voice-endpoint-voicer.js @@ -54,7 +54,9 @@ class VoiceEndpointVoicer {
if (!this.running) {
this.running = true;
+ if (!this.player.avatar.isAudioEnabled()) {
this.player.avatar.setAudioEnabled(true);
+ }
(async () => {
const audioBuffer = await (text.isPreloadMessage ? text.wait... | 0 |
diff --git a/packages/react-router/docs/api/Redirect.md b/packages/react-router/docs/api/Redirect.md @@ -64,3 +64,11 @@ This can only be used to match a location when rendering a `<Redirect>` inside o
<Route path='/users/profile/:id' component={Profile}/>
</Switch>
```
+
+## exact: bool
+
+Match `from` exactly; equival... | 0 |
diff --git a/sounds.js b/sounds.js @@ -22,6 +22,7 @@ const loadPromise = (async () => {
soundFiles.narutoRun = soundFileSpecs.filter(f => /^narutoRun\//.test(f.name));
soundFiles.chomp = soundFileSpecs.filter(f => /^food\/chomp/.test(f.name));
soundFiles.gulp = soundFileSpecs.filter(f => /^food\/gulp/.test(f.name));
+ ... | 0 |
diff --git a/cmd_workflow.go b/cmd_workflow.go @@ -136,9 +136,7 @@ func (ps *pipelineStage) Run(ctx context.Context, logger *zerolog.Logger) error
opErr := opEntry.op.Invoke(ctx, goLogger)
if opErr != nil {
mapKey := fmt.Sprintf("%sErr%d", opEntry.opName, opIndex)
- mapErr.Store(mapKey, fmt.Sprintf("Operation (%s) erro... | 7 |
diff --git a/token-metadata/0x7C5A0CE9267ED19B22F8cae653F198e3E8daf098/metadata.json b/token-metadata/0x7C5A0CE9267ED19B22F8cae653F198e3E8daf098/metadata.json "symbol": "SAN",
"address": "0x7C5A0CE9267ED19B22F8cae653F198e3E8daf098",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/ide.js b/src/ide.js @@ -593,7 +593,19 @@ D.IDE = function IDE(opts = {}) {
setTimeout(() => { inp.focus(); }, 1);
},
TaskDialog(x) {
- if (D.dlg_bw) {
+ if (D.el && D.win) {
+ const { bwId } = D.ide.focusedWin;
+ const bw = bwId ? D.el.BrowserWindow.fromId(bwId) : D.elw;
+ const r = D.el.dialog.showMes... | 4 |
diff --git a/ModUserQuicklinksEverywhere.user.js b/ModUserQuicklinksEverywhere.user.js // @match https://*.stackexchange.com/*
// @exclude https://stackoverflow.com/c/*
// @author @samliew
-// @version 1.2.1
+// @version 1.2.2
// ==/UserScript==
(function() {
if(location.pathname.indexOf('/users/message/') === 0 || loc... | 2 |
diff --git a/src/components/LMap.vue b/src/components/LMap.vue @@ -145,8 +145,8 @@ export default {
data() {
return {
ready: false,
- lastSetCenter: null,
- lastSetBounds: null,
+ lastSetCenter: this.center ? latLng(this.center) : null,
+ lastSetBounds: this.bounds ? latLngBounds(this.bounds) : null,
lastSetZoom: null,... | 12 |
diff --git a/tests/js/setup-globals.js b/tests/js/setup-globals.js @@ -25,32 +25,6 @@ global._googlesitekitLegacyData = {
connectURL:
'http://example.com/wp-admin/index.php?action=googlesitekit_connect&nonce=abc123',
},
- modules: {
- 'search-console': {
- slug: 'search-console',
- name: 'Search Console',
- },
- 'pages... | 2 |
diff --git a/LICENSE b/LICENSE The MIT License (MIT)
-Copyright (c) 2015-2018 Oli Folkerd
+Copyright (c) 2015-2019 Oli Folkerd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
| 3 |
diff --git a/src/pages/signin/SignInPageLayout/SignInPageContent.js b/src/pages/signin/SignInPageLayout/SignInPageContent.js import React from 'react';
-import {View} from 'react-native';
+import {KeyboardAvoidingView, ScrollView, View} from 'react-native';
import PropTypes from 'prop-types';
import {withSafeAreaInsets... | 11 |
diff --git a/src/server/service/bolt.js b/src/server/service/bolt.js @@ -117,11 +117,10 @@ class BoltService {
}
async searchResults(command, inputSlack) {
- console.log(inputSlack);
- const growiCommand = inputSlack[0];
const keyword = inputSlack[1];
-
- if (growiCommand == null) {
+ // remove leading 'search'.
+ cons... | 14 |
diff --git a/src/components/Nav.js b/src/components/Nav.js @@ -34,6 +34,11 @@ const Item = Box.extend.attrs({ mx: [2, 3] })`
text-decoration: none;
font-weight: bold;
text-align: center;
+ max-width: 10em;
+
+ ${mx[1]} {
+ max-width: none;
+ }
`
const Nav = ({ mode = 'default', color = colors.white, ...props }) => (
| 7 |
diff --git a/test/functional/specs/Privacy/C14414.js b/test/functional/specs/Privacy/C14414.js import createFixture from "../../helpers/createFixture";
-import SequentialHook from "../../helpers/requestHooks/sequentialHook";
import {
compose,
orgMainConfigMain,
consentPending,
debugEnabled
} from "../../helpers/constan... | 2 |
diff --git a/app/components/Account/AccountAssetUpdate.jsx b/app/components/Account/AccountAssetUpdate.jsx @@ -23,19 +23,19 @@ import AssetWhitelist from "./AssetWhitelist";
import AssetFeedProducers from "./AssetFeedProducers";
import ZfApi from "react-foundation-apps/src/utils/foundation-api";
import {withRouter} fro... | 14 |
diff --git a/token-metadata/0x6a4FFAafa8DD400676Df8076AD6c724867b0e2e8/metadata.json b/token-metadata/0x6a4FFAafa8DD400676Df8076AD6c724867b0e2e8/metadata.json "symbol": "BDAI",
"address": "0x6a4FFAafa8DD400676Df8076AD6c724867b0e2e8",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/consts/const_global.js b/src/consts/const_global.js @@ -8,7 +8,7 @@ const BigInteger = require('big-integer');
let consts = {
- DEBUG: true,
+ DEBUG: false,
OPEN_SERVER: true,
};
@@ -532,7 +532,7 @@ if ( consts.DEBUG === true ) {
FallBackNodesList.nodes = [{
"addr": ["http://testnet2.hoste.ro:8001"],
-... | 13 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs:
command: npm run cicoverage
- run:
name: browser
- command: if [ "${CIRCLE_BRANCH}" != "master" ]; then npm run browser; fi;
+ command: if [ "${CIRCLE_BRANCH}" != "master" ]; then npm run browser || true; fi;
- run:
name: pre-danger
comman... | 8 |
diff --git a/lib/util.js b/lib/util.js @@ -503,6 +503,9 @@ function sanitizeShellString(str) {
result = result.replace(/\$/g, "");
result = result.replace(/#/g, "");
result = result.replace(/\\/g, "");
+ result = result.replace(/\t/g, "");
+ result = result.replace(/\n/g, "");
+ result = result.replace(/\"/g, "");
retu... | 7 |
diff --git a/src/wtsdk/src/flightplanning/FlightPlanManager.ts b/src/wtsdk/src/flightplanning/FlightPlanManager.ts @@ -1048,10 +1048,15 @@ export class FlightPlanManager {
}
/**
- * Gets the approach from the current flight plan.
+ * Gets the approach procedure from the current flight plan destination airport procedure... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -3261,7 +3261,9 @@ var $$IMU_EXPORT$$;
// https://t1.daumcdn.net/news/201903/06/newsen/20190306201751195iqvu.jpg -- 641x1000
// other:
// http://photo.newsen.com/photo/2006/05/15/200605151650091006_1.jpg
- src = src.replace(/_ts\.[^/._]*$/, ".jpg").replace("/mphot... | 7 |
diff --git a/lib/model/Model.js b/lib/model/Model.js @@ -620,14 +620,6 @@ class Model {
return this.knex().table(this.tableName);
}
- static uniqueTag() {
- if (this.name) {
- return `${this.tableName}_${this.name}`;
- } else {
- return this.tableName;
- }
- }
-
static bindKnex(knex) {
const ModelClass = this;
// These... | 14 |
diff --git a/README.md b/README.md @@ -1072,6 +1072,14 @@ Set of shader functions used for interacting with the packed BVH in a shader and
- A separate bounds tree is generated for each [geometry group](https://threejs.org/docs/#api/en/objects/Group), which could result in less than optimal raycast performance on geome... | 0 |
diff --git a/demos/generator/typed.html b/demos/generator/typed.html </style>
</head>
<body>
- <p>
+<!--
<form onsubmit="Typed.onClickConvert(event)">
<input class="ocamlCode" type="text" value="let x = true && false || false in x"></input>
<input type="submit" value="Convert to block"></input>
</form>
- </p>
+-->
<div... | 2 |
diff --git a/src/components/Personalization/index.js b/src/components/Personalization/index.js @@ -16,7 +16,7 @@ import { hideContainers, showContainers, hideElements } from "./flicker";
const PAGE_HANDLE = "personalization:page";
const SESSION_ID_COOKIE = "SID";
-const SESSION_ID_TTL = 31 * 60 * 1000;
+const SESSION_I... | 10 |
diff --git a/src/og/scene/Planet.js b/src/og/scene/Planet.js @@ -1561,8 +1561,6 @@ class Planet extends RenderNode {
dist = this.getDistanceFromPixelEllipsoid(px) || 0;
}
- print2d("l0", `${d.toFixed(2)}, ${dist.toFixed(2)}`, 100, 100);
-
this._currentDistanceFromPixel = dist;
return this._currentDistanceFromPixel;
| 2 |
diff --git a/README.rst b/README.rst @@ -16,7 +16,7 @@ It is currently released as:
- `userscript.user.js <https://github.com/qsniyg/maxurl/blob/master/userscript.user.js>`__ is also the base for everything listed below
- It also serves as a node module (used by the reddit bot), and can be embedded in a website
-- Brow... | 7 |
diff --git a/packages/node_modules/@node-red/editor-api/lib/auth/index.js b/packages/node_modules/@node-red/editor-api/lib/auth/index.js @@ -41,7 +41,7 @@ function init(_settings,storage) {
if (settings.adminAuth) {
var mergedAdminAuth = Object.assign({}, settings.adminAuth, settings.adminAuth.module);
Users.init(merge... | 1 |
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/opinion.html b/modules/xerte/parent_templates/Nottingham/models_html5/opinion.html }
var width = $("#mainPanel").width(),
- height = $("#mainPanel").height() - $("#qNo").height() - $("#feedback").height() - $("#buttonHolder").height(),
+ height = $("#p... | 7 |
diff --git a/lib/email.js b/lib/email.js @@ -163,8 +163,8 @@ Email.prototype.promise_leave_request_revoke_emails = function(args){
leave = args.leave,
send_mail = self.get_send_email();
- const template_name_to_supervisor = 'leave_request_revoke_to_supervisor';
- const template_name_to_requestor = 'leave_request_revoke... | 1 |
diff --git a/frontend/imports/startup/client/network.js b/frontend/imports/startup/client/network.js @@ -87,7 +87,7 @@ function checkIfOrderMatchingEnabled(marketType) {
Dapple['maker-otc'].objects.otc.LogMatchingEnabled({}, { fromBlock: 'latest' }, (err, status) => {
if (!err) {
- Session.set('isMatchingEnabled', stat... | 9 |
diff --git a/civictechprojects/static/css/partials/_MainHeader.scss b/civictechprojects/static/css/partials/_MainHeader.scss color: $color-orange;
}
.navbar {
- font-size: 18px;
padding: 0.25rem; //override entire navbar padding values, set our own later
}
.navbar-brand {
.dropdown-toggle.nav-link::after {
content: '\2... | 13 |
diff --git a/js/webcomponents/bisweb_filetreepanel.js b/js/webcomponents/bisweb_filetreepanel.js @@ -571,7 +571,8 @@ class FileTreePanel extends HTMLElement {
enabledButtons.Viewer1 = false;
enabledButtons.Viewer2 = false;
}
- } if (tree.get_node(data.node.parent).original.text !== 'func') {
+ } if (data.node.parent ==... | 1 |
diff --git a/web/console.html b/web/console.html border-right: 1px solid #1E252D;
border-left: 1px solid #1E252D;
}
+
.console-content::-webkit-scrollbar-thumb {
background-color: #565C62;
}
+
.console-content::-webkit-scrollbar-corner {
background: #1E252D;
}
</div>
<button type="button" id="clearConsole" class="btn b... | 0 |
diff --git a/dangerfile.js b/dangerfile.js @@ -80,6 +80,10 @@ schedule(
created: 'fail',
// Warn on modified untyped files
modified: 'warn',
- blacklist: ['flow-typed/**/*.js', 'public/**/*.js'],
+ blacklist: [
+ 'flow-typed/**/*.js',
+ 'public/**/*.js',
+ 'iris/migrations/**/*.js',
+ ],
})
);
| 8 |
diff --git a/views/login.blade.php b/views/login.blade.php <div class="custom-control custom-checkbox">
<input type="checkbox"
class="form-check-input custom-control-input"
- id="stay_logged_in">
+ id="stay_logged_in"
+ name="stay_logged_in">
<label class="form-check-label custom-control-label"
for="stay_logged_in">
{{... | 0 |
diff --git a/src/core/lib/FileSignatures.mjs b/src/core/lib/FileSignatures.mjs @@ -609,7 +609,7 @@ export const FILE_SIGNATURES = {
47: 0x6d,
48: 0x6c
},
- extractor: null
+ extractor: extractZIP
},
{
name: "EPUB e-book",
| 0 |
diff --git a/assets/js/modules/analytics/datastore/profiles.test.js b/assets/js/modules/analytics/datastore/profiles.test.js @@ -155,6 +155,7 @@ describe( 'modules/analytics profiles', () => {
describe( 'selectors', () => {
describe( 'getProfiles', () => {
it( 'uses a resolver to make a network request', async () => {
... | 12 |
diff --git a/lib/console_web/controllers/v1/device_controller.ex b/lib/console_web/controllers/v1/device_controller.ex @@ -5,6 +5,9 @@ defmodule ConsoleWeb.V1.DeviceController do
alias Console.Labels
alias Console.Devices
alias Console.Devices.Device
+ alias Console.Repo
+ alias Console.AlertEvents
+ alias Console.Aler... | 9 |
diff --git a/lib/creator/yeoman/utils/entry.js b/lib/creator/yeoman/utils/entry.js @@ -41,7 +41,7 @@ module.exports = (self, answer) => {
return forEachPromise(entryIdentifiers, (entryProp) => self.prompt([
InputValidate(
`${entryProp}`,
- `What is the location of '${entryProp}'? [example: './${entryProp}']`,
+ `What i... | 4 |
diff --git a/common/components/constants/LinkConstants.js b/common/components/constants/LinkConstants.js @@ -12,7 +12,7 @@ export type LinkSourceDisplayConfig = {|
+iconClass: string,
|};
-const httpsWwwPrefix = "^http:s?\/\/w*\.?";
+const httpsWwwPrefix = "^https?://w*.?";
export const LinkDisplayConfigurationByUrl: $... | 7 |
diff --git a/public/js/grocy.js b/public/js/grocy.js @@ -677,7 +677,23 @@ $(document).on("click", ".easy-link-copy-textbox", function()
$("textarea.wysiwyg-editor").summernote({
minHeight: "300px",
- lang: __t("summernote_locale")
+ lang: __t("summernote_locale"),
+ callbacks: {
+ onImageLinkInsert: function(url)
+ {
+... | 0 |
diff --git a/ui/app/css/itcss/components/modal.scss b/ui/app/css/itcss/components/modal.scss @media screen and (max-width: 679px) {
font-size: 10px;
+ padding: 0px 10px;
+ margin-bottom: 5px;
+ line-height: 15px;
+ }
+
+ @media screen and (min-width: 680px) {
+ font-size: 14px;
+ padding: 0px 4px;
+ margin-bottom: 2px;... | 7 |
diff --git a/src/libs/HttpUtils.js b/src/libs/HttpUtils.js @@ -22,6 +22,8 @@ Onyx.connect({
// We use the AbortController API to terminate pending request in `cancelPendingRequests`
let cancellationController = new AbortController();
+const platform = getOperatingSystem();
+
/**
* Send an HTTP request, and attempt to r... | 5 |
diff --git a/bin/oref0-bash-common-functions.sh b/bin/oref0-bash-common-functions.sh @@ -200,7 +200,7 @@ script_is_sourced () {
# something other than yes or no, ask the question again.
prompt_yn () {
while true; do
- if [[ "$2" == "y" ]]; then
+ if [[ "$2" =~ ^[Yy]$ ]]; then
read -p "$1 [Y]/n " -r
else
read -p "$1 y/[... | 11 |
diff --git a/src/pages/using-spark/components/icon.mdx b/src/pages/using-spark/components/icon.mdx @@ -28,7 +28,7 @@ give feedback.
### Guidelines
-- Icons should only be sized to 16px, 32px, 64px, or 128px.
+- Icons should only be sized to 16px, 24px, or 32px.
- Icons should not be used in place of artwork or illustra... | 3 |
diff --git a/layouts/partials/fragments/faq.html b/layouts/partials/fragments/faq.html {{- if not (in .Name "/index.md") -}}
{{- $item := .Params }}
{{- $card_header_id := printf "%s" (strings.TrimSuffix ".md" (replace .Name (printf "%s/" $.Name) "")) }}
- {{- $collapse_id := printf "%s-collapse" (strings.TrimSuffix ".... | 1 |
diff --git a/js/default.js b/js/default.js @@ -3,11 +3,6 @@ window.ipc = electron.ipcRenderer
window.remote = electron.remote
window.Dexie = require('dexie')
-// disable dragdrop, since it currently doesn't work
-window.addEventListener('drop', function (e) {
- e.preventDefault()
-})
-
// add a class to the body for fu... | 2 |
diff --git a/src/cluster/index.js b/src/cluster/index.js @@ -10,13 +10,13 @@ const {
KafkaJSGroupCoordinatorNotFound,
} = require('../errors')
-const { keys, assign } = Object
+const { keys } = Object
const EARLIEST_OFFSET = -2
const LATEST_OFFSET = -1
-const mergeTopics = (obj, { topic, partitions }) =>
- assign(obj, ... | 14 |
diff --git a/OurUmbraco.Site/Views/Partials/Community/Home.cshtml b/OurUmbraco.Site/Views/Partials/Community/Home.cshtml @@ -154,8 +154,11 @@ else
<a href="https://github.com/umbraco/UmbracoDocs" target="_blank" rel="noreferrer noopener" title="UmbracoDocs">UmbracoDocs</a>,
<a href="https://github.com/umbraco/OurUmbrac... | 3 |
diff --git a/app/models/carto/api_key.rb b/app/models/carto/api_key.rb @@ -66,14 +66,14 @@ class Carto::ApiKey < ActiveRecord::Base
end
def setup_db_role
- user_db_connection.run(
+ db_run(
"create role \"#{db_role}\" NOSUPERUSER NOCREATEDB NOINHERIT LOGIN ENCRYPTED PASSWORD '#{db_password}'"
)
end
def drop_db_role
rev... | 9 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,15 @@ 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.35.2] -- 2018-03-09
+
+### Fixed
+- Ping `mapbox-gl` to `0.44.1` so that users on fresh
+ `npm install` do not get the wrong mapbox-g... | 3 |
diff --git a/vis/js/mediator.js b/vis/js/mediator.js @@ -228,6 +228,7 @@ MyMediator.prototype = {
mediator.manager.call('headstart', 'dynamicSizing', [data.length]);
mediator.manager.call('canvas', 'setupCanvas', []);
+ mediator.manager.call('canvas', 'initInfoModal');
if (config.scale_toolbar) {
mediator.manager.regis... | 1 |
diff --git a/spec/solve.spec.js b/spec/solve.spec.js @@ -123,6 +123,19 @@ describe('Solve', function () {
given: 'solve(tan(b*x)=a, x)',
expected: 'atan(a)/b' // overly simplified solution
},
+ // combined trig functions
+ {
+ given: 'solve(sin(cos(x^2))=a^2-b, x)',
+ expected: '[sqrt(acos(asin(a^2-b))), -sqrt(acos(asi... | 0 |
diff --git a/gears/carto_gears_api/spec/carto_gears_api/users_service_spec.rb b/gears/carto_gears_api/spec/carto_gears_api/users_service_spec.rb @@ -5,26 +5,23 @@ describe CartoGearsApi::Users::UsersService do
describe '#logged_user' do
module CartoDB; end
- let(:id) { 'b51e56fb-f3c9-463f-b950-d9be188551e5' }
- let(:us... | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.