code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/js/templates/notifications/notification.html b/js/templates/notifications/notification.html %>
<% if (ob.notification.type === 'payment') { %>
<div class="thumbCol flexNoShrink>">
- <%= ob.crypto.cryptoIcon({ code: 'OB_GO_BUG_1272' }) %>
+ <%= ob.crypto.cryptoIcon({ code: ob.notification.coinType || 'UNKNO... | 4 |
diff --git a/packages/app/src/server/service/page.js b/packages/app/src/server/service/page.js @@ -863,6 +863,13 @@ class PageService {
}
const collection = mongoose.connection.collection('pages');
+ const indexStatus = await Page.aggregate([{ $indexStats: {} }]);
+ const pathIndexStatus = indexStatus.filter(status => ... | 7 |
diff --git a/extensions/projection/json-schema/schema.json b/extensions/projection/json-schema/schema.json }
}
}
- },
- "assets": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "proj:shape":{
- "title":"Shape",
- "type":"array",
- "minItems":2,
- "maxItems":2,
- "items":{
- "t... | 2 |
diff --git a/bl-plugins/links/plugin.php b/bl-plugins/links/plugin.php @@ -125,7 +125,9 @@ class pluginLinks extends Plugin {
// HTML for sidebar
$html = '<div class="plugin plugin-pages">';
+ if ($this->getValue('label')) {
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
+ }
$html .= '<div class... | 2 |
diff --git a/src/actions/general.js b/src/actions/general.js // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-import {Client4} from 'client';
+import {Client, Client4} from 'client';
import {bindClientFunc, FormattedError} from './helpers.js';
import {Gene... | 12 |
diff --git a/src/traces/scattergl/convert.js b/src/traces/scattergl/convert.js @@ -30,7 +30,7 @@ var DASHES = require('../../constants/gl2d_dashes');
var AXES = ['xaxis', 'yaxis'];
var DESELECTDIM = 0.2;
-var transparent = [0, 0, 0, 0];
+var TRANSPARENT = [0, 0, 0, 0];
function LineWithMarkers(scene, uid) {
this.scene ... | 0 |
diff --git a/docs/advanced/Testing.md b/docs/advanced/Testing.md @@ -208,7 +208,7 @@ test('callApi', async (assert) => {
const result = await runSaga({
dispatch: (action) => dispatched.push(action),
getState: () => ({ state: 'test' }),
- }, callApi, url).done;
+ }, callApi, url).toPromise();
assert.true(myApi.calledWit... | 3 |
diff --git a/karma.conf.js b/karma.conf.js @@ -24,6 +24,11 @@ module.exports = function (config) {
base: 'SauceLabs',
browserName: 'safari',
version: 'latest'
+ },
+ sl_ie_latest: {
+ base: 'SauceLabs',
+ browserName: 'internet explorer',
+ version: 'latest'
}
};
| 0 |
diff --git a/sections/advanced/refs.md b/sections/advanced/refs.md @@ -39,4 +39,4 @@ render(
);
```
-> Using an older version of styled-components (v3 and lower) or of React? Use the [`innerRef` prop](/docs/api#innerref-prop) instead.
+> Using an older version of styled-components (below 4.0.0) or of React? Use the [`i... | 7 |
diff --git a/OurUmbraco/MarketPlace/NodeListing/NodeListingProvider.cs b/OurUmbraco/MarketPlace/NodeListing/NodeListingProvider.cs @@ -137,15 +137,7 @@ namespace OurUmbraco.MarketPlace.NodeListing
using (var reader = sqlHelper.ExecuteReader("SELECT SUM([points]) AS Karma FROM powersProject WHERE id = @projectId", sqlHe... | 2 |
diff --git a/docs/quickstart.md b/docs/quickstart.md @@ -101,8 +101,8 @@ Again, if you're relatively new to JavaScript (or ES2015+ syntax), you may wonde
If we put all of this together, we should get a very basic (boring) table. (_Styles added just to make it a little more attractive..._)
```js
-import { Playground } f... | 3 |
diff --git a/lib/shower.js b/lib/shower.js @@ -54,7 +54,7 @@ class Shower extends EventTarget {
});
}
- _changeMode(mode) {
+ _setMode(mode) {
if (mode === this._mode) return;
this._mode = mode;
@@ -93,14 +93,14 @@ class Shower extends EventTarget {
* Slide fills the maximum area.
*/
enterFullMode() {
- this._changeMod... | 10 |
diff --git a/en/option/series/graph.md b/en/option/series/graph.md @@ -282,10 +282,10 @@ links: [{
}]
```
-### source(string)
-[name of source node](~series-graph.data.name) on edge
-### target(string)
-[name of target node](~series-graph.data.name) on edge
+### source(string|number)
+A string representing the [name of... | 7 |
diff --git a/cmd/cmd.js b/cmd/cmd.js @@ -185,7 +185,7 @@ class Cmd {
serverHost: nullify(options.host),
client: options.client || 'geth',
locale: options.locale,
- runWebserver: !options.noserver,
+ runWebserver: options.noserver == null ? null : !options.noserver,
useDashboard: !options.nodashboard,
logFile: options.l... | 11 |
diff --git a/src/schema/validate.js b/src/schema/validate.js @@ -185,9 +185,9 @@ function runValidate(exception, map, schema, originalValue, options) {
// validate that we only have readable or writable properties
if (readWriteOnly.length > 0) {
if (readWriteMode === 'write') {
- exception.message('Cannot read from wri... | 1 |
diff --git a/test/jasmine/tests/gl2d_plot_interact_test.js b/test/jasmine/tests/gl2d_plot_interact_test.js @@ -670,4 +670,8 @@ describe('Test gl2d plots', function() {
.catch(fail)
.then(done);
});
+
+ fit('should update selected points', function(done) {
+ // #2298
+ });
});
| 0 |
diff --git a/README.md b/README.md @@ -64,7 +64,6 @@ can run single-shot remote commands like `docker-compose exec hackweek rake db:m
## Resources
* Design mockups of the Rails app are in the design directory.
-* The project list for HackWeek9 is in the [Wiki](http://github.com/SUSE/hackweek/wiki).
* There are some too... | 2 |
diff --git a/src/basic-languages/swift/swift.ts b/src/basic-languages/swift/swift.ts @@ -57,14 +57,32 @@ export const language = <languages.IMonarchLanguage>{
],
accessmodifiers: ['public', 'private', 'fileprivate', 'internal'],
keywords: [
- '__COLUMN__',
- '__FILE__',
- '__FUNCTION__',
- '__LINE__',
+ '#available',
+... | 1 |
diff --git a/samples/python/06.using-cards/dialogs/main_dialog.py b/samples/python/06.using-cards/dialogs/main_dialog.py @@ -185,7 +185,7 @@ class MainDialog(ComponentDialog):
def create_oauth_card(self) -> Attachment:
card = OAuthCard(
text="BotFramework OAuth Card",
- connection_name="OAuth connection",
+ connection_... | 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -22325,10 +22325,13 @@ var $$IMU_EXPORT$$;
// https://pbs.twimg.com/profile_images/642139282325417984/uXOHdmTV_mini.png
// https://pbs.twimg.com/profile_images/1079712585186852864/l9IiWuzk_reasonably_small.jpg
// https://pbs.twimg.com/profile_images/10797125851868... | 7 |
diff --git a/tests/end2end/helpers/E2EGlobal.js b/tests/end2end/helpers/E2EGlobal.js @@ -40,7 +40,11 @@ export class E2EGlobal {
browser.click(selector);
return;
} catch (e) {
- if (!e.toString().includes('Other element would receive the click')) {
+ const message = e.toString(),
+ otherElementReceivesClick = message.i... | 7 |
diff --git a/templates/master/elasticsearch/firehose.js b/templates/master/elasticsearch/firehose.js @@ -3,6 +3,9 @@ module.exports={
"Type" : "AWS::KinesisFirehose::DeliveryStream",
"Properties" : {
"DeliveryStreamType" : "DirectPut",
+ "DeliveryStreamEncryptionConfigurationInput": {
+ "KeyType": "AWS_OWNED_CMK"
+ },
... | 12 |
diff --git a/userscript.user.js b/userscript.user.js @@ -17426,12 +17426,8 @@ var $$IMU_EXPORT$$;
var get_domain_nosub = function(domain) {
var domain_nosub = domain.replace(/^.*\.([^.]*\.[^.]*)$/, "$1");
- if (domain_nosub.match(/^co\.[a-z]{2}$/) ||
- domain_nosub.match(/^ne\.jp$/) || // stream.ne.jp
- domain_nosub.ma... | 4 |
diff --git a/src/components/bubbles/index.js b/src/components/bubbles/index.js @@ -27,7 +27,7 @@ export const Bubble = (props: BubbleProps) => {
return (
<TextBubble me={me} pending={pending}>
- {type === 'thread' && message.body}
+ {message.body}
</TextBubble>
);
};
| 1 |
diff --git a/src/resources/basis-worker.js b/src/resources/basis-worker.js @@ -17,22 +17,6 @@ function BasisWorker() {
cTFRGBA4444: 16 // rgba 4444
};
- // engine pixel format constants, reproduced here
- const PIXEL_FORMAT = {
- ETC1: 21,
- ETC2_RGBA: 23,
- DXT1: 8,
- DXT5: 10,
- PVRTC_4BPP_RGB_1: 26,
- PVRTC_4BPP_RGB... | 9 |
diff --git a/README.md b/README.md @@ -199,7 +199,7 @@ These are the available config options for making requests. Only the `url` is re
// `transformRequest` allows changes to the request data before it is sent to the server
// This is only applicable for request methods 'PUT', 'POST', and 'PATCH'
- // The last functio... | 3 |
diff --git a/src/govuk/template.njk b/src/govuk/template.njk {# image url needs to be absolute e.g. http://wwww.domain.com/.../govuk-opengraph-image.png #}
<meta property="og:image" content="{{ assetUrl | default('/assets') }}/images/govuk-opengraph-image.png">
</head>
- <body class="govuk-template__body {{ bodyClasses... | 11 |
diff --git a/js/models/segmented.js b/js/models/segmented.js @@ -75,7 +75,11 @@ function fetchGene({dsID, fields, assembly}, [samples]) {
var {name, host} = xenaQuery.refGene[assembly] || {};
return name ? xenaQuery.refGeneExonCase(host, name, fields)
.flatMap(refGene => {
- var {txStart, txEnd, chrom} = _.values(refGe... | 9 |
diff --git a/edit.js b/edit.js @@ -16,8 +16,6 @@ const presenceEndpoint = 'wss://presence.exokit.org';
const worldsEndpoint = 'https://worlds.exokit.org';
const packagesEndpoint = 'https://packages.exokit.org';
-const flowEnabled = true;
-
const localVector = new THREE.Vector3();
const localVector2 = new THREE.Vector3(... | 2 |
diff --git a/Source/Scene/Light.js b/Source/Scene/Light.js import DeveloperError from "../Core/DeveloperError.js";
/**
- * A light source. This type describes an interface and is not intended to be instantiated directly.
+ * A light source. This type describes an interface and is not intended to be instantiated directl... | 3 |
diff --git a/Source/Scene/OrthographicFrustum.js b/Source/Scene/OrthographicFrustum.js @@ -78,6 +78,14 @@ define([
frustum._near = frustum.near;
frustum._far = frustum.far;
+ var ratio = 1.0 / frustum.aspectRatio;
+ f.right = frustum.width * 0.5;
+ f.left = -f.right;
+ f.top = ratio * f.right;
+ f.bottom = -f.top;
+ f.... | 3 |
diff --git a/src/components/NavigationDesktop/NavigationItemDesktop.js b/src/components/NavigationDesktop/NavigationItemDesktop.js @@ -145,7 +145,7 @@ class NavigationItemDesktop extends Component {
return (
<Fragment>
- <Button className={primaryNavItem} color="inherit" onClick={this.onClick} href={`${this.linkPath(na... | 3 |
diff --git a/services/importer/spec/unit/unp_spec.rb b/services/importer/spec/unit/unp_spec.rb @@ -9,7 +9,7 @@ include CartoDB::Importer2
describe Unp do
describe '#run' do
it 'extracts the contents of the file' do
- zipfile = zipfile_factory
+ zipfile = file_factory
unp = Unp.new
unp.run(zipfile)
@@ -18,7 +18,7 @@ des... | 10 |
diff --git a/packages/typescript-imba-plugin/src/completions.imba b/packages/typescript-imba-plugin/src/completions.imba @@ -307,6 +307,9 @@ export class SymbolCompletion < Completion
type = item.kind
triggers '!(,.['
+ if cat == 'decorator'
+ triggers ' ('
+
if cat == 'implicitSelf'
# item.insertText = item.filterText... | 7 |
diff --git a/src/encoded/tests/test_upgrade_donor.py b/src/encoded/tests/test_upgrade_donor.py @@ -107,7 +107,8 @@ def human_donor_9(root, donor_1):
properties = item.properties.copy()
properties.update({
'schema_version': '9',
- 'life_stage': 'postnatal'
+ 'life_stage': 'postnatal',
+ 'ethnicity': 'caucasian'
})
retur... | 3 |
diff --git a/core/worker/lib/states/discovery.js b/core/worker/lib/states/discovery.js @@ -20,6 +20,7 @@ class EtcdDiscovery extends EventEmitter {
const discoveryInfo = {
algorithmName: options.jobConsumer.job.type,
podName: options.kubernetes.pod_name,
+ previousTaskIds: []
};
await this._etcd.discovery.register({ da... | 0 |
diff --git a/packages/mjml-validator/src/rules/validChildren.js b/packages/mjml-validator/src/rules/validChildren.js import filter from 'lodash/filter'
import includes from 'lodash/includes'
+import keys from 'lodash/keys'
import dependencies from '../dependencies'
import ruleError from './ruleError'
@@ -31,8 +32,14 @@... | 9 |
diff --git a/src/generators/output/toString.js b/src/generators/output/toString.js @@ -68,8 +68,18 @@ module.exports = async (str, options) => {
}
html = html
- .replace(/(\..+)(\\:|\\\/)/g, group => group.replace(/\\:|\\\//g, '-')) // replace \/ and \: in class names from head
- .replace(/class\s*=\s*["'][^"']*[/:][^"... | 14 |
diff --git a/lib/assets/core/javascripts/cartodb3/deep-insights-integration/widgets-integration.js b/lib/assets/core/javascripts/cartodb3/deep-insights-integration/widgets-integration.js @@ -374,7 +374,7 @@ module.exports = {
type: 'time-series',
layer_id: newLayer.get('id'),
source: {
- id: newLayer.get('source')
+ id... | 4 |
diff --git a/ios/RCTMGL/RCTMGLMapViewManager.m b/ios/RCTMGL/RCTMGLMapViewManager.m @@ -424,14 +424,6 @@ RCT_EXPORT_METHOD(setCamera:(nonnull NSNumber*)reactTag
[self fireEvent:event withCallback:reactMapView.onUserTrackingModeChange];
}
-/*- (BOOL)mapView:(MGLMapView *)mapView shouldChangeFromCamera:(MGLMapCamera *)old... | 2 |
diff --git a/io-manager.js b/io-manager.js @@ -454,10 +454,10 @@ ioManager.bindInput = () => {
weaponsManager.enter();
break;
}
- case 77: { // M
+ /* case 77: { // M
menuActions.setIsOpen(!menuState.isOpen);
break;
- }
+ } */
case 74: { // J
weaponsManager.inventoryHack = !weaponsManager.inventoryHack;
break;
| 2 |
diff --git a/packages/fether-react/src/App/App.js b/packages/fether-react/src/App/App.js @@ -29,13 +29,6 @@ const Router =
@inject('healthStore', 'onboardingStore')
@observer
class App extends Component {
- componentDidCatch () {
- if (process.env.NODE_ENV !== 'development') {
- // Redirect to '/' on errors
- window.lo... | 2 |
diff --git a/src/resources/views/crud/inc/form_fields_script.blade.php b/src/resources/views/crud/inc/form_fields_script.blade.php if(this.isSubfield) {
window.crud.subfieldsCallbacks[this.parent.name] ??= [];
- if(!window.crud.subfieldsCallbacks[this.parent.name].some( callbacks => callbacks['fieldName'] === this.name... | 11 |
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -603,6 +603,10 @@ const loadPromise = (async () => {
const arrayBuffer = await res.arrayBuffer();
animations = CBOR.decode(arrayBuffer).animations
.map(a => THREE.AnimationClip.parse(a));
+ animations.index = {};
+ for (const animation of animations) {
+ animation... | 0 |
diff --git a/assets/sass/components/thank-with-google/_googlesitekit-twg-supporter-wall.scss b/assets/sass/components/thank-with-google/_googlesitekit-twg-supporter-wall.scss margin-top: 30px;
}
}
-
- .googlesitekit-twg-supporter-wall-banner {
-
- .googlesitekit-twg-supporter-wall-banner__description {
- display: block... | 2 |
diff --git a/devtools/test_dashboard/index.html b/devtools/test_dashboard/index.html </div>
<div id="snapshot"></div>
+ <!-- uncomment below for IE9/10 support -->
+ <!-- <script>if(typeof window.Int16Array !== 'function')document.write("<scri"+"pt src='../../dist/extras/typedarray.min.js'></scr"+"ipt>");</script>
+ <s... | 0 |
diff --git a/lib/Client.js b/lib/Client.js @@ -446,7 +446,12 @@ class Client extends EventEmitter {
}
const min = Math.min(position, channel.position);
const max = Math.max(position, channel.position);
- channels = channels.filter((chan) => chan.type === channel.type && chan.parentID === channel.parentID && min <= chan... | 8 |
diff --git a/Source/Scene/Cesium3DTileset.js b/Source/Scene/Cesium3DTileset.js @@ -2809,13 +2809,13 @@ Cesium3DTileset.prototype.destroy = function () {
};
Cesium3DTileset.supportedExtensions = {
- 3DTILES_metadata: true,
- 3DTILES_implicit_tiling: true,
- 3DTILES_content_gltf: true,
- 3DTILES_multiple_contents: true,
... | 3 |
diff --git a/src/js/App.js b/src/js/App.js @@ -65,6 +65,7 @@ import * as lastfmActions from './services/lastfm/actions';
import * as geniusActions from './services/genius/actions';
import * as snapcastActions from './services/snapcast/actions';
import MediaSession from './components/MediaSession';
+import ErrorBoundary... | 8 |
diff --git a/articles/connections/index.md b/articles/connections/index.md @@ -65,7 +65,7 @@ An Identity Provider is a server that can provide identity information to other
Auth0 is an identity hub that supports many identity providers using various protocols (like [OpenID Connect](/protocols/oidc), [SAML](/protocols/s... | 2 |
diff --git a/tests/unit/queryBuilder/QueryBuilder.js b/tests/unit/queryBuilder/QueryBuilder.js @@ -83,7 +83,8 @@ describe('QueryBuilder', () => {
'removeAllListeners',
'listeners',
'listenerCount',
- 'eventNames'
+ 'eventNames',
+ 'rawListeners'
];
let builder = QueryBuilder.forClass(TestModel);
| 8 |
diff --git a/package.json b/package.json },
"dependencies": {
"broccoli-file-creator": "^2.1.1",
- "broccoli-funnel": "^3.0.2",
- "broccoli-merge-trees": "^4.2.0",
+ "broccoli-funnel": "^2.0.2",
+ "broccoli-merge-trees": "^3.0.2",
"ember-auto-import": "^1.2.19",
"ember-cli-babel": "^7.5.0",
"ember-get-config": "^0.2.2"... | 13 |
diff --git a/packages/table-core/src/utils.ts b/packages/table-core/src/utils.ts @@ -27,9 +27,12 @@ export function noop() {
//
}
-export function makeStateUpdater(key: keyof TableState, table: unknown) {
- return (updater: Updater<any>) => {
- ;(table as any).setState(<TTableState>(old: TTableState) => {
+export funct... | 1 |
diff --git a/src/video/webgl/webgl_renderer.js b/src/video/webgl/webgl_renderer.js @@ -455,14 +455,14 @@ class WebGLRenderer extends Renderer {
}
/**
- * Returns the WebGL Context object of the given Canvas
+ * Returns the WebGL Context object of the given canvas element
* @name getContextGL
* @memberof WebGLRenderer
*... | 12 |
diff --git a/lambda/proxy-es/lib/query.js b/lambda/proxy-es/lib/query.js @@ -113,7 +113,9 @@ async function evaluateConditionalChaining(req, res, hit, conditionalChaining) {
conditionalChaining = encryptor.decrypt(conditionalChaining);
console.log("Decrypted Chained document rule specified:", conditionalChaining);
// p... | 11 |
diff --git a/tests/e2e/config/bootstrap.js b/tests/e2e/config/bootstrap.js @@ -166,7 +166,7 @@ beforeAll( async() => {
capturePageEventsForTearDown();
enablePageDialogAccept();
observeConsoleLogging();
- if ( +process.env.DEBUG_REST ) {
+ if ( '1' === process.env.DEBUG_REST ) {
page.on( 'request', observeRestRequest );... | 4 |
diff --git a/src/ApiGatewayWebSocket.js b/src/ApiGatewayWebSocket.js @@ -351,7 +351,7 @@ module.exports = class ApiGatewayWebSocket {
});
}
- _createWsAction(functionObj, funName, servicePath, funOptions, event) {
+ _createWsAction(functionObj, functionName, servicePath, funOptions, event) {
let handler; // The lambda ... | 10 |
diff --git a/src/components/admin/edit_task.js b/src/components/admin/edit_task.js @@ -16,11 +16,17 @@ const mapDispatchToProps = {
class EditTask extends Component {
state = {
+ name: '',
description: '',
changesetComment: '',
file: {},
}
+ handleNameChange = (e) => {
+ const name = e.target.value;
+ this.setState({ n... | 11 |
diff --git a/token-metadata/0x0f8c45B896784A1E408526B9300519ef8660209c/metadata.json b/token-metadata/0x0f8c45B896784A1E408526B9300519ef8660209c/metadata.json "symbol": "XMX",
"address": "0x0f8c45B896784A1E408526B9300519ef8660209c",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/packages/react-server-dom-webpack/src/ReactFlightClientWebpackBundlerConfig.js b/packages/react-server-dom-webpack/src/ReactFlightClientWebpackBundlerConfig.js @@ -58,6 +58,9 @@ export function resolveModuleReference<T>(
const chunkCache: Map<string, null | Promise<any>> = new Map();
const asyncModuleCache... | 9 |
diff --git a/input/index.js b/input/index.js @@ -270,7 +270,6 @@ class TonicInput extends Tonic {
updated () {
this.setupEvents()
- clearTimeout(this.timeout)
setTimeout(() => {
if (this.props.invalid) {
@@ -278,8 +277,6 @@ class TonicInput extends Tonic {
} else {
this.setValid()
}
-
- this.timeout = setTimeout(() => ... | 13 |
diff --git a/npm/ci-requirements.sh b/npm/ci-requirements.sh @@ -4,7 +4,7 @@ echo "Updating curl package required for libcurl tests"
sudo apt-get update
sudo apt-get install wget
wget https://curl.haxx.se/download/curl-7.65.1.tar.gz
-tar -xvf curl-7.52.1.tar.gz
+tar -xvf curl-7.65.1.tar.gz
cd curl-7*
./configure
make
| 4 |
diff --git a/NotAnAnswerFlagQueueHelper.user.js b/NotAnAnswerFlagQueueHelper.user.js // @description Inserts several sort options for the NAA / VLQ / Review LQ Disputed queues
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 2.5.1
+// @version 2.6
//
// @include */admin/dashbo... | 2 |
diff --git a/src/components/docs-sidebar-nav-item.js b/src/components/docs-sidebar-nav-item.js @@ -137,7 +137,7 @@ class DocsSidebarNavItem extends React.Component {
{this.showChildren() && (
<button onClick={this.onExpandCollapseClick} className="Button DocsSidebar--nav-expand-collapse-button" {...buttonProps}>
<span ... | 7 |
diff --git a/app_web/rollup.config.js b/app_web/rollup.config.js @@ -29,7 +29,7 @@ export default {
scss(),
copy({
targets: [
- { src: ["index.html", "styles.css", "ui.css"], dest: "dist/"},
+ { src: ["index.html"], dest: "dist/"},
{ src: ["../assets/models/2.0", "!../asset/models/.git"], dest: "dist/assets/models"},
{... | 2 |
diff --git a/src/services/milestones/getApprovedKeys.js b/src/services/milestones/getApprovedKeys.js @@ -129,8 +129,7 @@ const getApprovedKeys = (milestone, data, user) => {
);
}
logger.info(`Marking milestone as complete. Milestone id: ${milestone._id}`);
-
- return ['txHash', 'status', 'mined', 'message', 'proofItems... | 11 |
diff --git a/content/articles/android-excel-apachepoi-crud/index.md b/content/articles/android-excel-apachepoi-crud/index.md @@ -120,7 +120,7 @@ nameHeaderCell.cellStyle = headerCellStyle
scoreHeaderCell.cellStyle = headerCellStyle
```
-
+![Screenshot after the formatting... | 10 |
diff --git a/core/worker/lib/states/discovery.js b/core/worker/lib/states/discovery.js @@ -10,6 +10,7 @@ class EtcdDiscovery extends EventEmitter {
constructor() {
super();
this._etcd = null;
+ this.previousTaskIds = [];
}
async init(options) {
@@ -62,8 +63,11 @@ class EtcdDiscovery extends EventEmitter {
}
async updat... | 0 |
diff --git a/scripts/download-bin.js b/scripts/download-bin.js @@ -24,7 +24,7 @@ const download = () => {
}
const [sum, tarPath] = line.split(' ')
checksums[tarPath] = sum
- const re = /^ooniprobe_v[0-9.a-z-]+_((darwin|linux|windows)_amd64).tar.gz$/
+ const re = /^ooniprobe_v[0-9.a-z-]+_((darwin|linux|windows)_amd64).(... | 9 |
diff --git a/contracts/KyberNetwork.sol b/contracts/KyberNetwork.sol @@ -203,7 +203,6 @@ contract KyberNetwork is Withdrawable, KyberConstants {
public payable returns(uint)
{
require(tx.gasprice <= maxGasPrice);
-
require (kyberWhiteList != address(0));
require (feeBurnerContract != address(0));
require( validateTrade... | 12 |
diff --git a/token-metadata/0xecF51a98B71f0421151a1d45E033Ab8B88665221/metadata.json b/token-metadata/0xecF51a98B71f0421151a1d45E033Ab8B88665221/metadata.json "symbol": "VYA",
"address": "0xecF51a98B71f0421151a1d45E033Ab8B88665221",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/public/javascripts/SVLabel/src/SVLabel/zoom/ZoomControl.js b/public/javascripts/SVLabel/src/SVLabel/zoom/ZoomControl.js @@ -190,7 +190,6 @@ function ZoomControl (canvas, mapService, tracker, uiZoomControl) {
var povChange = mapService.getPovChangeStatus();
setZoom(pov.zoom + 1);
- enableZoomOut();
povChang... | 1 |
diff --git a/website/ops.py b/website/ops.py @@ -512,9 +512,19 @@ def makeDict(dictID, template, title, blurb, email):
#update dictionary info
users = {email: {"canEdit": True, "canConfig": True, "canDownload": True, "canUpload": True}}
dictDB = getDB(dictID)
- dictDB.execute("update configs set json=? where id='users'... | 9 |
diff --git a/common/components/controllers/AboutUsController.jsx b/common/components/controllers/AboutUsController.jsx @@ -145,7 +145,7 @@ class AboutUsController extends React.PureComponent<{||}, State> {
let bioId = vo.user.first_name + '-' + vo.user.last_name;
return vo.isApproved && (
<div className="about-us-team-... | 10 |
diff --git a/lib/components/form-radio.vue b/lib/components/form-radio.vue <label v-for="(option, idx) in formOptions"
:class="buttons ? btnLabelClasses(option, idx) : labelClasses"
:key="idx"
- :aria-pressed="buttons ? (option.value === this.localValue ? 'true' : 'false') : null"
+ :aria-pressed="buttons ? (option.val... | 1 |
diff --git a/spec/models/carto/user_migration_spec.rb b/spec/models/carto/user_migration_spec.rb @@ -365,7 +365,6 @@ describe 'UserMigration' do
@map, @table, @table_visualization, @visualization = create_full_visualization(carto_user)
carto_user.tables.exists?(name: @table.name).should be
-
user.in_database.execute("D... | 2 |
diff --git a/assets/js/components/PostSearcherAutoSuggest.js b/assets/js/components/PostSearcherAutoSuggest.js @@ -33,7 +33,7 @@ import {
*/
import { useState, useEffect, useCallback, useRef } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
-import { ENTER, ESCAPE } from '@wordpress/keycodes';
+import ... | 9 |
diff --git a/src/components/fx/hover.js b/src/components/fx/hover.js @@ -1010,10 +1010,10 @@ function createHoverText(hoverData, opts, gd) {
};
var mockLayoutOut = {};
legendSupplyDefaults(mockLayoutIn, mockLayoutOut, gd._fullData);
- var legendOpts = mockLayoutOut.legend;
+ var mockLegend = mockLayoutOut.legend;
// pr... | 10 |
diff --git a/src/client/styles/scss/_override-bootstrap-variables.scss b/src/client/styles/scss/_override-bootstrap-variables.scss @@ -44,8 +44,9 @@ $border-radius-small: 0;
//
//## For each of Bootstrap's buttons, define text, background and border color.
-$btn-default-bg: $btn-default-bgcolor;
-
+$btn-border-radius: ... | 12 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -749,6 +749,7 @@ const grabUseMesh = (() => {
(async () => {
const app = await metaversefile.load('./metaverse_modules/button/');
o.add(app);
+ o.app = app;
})();
return o;
@@ -910,6 +911,10 @@ const _updateWeapons = () => {
// grabUseMesh.scale.copy(grabbedObject... | 12 |
diff --git a/src/sdk/conference/conference.js b/src/sdk/conference/conference.js mediaSubOptions.audio.format = {
codec: options.audioCodec
};
- if (!self.remoteStreams[options.audioStreamId]) {
+ if (!self.remoteStreams[mediaSubOptions.audio.from]) {
safeCall(onFailure, 'Invalid audio stream ID.');
return;
}
- let str... | 1 |
diff --git a/story.js b/story.js @@ -189,6 +189,7 @@ class Conversation extends EventTarget {
return this.messages[this.messages.length - n] ?? null;
}
progress() {
+ if (!this.finished) {
const lastMessage = this.#getMessageAgo(1);
if (this.localTurn) {
@@ -232,6 +233,9 @@ class Conversation extends EventTarget {
this... | 0 |
diff --git a/src/components/table/table.js b/src/components/table/table.js @@ -306,6 +306,10 @@ class Table extends React.Component {
sortedColumn: PropTypes.string // the currently sorted column
}
+ static defaultProps = {
+ theme: 'primary'
+ }
+
state = {
selectedCount: 0
}
@@ -872,7 +876,7 @@ class Table extends Re... | 4 |
diff --git a/generators/client/templates/angular/_package.json b/generators/client/templates/angular/_package.json "@angular/compiler": "5.1.0",
"@angular/core": "5.1.0",
"@angular/forms": "5.1.0",
- "@angular/http": "5.1.0",
"@angular/platform-browser": "5.1.0",
"@angular/platform-browser-dynamic": "5.1.0",
"@angular/... | 2 |
diff --git a/test/types/schema.test.ts b/test/types/schema.test.ts @@ -283,7 +283,7 @@ function gh11448() {
age: number;
}
- const originSchema = new Schema<IUser>({ name: String, age: Number });
+ const userSchema = new Schema<IUser>({ name: String, age: Number });
- originSchema.pick<Pick<IUser, 'age'>>(['age']);
+ u... | 10 |
diff --git a/src/algorithms/sorting/quick-sort/QuickSortInPlace.js b/src/algorithms/sorting/quick-sort/QuickSortInPlace.js @@ -4,7 +4,7 @@ export default class QuickSortInPlace extends Sort {
/** Sorting in place avoids unnecessary use of additional memory, but modifies input array.
*
* This process is difficult to des... | 1 |
diff --git a/src/logging/IDBLogPersister.ts b/src/logging/IDBLogPersister.ts @@ -237,13 +237,13 @@ export class IDBLogExport {
}
asBlob(): BlobHandle {
- const json = this.asJSON();
+ const json = this.toJSON();
const buffer: Uint8Array = this._platform.encoding.utf8.encode(json);
const blob: BlobHandle = this._platfor... | 10 |
diff --git a/README.md b/README.md @@ -75,26 +75,9 @@ Starting in `v1.15.0`, plotly.js ships with several _partial_ bundles (more info
Starting in `v1.39.0`, plotly.js publishes _distributed_ npm packages with no dependencies. For example, run `npm install plotly.js-geo-dist` and add `import Plotly from 'plotly.js-geo-... | 3 |
diff --git a/.travis.yml b/.travis.yml @@ -9,10 +9,10 @@ branches:
env: SLS_IGNORE_WARNING=* # Default env
stages:
- - name: test
- - name: integration-test
+ - name: Test
+ - name: Integration Test
if: branch = master AND type = push
- - name: deploy
+ - name: Deploy
if: tag =~ ^v\d+\.\d+\.\d+$
jobs:
@@ -56,7 +56,7 @@... | 7 |
diff --git a/pages/app/embed/EmbedWidget.js b/pages/app/embed/EmbedWidget.js @@ -17,6 +17,7 @@ import EmbedLayout from 'components/app/layout/EmbedLayout';
import VegaChart from 'components/widgets/charts/VegaChart';
import Spinner from 'components/ui/Spinner';
import ChartTheme from 'utils/widgets/theme';
+import Icon... | 7 |
diff --git a/stories/module-search-console-components.stories.js b/stories/module-search-console-components.stories.js @@ -2863,7 +2863,7 @@ generateReportBasedWidgetStories( {
generateReportBasedWidgetStories( {
moduleSlugs: [ 'search-console' ],
datastore: STORE_NAME,
- group: 'Search Console Module/Components/Module... | 10 |
diff --git a/guide/english/css/overflow/index.md b/guide/english/css/overflow/index.md @@ -24,25 +24,25 @@ For example, a given block-level element (`<div>`) set to 300px wide, that conta
```css
.box-element { overflow: visible; }
```
-
+![Example Image]... | 14 |
diff --git a/src/components/file/File.js b/src/components/file/File.js @@ -475,25 +475,25 @@ export default class FileComponent extends Field {
name: fileName,
size: file.size,
status: 'info',
- message: 'Starting upload'
+ message: this.t('Starting upload'),
};
// Check file pattern
if (this.component.filePattern && !... | 11 |
diff --git a/app/templates/webpack.config.dev_vue2.js b/app/templates/webpack.config.dev_vue2.js @@ -42,7 +42,13 @@ module.exports = {
test: /\.css$/,
use: [
'vue-style-loader',
- 'css-loader'
+ 'css-loader',
+ ]
+ },
+ {
+ test: /\.(png|jpg|jpeg|gif)$/,
+ use: [
+ 'file-loader',
]
}
]
| 0 |
diff --git a/server/components/native/params.js b/server/components/native/params.js @@ -27,7 +27,8 @@ function getParentDomain(params : NativePopupInputParams) : string {
throw new makeError(ERROR_CODE.VALIDATION_ERROR, `Expected parentDomain param to be a string`);
}
- if (!parentDomain.match(/\.paypal\.com$/)) {
+ /... | 11 |
diff --git a/src/scripts/endscreen.js b/src/scripts/endscreen.js @@ -157,11 +157,11 @@ class Endscreen extends H5P.EventDispatcher {
buildTableRow(time, title, score = this.l10n.answered) {
const noLink = (this.parent.skippingPrevented()) ? ` ${ENDSCREEN_STYLE_BASE}-no-link` : '';
return $('<div/>', {class: `${ENDSCREE... | 0 |
diff --git a/packages/react-refresh/src/ReactFreshRuntime.js b/packages/react-refresh/src/ReactFreshRuntime.js @@ -465,6 +465,17 @@ export function injectIntoGlobalHook(globalObject: any): void {
};
}
+ if (hook.isDisabled) {
+ // This isn't a real property on the hook, but it can be set to opt out
+ // of DevTools int... | 7 |
diff --git a/struts2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp b/struts2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp <link href="<s:url value="/yaml/core/iehacks.min.css" />" rel="stylesheet" type="text/css" />
<![endif]-->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com... | 2 |
diff --git a/source/views/controls/RichTextView.js b/source/views/controls/RichTextView.js @@ -66,6 +66,62 @@ const hiddenFloatingToolbarLayout = {
transform: 'translate3d(-100vw,0,0)',
};
+const URLPickerView = Class({
+
+ Extends: View,
+
+ prompt: '',
+ placeholder: '',
+ confirm: '',
+
+ value: '',
+
+ className: '... | 0 |
diff --git a/renderer/components/Layout.js b/renderer/components/Layout.js @@ -31,13 +31,13 @@ const Layout = ({ children }) => {
return (
- <ThemeProvider theme={theme}>
<StyleSheetManager stylisPlugins={[stylisRTLPlugin]}>
+ <ThemeProvider theme={theme}>
<GlobalStyle />
{children}
<AutorunConfirmation show={showPromp... | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.