code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/js/templates/modals/editListing/editListing.html b/js/templates/modals/editListing/editListing.html <div class="contentBox padMd clrP clrBr clrSh3">
<div class="flexHRight flexVCent gutterH">
- <a class="txU js-viewListing js-viewListingWrap <% if (ob.createMode) print('hide') %>"><%= ob.polyT('editListing... | 4 |
diff --git a/web-sourcecode/src/components/SumaClient.vue b/web-sourcecode/src/components/SumaClient.vue @@ -276,7 +276,6 @@ export default {
this.activityvaluesmulti = [];
this.countNumber = 1;
document.getElementById('countsform').scrollTop = 0;
- document.getElementById('countsform').documentElement.scrollTop = 0;
t... | 3 |
diff --git a/lib/models/transaction.js b/lib/models/transaction.js @@ -93,7 +93,8 @@ TransactionSchema.statics.addTransactions = function(params){
wallets: wallets
}
},
- upsert: true
+ upsert: true,
+ forceServerObjectId: true
}
};
cb(null, op);
@@ -146,7 +147,8 @@ TransactionSchema.statics.mintCoins = async function ... | 12 |
diff --git a/src/Output.js b/src/Output.js @@ -198,11 +198,11 @@ export class Output extends EventEmitter {
* [MIDI messages]{@link https://www.midi.org/specifications/item/table-1-summary-of-midi-message}
* from the MIDI Manufacturers Association.
*
- * @param status {Number} The MIDI status byte of the message (128-2... | 7 |
diff --git a/token-metadata/0x06FF1a3B08b63E3b2f98A5124bFC22Dc0AE654d3/metadata.json b/token-metadata/0x06FF1a3B08b63E3b2f98A5124bFC22Dc0AE654d3/metadata.json "symbol": "KASSIAHOTEL",
"address": "0x06FF1a3B08b63E3b2f98A5124bFC22Dc0AE654d3",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VE... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -9999,7 +9999,7 @@ var $$IMU_EXPORT$$;
},
redirect: {
name: "Enable redirection",
- description: "Redirect images opened in their own tab",
+ description: "Automatically redirect media opened in their own tab to their larger/original versions",
category: "redirect... | 7 |
diff --git a/aura-impl/src/main/resources/aura/locker/SecureElement.js b/aura-impl/src/main/resources/aura/locker/SecureElement.js @@ -1858,6 +1858,10 @@ SecureElement.metadata = {
"onsuspend": EVENT,
"ontimeupdate": EVENT,
"ontoggle": EVENT,
+ "ontouchcancel": EVENT,
+ "ontouchend": EVENT,
+ "ontouchmove": EVENT,
+ "o... | 11 |
diff --git a/src/components/common/TmSessionWelcome.vue b/src/components/common/TmSessionWelcome.vue @@ -80,7 +80,10 @@ export default {
methods: {
setState(value) {
if (!navigator.userAgent.includes(`Chrome`)) {
- alert(`Please use Chrome or Brave.`)
+ this.$store.commit(`notifyError`, {
+ title: ``,
+ body: `Please u... | 14 |
diff --git a/bin/calculate_carry_over_allowance_for_all_users.js b/bin/calculate_carry_over_allowance_for_all_users.js const
Promise = require('bluebird'),
+ moment = require('moment'),
models = require('../lib/model/db');
const
- YEAR_FROM = '2017',
- YEAR_TO = '2018';
+ YEAR_FROM = '2018',
+ YEAR_TO = '2019';
/*
* 1.... | 1 |
diff --git a/.vscode/settings.json b/.vscode/settings.json "files.exclude": {
"**/.git": true,
"**/coverage": true
- },
- "eslint.options": {
- "configFile": "/Users/mmaciorowski/Documents/Projekty/JS/carbon/.eslintrc"
- },
- "editor.tabSize": 2,
- "editor.detectIndentation": false,
+ }
}
\ No newline at end of file
| 13 |
diff --git a/src/components/dashboard/Dashboard.js b/src/components/dashboard/Dashboard.js @@ -364,29 +364,24 @@ const Dashboard = props => {
/**
* rerender on screen size change
*/
- const handleResize = useCallback(
- debounce(() => {
+ const _handleResize = useCallback(() => {
setUpdate(Date.now())
calculateHeaderLa... | 0 |
diff --git a/src/components/Control.jsx b/src/components/Control.jsx @@ -15,6 +15,7 @@ function Control(props) {
const typeRefs = {
ammo: useRef(null),
map: useRef(null),
+ lootTier: useRef(null),
};
const handleConnectClick = (event) => {
@@ -50,6 +51,10 @@ function Control(props) {
handleViewChange('ammo', typeRefs['... | 11 |
diff --git a/README.md b/README.md @@ -15,7 +15,7 @@ You can import a theme into your styles using either LESS or SASS.
LESS:
-```
+```less
@import "bootstrap/less/bootstrap.less";
@import "bootswatch/theme/variables.less";
@import "bootswatch/theme/bootswatch.less";
@@ -24,7 +24,7 @@ LESS:
SASS:
-```
+```sass
@import ... | 7 |
diff --git a/src/post/PostActionButtons.js b/src/post/PostActionButtons.js import React, { Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
+import { FormattedMessage } from 'react-intl';
import numeral from 'numeral';
import LikeButton from './actionButtons/L... | 2 |
diff --git a/src/content/developers/docs/transactions/index.md b/src/content/developers/docs/transactions/index.md @@ -131,9 +131,9 @@ Bob's account will be debited **-1.0042 ETH**
Alice's account will be credited **+1.0 ETH**
-The base fee will be burned **-0.003735 ETH**
+The base fee will be burned **-0.00399 ETH**
... | 7 |
diff --git a/ThirdParty.json b/ThirdParty.json "license": [
"MIT"
],
- "version": "3.16.0",
+ "version": "3.16.2",
"url": "https://www.npmjs.com/package/autolinker"
},
{
"license": [
"MIT"
],
- "version": "0.2.2",
+ "version": "0.4.5",
"url": "https://www.npmjs.com/package/ktx-parse"
},
{
"license": [
"MIT"
],
- "versi... | 3 |
diff --git a/tooling/rollup/rollup-plugin-svg.js b/tooling/rollup/rollup-plugin-svg.js @@ -34,6 +34,15 @@ const drawIcon${name} = (props) => {
}
const svg = cachedNode.cloneNode(true);
setAttributes(svg, props);
+ const title = props && props.title;
+ if (title) {
+ const titleTag = document.createElementNS(
+ 'http://... | 12 |
diff --git a/runner/src/main/java/com/codingame/gameengine/runner/Renderer.java b/runner/src/main/java/com/codingame/gameengine/runner/Renderer.java @@ -7,6 +7,7 @@ import java.net.JarURLConnection;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.file.Files;
+import java.nio.file.NoSuchFileExce... | 8 |
diff --git a/lib/apollo/withData.js b/lib/apollo/withData.js @@ -38,9 +38,11 @@ export default ComposedComponent => {
// Server-side we initialize a fresh apollo with all headers (including cookie)
// and forward cookies from backend responses to the user
const apollo = initApollo(undefined, ctx.req.headers, response =... | 9 |
diff --git a/src/core/operations/RawInflate.mjs b/src/core/operations/RawInflate.mjs @@ -82,7 +82,6 @@ class RawInflate extends Operation {
}),
result = new Uint8Array(inflate.decompress());
- // This seems to be the easiest way...
return result.buffer;
}
| 2 |
diff --git a/test/common/tests.js b/test/common/tests.js const assert = require('assert')
const stream = require('stream')
const { join } = require('path')
+const util = require('util')
const ISOLATION_LEVELS = require('../../lib/isolationlevel')
const BaseTransaction = require('../../lib/base/transaction')
const versi... | 7 |
diff --git a/components/tabs/Tabs.js b/components/tabs/Tabs.js @@ -86,15 +86,21 @@ const factory = (Tab, TabContent, FontIcon) => {
}
updateArrows = () => {
- const nav = this.navigationNode;
+ const idx = this.navigationNode.children.length - 2;
+
+ if (idx >= 0) {
+ const scrollLeft = this.navigationNode.scrollLeft;
... | 1 |
diff --git a/src/TemplateWriter.js b/src/TemplateWriter.js @@ -166,7 +166,7 @@ TemplateWriter.prototype.write = async function() {
usedTemplateContentTooEarlyMap.push(mapEntry);
} else {
return Promise.reject(
- TemplateWriterWriteError(
+ new TemplateWriterWriteError(
`Having trouble writing template: ${mapEntry.outpu... | 1 |
diff --git a/docs/Air.md b/docs/Air.md @@ -100,7 +100,7 @@ If Low Fare Shop Async request has more results in cache, use this method to ret
For fetching detailed fare rules after itinerary selection this method is used.
**Returns**: `Promise`
-
+**See**: [Fare Rules](https://support.travelport.com/webhelp/uapi/Content/... | 0 |
diff --git a/lib/node_modules/@stdlib/plot/sparklines/unicode/base/lib/defaults.js b/lib/node_modules/@stdlib/plot/sparklines/unicode/base/lib/defaults.js @@ -37,14 +37,17 @@ function defaults() {
// Boolean indicating whether to re-render on a `change` event:
out.autoRender = false;
+ // Data buffer size:
+ out.buffer... | 12 |
diff --git a/test/integration/offline.js b/test/integration/offline.js -/* global describe before context it */
-
const { expect } = require('chai');
const ServerlessBuilder = require('../support/ServerlessBuilder');
const OfflineBuilder = require('../support/OfflineBuilder');
| 2 |
diff --git a/token-metadata/0x26946adA5eCb57f3A1F91605050Ce45c482C9Eb1/metadata.json b/token-metadata/0x26946adA5eCb57f3A1F91605050Ce45c482C9Eb1/metadata.json "symbol": "BSOV",
"address": "0x26946adA5eCb57f3A1F91605050Ce45c482C9Eb1",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/package.json b/package.json "lingui-extract": "lingui extract",
"lingui-compile": "lingui compile",
"lingui": "lingui extract && lingui compile",
- "postinstall": "patch-package && cp patches/realm+1.3.0-package-patched.json node_modules/realm-web/package.json"
+ "postinstall": "patch-package && cp patches... | 0 |
diff --git a/README.md b/README.md @@ -184,6 +184,7 @@ TestCafe developers and community members made these plugins:
* [Nightmare headless provider](https://github.com/ryx/testcafe-browser-provider-nightmare) (by [@ryx](https://github.com/ryx))
* [fbsimctl iOS emulator](https://github.com/Ents24/testcafe-browser-provid... | 0 |
diff --git a/src/components/TextInput/BaseTextInput.js b/src/components/TextInput/BaseTextInput.js @@ -121,12 +121,7 @@ class BaseTextInput extends Component {
}
onFocus(event) {
- if (this.props.disabled) {
- return;
- }
- if (this.props.onFocus) {
- this.props.onFocus(event);
- }
+ if (this.props.onFocus) { this.prop... | 13 |
diff --git a/extension/data/styles/toolbox.css b/extension/data/styles/toolbox.css @@ -159,7 +159,7 @@ div#tb-context-menu #tb-context-header {
}
.mod-toolbox-rd .tb-settings .tb-window-wrapper {
- width: 845px;
+ max-width: 845px;
}
.mod-toolbox-rd .tb-window-wrapper-two {
@@ -250,7 +250,7 @@ div#tb-context-menu #tb-c... | 11 |
diff --git a/src/sdk/conference/conference.js b/src/sdk/conference/conference.js self.signaling.on('text', function(data) {
var evt = new Woogeen.MessageEvent({
type: 'message-received',
- msg: data.message
+ msg: data.msg.message
});
self.dispatchEvent(evt);
});
| 1 |
diff --git a/src/components/AnnotationTabs/AnnotationTabs.js b/src/components/AnnotationTabs/AnnotationTabs.js @@ -92,6 +92,8 @@ export const AnnotationTabs = observer(({
if (showPredictions) list.push(...as.predictions);
if (showAnnotations) list.push(...as.annotations);
+ const tabsDisabled = !showPredictions && !sho... | 11 |
diff --git a/CHANGES.md b/CHANGES.md @@ -12,6 +12,8 @@ Change Log
* Added `Math.log2` to compute the base 2 logarithm of a number.
* Added 'PeliasGeocoderService', which provides geocoding via a [Pelias](https://pelias.io) server.
* Added `GeocodeType` enum and use it as an optional parameter to all `GeocoderService` i... | 3 |
diff --git a/client/app/vps/vps-task.service.js b/client/app/vps/vps-task.service.js @@ -9,6 +9,16 @@ class VpsTaskService {
this.firstCall = true;
}
+ /*
+ * subscribe : reset values and get pending tasks
+ *
+ */
+ subscribe (serviceName) {
+ this.tasks = [];
+ this.firstCall = true;
+ this.getTasks(serviceName);
+ }... | 12 |
diff --git a/lib/utilities.js b/lib/utilities.js @@ -575,7 +575,7 @@ export function arrayBuffertoBase64(buffer) {
return binary
*/
// User fixc for UTF characers on Mac and Linux hosts
- return new TextDecoder().decode(xhr.response)
+ return new TextDecoder().decode(buffer)
}
export function quotedAttackName(item) {
| 14 |
diff --git a/assets/js/googlesitekit/modules/datastore/modules.js b/assets/js/googlesitekit/modules/datastore/modules.js @@ -387,11 +387,12 @@ const baseActions = {
const registry = yield Data.commonActions.getRegistry();
- // As we can specify a custom checkRequirements function here, we're invalidating the resolvers ... | 2 |
diff --git a/test/test-0.10.3.js b/test/test-0.10.3.js @@ -75,3 +75,17 @@ describe('#230 #249 cookies manipulation', (report, done) => {
})
})
+
+describe('#254 IOS fs.stat lastModified date correction', (report, done) => {
+
+ let path = dirs.DocumentDir + '/temp' + Date.now()
+ fs.createFile(path, 'hello', 'utf8' )
+... | 0 |
diff --git a/packages/2018-neighborhood-development/src/state/explore-urban-campsite-sweeps/explore-urban-campsite-sweeps.test.js b/packages/2018-neighborhood-development/src/state/explore-urban-campsite-sweeps/explore-urban-campsite-sweeps.test.js @@ -67,28 +67,34 @@ describe('explore-urban-campsite-sweeps', () => {
p... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -33175,17 +33175,25 @@ if (domain_nosub === "lystit.com" && domain.match(/cdn[a-z]?\.lystit\.com/)) {
// https://hayabusa.io/abema/programs/12-20_s0_p25/thumb002.png
// https://hayabusa.io/abema/series/26-24agzukmebpc/thumb.v1557970510.png
// https://hayabusa.io/a... | 7 |
diff --git a/js/webcomponents/bisweb_filetreepanel.js b/js/webcomponents/bisweb_filetreepanel.js @@ -446,7 +446,6 @@ class FileTreePanel extends HTMLElement {
};
listContainer.on('select_node.jstree', (event, data) => {
- console.log('select_node', event, data);
$('.bisweb-elements-menu').find('select').prop('disabled'... | 1 |
diff --git a/test/externalTests/plugins/testCommon.js b/test/externalTests/plugins/testCommon.js @@ -251,10 +251,6 @@ function inject (bot) {
bot.on('message', joinHandler)
const child = spawn('node', [file, 'localhost', `${bot.test.port}`])
- child.on('close', (code) => {
- console.log('close requested ' + code)
- cb(... | 7 |
diff --git a/assets/sass/components/global/_googlesitekit-data-block.scss b/assets/sass/components/global/_googlesitekit-data-block.scss .googlesitekit-data-block--is-gathering-data {
cursor: auto;
+
+ &.googlesitekit-data-block--selected {
+
+ // FIXME: The bar still goes blue when navigating away, during the
+ // tra... | 1 |
diff --git a/tests/phpunit/integration/Core/Dashboard_Sharing/Active_ConsumersTest.php b/tests/phpunit/integration/Core/Dashboard_Sharing/Active_ConsumersTest.php @@ -41,34 +41,28 @@ class Active_ConsumersTest extends TestCase {
// Setting the value to a non-array will result in an empty array.
$this->set_value( false ... | 2 |
diff --git a/programs/generateLicenseList.js b/programs/generateLicenseList.js @@ -11,13 +11,27 @@ function get(url, callback) {
}
}
-function downloadToStream(project, url) {
- if (!url || url.indexOf('raw') === -1) {
+function downloadToStream(project, url, licenseId, originalLicenseUrl) {
+ if (!url) {
return Promis... | 9 |
diff --git a/services/importer/spec/unit/downloader_spec.rb b/services/importer/spec/unit/downloader_spec.rb @@ -25,6 +25,10 @@ describe Downloader do
@user = FactoryGirl.create(:carto_user)
end
+ after do
+ @user.destroy
+ end
+
after(:each) do
Typhoeus::Expectation.clear
end
| 2 |
diff --git a/core/algorithm-queue/lib/jobs/producer.js b/core/algorithm-queue/lib/jobs/producer.js @@ -50,7 +50,7 @@ class JobProducer {
log.info(`${Events.FAILED} ${data.jobId}, error: ${data.error}`, { component: componentName.JOBS_PRODUCER, jobId: data.jobId, status: Events.FAILED });
});
this._producer.on(Events.ST... | 0 |
diff --git a/bin/rekit.js b/bin/rekit.js @@ -147,6 +147,16 @@ mvCmd.addArgument('target', {
help: 'The target element to reach.',
});
+rekit.core.plugin.getPlugins('cli.defineArgs').forEach(p => {
+ p.cli.defineArgs({
+ parser,
+ subparsers,
+ addCmd,
+ rmCmd,
+ mvCmd,
+ });
+});
+
const args = parser.parseArgs();
// C... | 11 |
diff --git a/src/patterns/components/toggle/base.hbs b/src/patterns/components/toggle/base.hbs @@ -4,7 +4,7 @@ order: 1
---
<div data-sprk-toggle="container">
<a class="sprk-b-TypeBodyThree sprk-b-Link sprk-b-Link--standalone" data-sprk-toggle="trigger" href="#">
- <svg class="sprk-c-Icon sprk-c-Icon--large sprk-u-mrs"... | 3 |
diff --git a/docs/quick-start.md b/docs/quick-start.md @@ -77,7 +77,6 @@ backend:
name: github
repo: owner-name/repo-name # Path to your Github repository
branch: master # Branch to update
- site_domain: site-name.netlify.com # Your Netlify site address if different from host
```
This names GitHub as the authentication... | 2 |
diff --git a/plugins/block_storage/app/javascript/app/components/volumes/new.jsx b/plugins/block_storage/app/javascript/app/components/volumes/new.jsx import { Modal, Button } from 'react-bootstrap';
import { Form } from 'lib/elektra-form';
-const FormBody = ({values, availabilityZones, images, volumes}) =>
+const defa... | 12 |
diff --git a/token-metadata/0x4156D3342D5c385a87D264F90653733592000581/metadata.json b/token-metadata/0x4156D3342D5c385a87D264F90653733592000581/metadata.json "symbol": "SALT",
"address": "0x4156D3342D5c385a87D264F90653733592000581",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/lib/assets/javascripts/locale/en.json b/lib/assets/javascripts/locale/en.json },
"area-of-influence": {
"title": "Create Travel or Distance Buffers",
- "description": "Create travel or distance buffers creates polygons according to the parameters set by the user.",
+ "description": "Create Travel or Distan... | 1 |
diff --git a/assets/js/util/date-range.js b/assets/js/util/date-range.js @@ -64,24 +64,24 @@ export function getCurrentDateRangeSlug() {
*/
export function getAvailableDateRanges() {
/* translators: %s: Number of days to request data. */
- const template = __( 'Last %s days', 'google-site-kit' );
+ const format = __( '... | 10 |
diff --git a/client/src/components/NearestHospital/HealthFacilities.js b/client/src/components/NearestHospital/HealthFacilities.js @@ -159,20 +159,66 @@ const NearestHealthFacilities = props => {
}
const [ userCoords, setCoords ] = useState(null);
+ const [ gettingLocation, setGettingLocation ] = useState(false);
const... | 7 |
diff --git a/html/components/highlight-board.stories.js b/html/components/highlight-board.stories.js @@ -10,7 +10,7 @@ export default {
},
};
-export const defaultHighlightBoard = () => `
+export const defaultStory = () => `
<div
class="sprk-c-HighlightBoard sprk-c-HighlightBoard--has-image sprk-u-mbm"
data-id="highlig... | 3 |
diff --git a/packages/vue/src/stories/getting-started/1. installation.stories.mdx b/packages/vue/src/stories/getting-started/1. installation.stories.mdx @@ -132,23 +132,31 @@ If you want to use your own font instead, use this [snippet generator](https://g
For Nuxt.js project, you can add the following to the `head` sec... | 1 |
diff --git a/app.rb b/app.rb @@ -10,9 +10,6 @@ require 'sinatra/subdomain'
require 'json'
require 'mongo'
-# Allows all connections
-set :bind, '0.0.0.0'
-
# Uses the modular version of Sinatra
class SpacexAPI < Sinatra::Base
register Sinatra::Subdomain
| 13 |
diff --git a/layouts/partials/helpers/fragments-renderer.html b/layouts/partials/helpers/fragments-renderer.html {{- $real_page := $layout_info.real_page -}}
{{- $root := $layout_info.root -}}
-{{- range sort ($page_scratch.Get "page_fragments") "Params.weight" -}}
+{{- range sort ($page_scratch.Get "page_fragments" | ... | 0 |
diff --git a/alpha/CollateralisedNomin.sol b/alpha/CollateralisedNomin.sol @@ -609,13 +609,14 @@ contract CollateralisedNomin is ERC20Token {
onlyOwner
{
stalePeriod = period;
- StalePeriodUpdate(price);
+ StalePeriodUpdate(period);
}
/* True iff the current block timestamp is later than the time
* the price was last u... | 1 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/alert/RatingReminderAlert.js b/public/javascripts/SVLabel/src/SVLabel/alert/RatingReminderAlert.js @@ -18,7 +18,8 @@ function RatingReminderAlert(alertHandler) {
if (self['ratingCount'] >= MINIMUM_NO_RATING_BEFORE_ALERT
&& (svl.onboarding == null || svl.onboarding.isO... | 7 |
diff --git a/src/models/entities.js b/src/models/entities.js @@ -103,7 +103,7 @@ const EntitiesModel = DataConnected.extend({
const dim = this.dim;
this._entitySets = { [dim]: this._root.dataManager.getAvailableDataForKey(dim, null, "entities")
- .filter(d => ["entity_set"].includes(this._root.dataManager.getConceptPro... | 13 |
diff --git a/src/config/backpack/base.php b/src/config/backpack/base.php @@ -148,7 +148,7 @@ return [
// All JS and CSS assets defined above have this string appended as query string (?v=string).
// If you want to manually trigger cachebusting for all styles and scripts,
- // append or prepent something to the string b... | 3 |
diff --git a/package.json b/package.json {
- "name": "math-editor-poc",
+ "name": "math-editor",
"version": "1.0.0",
"description": "Matematiikkaeditori-spike",
"author": "",
- "homepage": "https://github.com/digabi/math-editor-poc",
+ "homepage": "https://github.com/digabi/math-editor",
"scripts": {
"start": "app/inde... | 2 |
diff --git a/instancing.js b/instancing.js @@ -446,3 +446,15 @@ export class InstancedGeometryAllocator {
} */
}
}
+
+export class BatchedMesh extends THREE.InstancedMesh {
+ constructor(geometry, material, allocator) {
+ super(geometry, material);
+
+ this.isBatchedMesh = true;
+ this.allocator = allocator;
+ }
+ getD... | 0 |
diff --git a/bids-validator/validators/events/hed.js b/bids-validator/validators/events/hed.js @@ -185,23 +185,21 @@ export default function checkHedStrings(events, headers, jsonContents, dir) {
hedStringsFound = true
}
- for (const hedString of hedStrings) {
const [
- isHedStringValid,
+ isHedDatasetValid,
hedIssues,
... | 4 |
diff --git a/deepfence_ui/app/scripts/components/compliance-view/start-scan-modal/index.jsx b/deepfence_ui/app/scripts/components/compliance-view/start-scan-modal/index.jsx @@ -312,20 +312,8 @@ const checkTypes = {
],
kubernetes: [
{
- id: 'hipaa',
- displayName: 'HIPAA',
- },
- {
- id: 'gdpr',
- displayName: 'GDPR',
-... | 3 |
diff --git a/options.html b/options.html <label class="fancy-checkbox">
<input type="checkbox" name="ext-etheraddresslookup-twitter_validation" id="ext-etheraddresslookup-twitter_validation">
- <span>Twitter Validation</span> <sup>[<a href="https://github.com/409H/EtherAddressLookup/wiki/Twitter-Badges" target="_blank"... | 10 |
diff --git a/Source/Scene/Model.js b/Source/Scene/Model.js @@ -1524,15 +1524,14 @@ define([
function parseTextures(model, context) {
var gltf = model.gltf;
var images = gltf.images;
- var binary;
var uri;
ForEach.texture(gltf, function(texture, id) {
var imageId = texture.source;
var gltfImage = images[imageId];
var ex... | 3 |
diff --git a/src/index.js b/src/index.js @@ -254,7 +254,7 @@ app.on('login', (event, webContents, request, authInfo, callback) => {
callback(ps.user, ps.password);
});
} else if (authInfo.scheme === 'basic') {
- console.log('basic auth handler', authInfo);
+ debug('basic auth handler', authInfo);
basicAuthHandler(mainW... | 14 |
diff --git a/assets/js/googlesitekit/datastore/forms/index.js b/assets/js/googlesitekit/datastore/forms/index.js @@ -23,17 +23,15 @@ import Data from 'googlesitekit-data';
import invariant from 'invariant';
import { STORE_NAME } from './constants';
-// Actions
-const SET_FORM_VALUES = 'SET_FORM_VALUES';
-
export { STOR... | 2 |
diff --git a/src/renderer/lib/torrent-poster.js b/src/renderer/lib/torrent-poster.js @@ -74,15 +74,23 @@ function filterOnExtension (torrent, extensions) {
}
function scoreCoverFile (file) {
- const name = path.basename(file.name, path.extname(file.name)).toLowerCase()
- switch (name) {
- case 'cover': return 100
- cas... | 7 |
diff --git a/waitlist/admin.py b/waitlist/admin.py from django.contrib import admin
+from waitlist.models import WaitlistItem
-# Register your models here.
+class WaitlistItemAdmin(admin.ModelAdmin):
+ model = WaitlistItem
+ list_display = ['id', 'book', 'library', 'user']
+ search_fields = ['book__title', 'user__usern... | 0 |
diff --git a/related.js b/related.js @@ -23,6 +23,9 @@ module.exports = function (db) {
//which causes messages to be queried twice.
var n = 1
var msgs = {key: key, value: null}
+
+ related(msgs, depth)
+
db.get(key, function (err, msg) {
msgs.value = msg
if (err && err.notFound)
@@ -30,8 +33,6 @@ module.exports = func... | 9 |
diff --git a/plugins/compute/app/views/compute/keypairs/show.html.haml b/plugins/compute/app/views/compute/keypairs/show.html.haml %tbody
%tr
%th Name
- %td= @keypair.name
+ %td= @keypair.nil? ? "" : @keypair.name
%tr
%th User ID
- %td= @keypair.user_id
+ %td= @keypair.nil? ? "" : @keypair.user_id
%tr
%th Fingerprint
-... | 1 |
diff --git a/src/components/HeaderButton.js b/src/components/HeaderButton.js import React, { Component } from 'react'
-import { TouchableOpacity } from 'react-native'
-import { Icon } from 'native-base'
+import { TouchableOpacity, StyleSheet } from 'react-native'
+import { Text, Icon } from 'native-base'
class HeaderBu... | 9 |
diff --git a/src/api/auth.js b/src/api/auth.js @@ -14,6 +14,9 @@ export function signOut() {
}
function verifyUserFromToken(token) {
+ if (!token) {
+ return Promise.resolve(unauthenticatedUser);
+ }
const user = atob(token.split(".")[1]);
if (!user) {
| 9 |
diff --git a/.github/workflows/zips.yml b/.github/workflows/zips.yml @@ -79,7 +79,7 @@ jobs:
- uses: actions/checkout@v2
with:
repository: ${{ github.repository }}.wiki
- ref: main
+ ref: master
token: ${{ secrets.GITHUB_PERSONAL_ACCESS_TOKEN }}
- name: Download artifacts
uses: actions/download-artifact@v1
@@ -93,7 +93... | 1 |
diff --git a/_locales/en/messages.json b/_locales/en/messages.json "description": "[options] Copyright and version number in page footer"
},
"msgClickPageToPlayVideo": {
- "message": "click page then hover again",
+ "message": "Click anywhere on the page then hover again",
"description": "User must interact with the do... | 7 |
diff --git a/src/js/controllers/wallet-details.controller.js b/src/js/controllers/wallet-details.controller.js @@ -405,7 +405,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
];
});
- var refreshInterval;
+ var refreshInterval = null;
$scope.$on("$ionicView.afterEnter", function onA... | 1 |
diff --git a/Makefile b/Makefile @@ -34,7 +34,7 @@ test: test-unit test-e2e
test-ci: test-unit-ci test-e2e-ci
test-unit: build build/test-unit.js
@$(karma) karma.conf.js
-test-unit-debug: build build/test.js
+test-unit-debug: build build/test-unit.js
BROWSER=ChromeDebug $(karma) karma.conf.js
test-unit-ci: build build/... | 1 |
diff --git a/scene-cruncher.js b/scene-cruncher.js @@ -7,9 +7,9 @@ import physicsManager from './physics-manager.js';
const localVector = new THREE.Vector3();
const localVector2 = new THREE.Vector3();
-const localVector3 = new THREE.Vector3();
+// const localVector3 = new THREE.Vector3();
const localVector4D = new THRE... | 2 |
diff --git a/src/components/select/Select.js b/src/components/select/Select.js @@ -97,14 +97,13 @@ export class SelectComponent extends BaseComponent {
if (typeof data === 'string') {
return this.t(data);
}
- if (!data.data) {
- return '' || this.component.placeholder
- }
const template = this.component.template ? this... | 14 |
diff --git a/src/ember-app.js b/src/ember-app.js @@ -231,7 +231,7 @@ class EmberApp {
/**
* @private
*
- * Main funtion that creates the app instance for every `visit` request, boots
+ * Main function that creates the app instance for every `visit` request, boots
* the app instance and then visits the given route and d... | 1 |
diff --git a/src/components/Widgets/Markdown/unified.js b/src/components/Widgets/Markdown/unified.js @@ -446,11 +446,6 @@ const remarkImagesToText = () => {
export const markdownToRemark = markdown => {
const parsed = unified()
.use(markdownToRemarkPlugin, { fences: true, pedantic: true, footnotes: true, commonmark: tr... | 11 |
diff --git a/assets/data/modules/Ohio.json b/assets/data/modules/Ohio.json ]
},
{
- "name": "Appalachian Region",
+ "name": "Northeast-Central Region",
"id": "ohakron",
"limit": "community",
"state": "Ohio",
]
}
],
- "name": "Southeast Region",
+ "name": "Appalachia Region",
"id": "ohse",
"limit": "community",
"distric... | 10 |
diff --git a/sparta.go b/sparta.go @@ -417,11 +417,13 @@ type IAMRolePrivilege struct {
}
func (rolePrivilege *IAMRolePrivilege) resourceExpr() *gocf.StringExpr {
- switch rolePrivilege.Resource.(type) {
+ switch typedPrivilege := rolePrivilege.Resource.(type) {
case string:
- return gocf.String(rolePrivilege.Resource.... | 0 |
diff --git a/packages/input-amount/test/lion-input-amount.test.js b/packages/input-amount/test/lion-input-amount.test.js @@ -230,6 +230,28 @@ describe('<lion-input-amount>', () => {
expect(currLabel?.getAttribute('aria-label')).to.equal('euros');
});
+ it('sets currency label on the after after element', async () => {
... | 0 |
diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js @@ -673,7 +673,7 @@ function readNewestAction(reportID, created) {
API.write('ReadNewestAction',
{
reportID,
- created: DateUtils.getDBTime(created),
+ createdDate: DateUtils.getDBTime(created),
sequenceNumber,
},
{
@@ -702,7 +702,7 @@ function markCo... | 10 |
diff --git a/app/views/signUp.scala.html b/app/views/signUp.scala.html @password(signInForm("password"), "Password", icon = "key")
<div class="form-group">
<div class="checkbox">
- <label><input type="checkbox" id="sign-up-page-agree-to-terms">You agree to our <a target="_blank" href="@routes.ApplicationController.term... | 7 |
diff --git a/userscript.user.js b/userscript.user.js @@ -37630,7 +37630,7 @@ var $$IMU_EXPORT$$;
return options.cb({
url: urljoin(src, match[1], true),
extra: {
- page: page
+ page: result.finalUrl
}
});
} else {
| 7 |
diff --git a/CHANGES.md b/CHANGES.md @@ -11,7 +11,7 @@ Change Log
##### Fixes :wrench:
* `PolygonGraphics.hierarchy` now converts constant array values to a `PolygonHierarchy` when set, so code that accesses the value of the property can rely on it always being a `PolygonHierarchy`.
-* Fixed undefined `quadDetails` err... | 3 |
diff --git a/scripts/typescript-declarations/generate.js b/scripts/typescript-declarations/generate.js @@ -68,11 +68,9 @@ async function execute() {
// Add TypeScript WebMidi namespace before native Web MIDI API objects
WEB_MIDI_API_CLASSES.forEach(element => {
- const re = new RegExp("{" + element + "}", "g");
-
const... | 14 |
diff --git a/articles/users/search/v2/index.md b/articles/users/search/v2/index.md @@ -16,7 +16,7 @@ useCase:
# User Search
::: version-warning
-User search v2 has been deprecated as of **June 6th 2018**. Tenants created after this date will not have the option of using it. User search v2 will be removed from service o... | 2 |
diff --git a/runtime.js b/runtime.js @@ -549,11 +549,12 @@ const _loadWebBundle = async (file, opts, instanceId) => {
};
const _mapScript = script => {
if (instanceId) {
+ script = script.replace("document.monetization", `window.document.monetization${instanceId}`);
+ script = script.replace("document.monetization.addE... | 14 |
diff --git a/demo/selection.html b/demo/selection.html When a row is clicked, the item object from that row is assigned to <code>activeItem</code>.
</p>
<p>
- To select items on click, <code>activeItem</code> can be pushed to <code>selectedItems</code>.
+ To select items on click, <code>activeItem</code> can be added
+... | 7 |
diff --git a/src/core/fonts.js b/src/core/fonts.js @@ -297,8 +297,8 @@ const Font = (function FontClosure() {
);
}
+ let data;
try {
- var data;
switch (type) {
case "MMType1":
info("MMType1 font (" + name + "), falling back to Type1.");
@@ -307,7 +307,7 @@ const Font = (function FontClosure() {
case "CIDFontType0":
th... | 1 |
diff --git a/assets/js/googlesitekit/datastore/site/info.js b/assets/js/googlesitekit/datastore/site/info.js */
import invariant from 'invariant';
-/**
- * WordPress dependencies
- */
-// TODO: change this to use:
-// import Data from `googlesitekit-data`;
-// const { createRegistrySelector } = Data;
-// After https://... | 4 |
diff --git a/support/index.js b/support/index.js @@ -3,6 +3,13 @@ import { configure } from '@testing-library/cypress';
configure({ testIdAttribute: 'data-testid' });
+// dont fail tests on uncaught exceptions of websites
+Cypress.on('uncaught:exception', () => {
+ if (!process.env.FAIL_ON_ERROR) {
+ return false;
+ }
... | 9 |
diff --git a/lib/BannerPlugin.js b/lib/BannerPlugin.js @@ -46,14 +46,16 @@ const getReplacer = (value, allowEmpty) => {
const interpolate = (banner, file, hash, chunkHash) => {
- const [name, ext] = file.split(".");
+ const parts = file.split(".");
+ const name = parts[0];
+ const ext = parts[1];
return banner
.replace... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.