code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/algorithms/utils/jest-extensions/toBeCloseToArraySnapshot.ts b/src/algorithms/utils/jest-extensions/toBeCloseToArraySnapshot.ts @@ -41,7 +41,7 @@ function compare(
return { pass, diffs }
}
-export default function toBeCloseToArraySnapshot(this: Context, received: number[], precision: 2) {
+export defau... | 12 |
diff --git a/test/jasmine/tests/config_test.js b/test/jasmine/tests/config_test.js @@ -231,16 +231,18 @@ describe('config argument', function() {
afterEach(destroyGraphDiv);
- it('should not display the edit link by default', function() {
+ it('should not display the edit link by default', function(done) {
Plotly.plot(... | 0 |
diff --git a/books/views.py b/books/views.py @@ -37,9 +37,12 @@ class BookCopyReturnView(APIView):
class BookDetailView(APIView):
def get(self, request, id=None):
- book = Book.objects.get(pk=id)
- serializer_class = BookDetailSerializer
- return Response(serializer_class.data)
+ # book = Book.objects.get(pk=id)
+ # pr... | 0 |
diff --git a/app/scripts/background.js b/app/scripts/background.js @@ -57,7 +57,13 @@ async function loadStateFromPersistence () {
// fetch from extension store and merge in data
if (localStore.isSupported) {
- const localData = await localStore.get()
+ let localData
+ try {
+ localData = await localStore.get()
+ } cat... | 9 |
diff --git a/public/javascripts/Admin/src/Admin.Panorama.js b/public/javascripts/Admin/src/Admin.Panorama.js @@ -67,7 +67,7 @@ function AdminPanorama(svHolder, buttonHolder, admin) {
})[0];
self.panoNotAvailableAuditSuggestion =
- $("<div id='pano-not-avail-audit'>We suggest that you " + '<a href="">explore the street<... | 3 |
diff --git a/demo/search.html b/demo/search.html @@ -92,7 +92,7 @@ var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
<p>Searching is enabled by
including <a href="../addon/search/search.js">addon/search/search.js</a>
and <a href="../addon/search/searchcursor.js">addon/search/searchcursor.js</a>.
-... | 1 |
diff --git a/packages/@uppy/dashboard/src/style.scss b/packages/@uppy/dashboard/src/style.scss @include reset-button;
cursor: pointer;
color: rgba($color-blue, 0.9);
+
+ &:hover {
+ text-decoration: underline;
+ }
}
.uppy-Dashboard-browse:focus {
cursor: pointer;
color: $color-blue;
+ &:hover {
+ color: darken($color-b... | 0 |
diff --git a/datalad_service/tasks/publish.py b/datalad_service/tasks/publish.py @@ -89,12 +89,14 @@ def migrate_to_bucket(store, dataset, realm='PUBLIC'):
publish_target(ds, realm.github_remote, tag)
@dataset_task
-def publish_snapshot(store, dataset, snapshot):
+def publish_snapshot(store, dataset, snapshot, realm=No... | 11 |
diff --git a/src/libs/Navigation/AppNavigator/AuthScreens.js b/src/libs/Navigation/AppNavigator/AuthScreens.js @@ -136,7 +136,7 @@ class AuthScreens extends React.Component {
fetchCountryCodeByRequestIP();
UnreadIndicatorUpdater.listenForReportChanges();
- if (Permissions.canUseFreePlan(this.props.betas)) {
+ if (Permi... | 11 |
diff --git a/app/components/page-footer/template.hbs b/app/components/page-footer/template.hbs <i class="icon icon-chevron-down"></i>
</dd.Trigger>
<dd.Content class="text-right">
- <li {{action dd.actions.close}}>
+ <li {{action dd.actions.close preventDefault=false}}>
<a href="{{cli.darwin}}">
{{t "pageFooter.downloa... | 11 |
diff --git a/lib/assets/javascripts/builder/components/privacy-dropdown/privacy-dropdown-view.js b/lib/assets/javascripts/builder/components/privacy-dropdown/privacy-dropdown-view.js @@ -94,13 +94,15 @@ module.exports = CoreView.extend({
this._showPasswordDialog();
} else {
this._onToggleDialogClicked();
- this._setPri... | 12 |
diff --git a/app/views/labelingGuideSurfaceProblems.scala.html b/app/views/labelingGuideSurfaceProblems.scala.html <p>
A surface problem is a problem that would cause a bumpy or otherwise uncomfortable experience
for someone using a wheelchair or other assistive devices. If something on a surface would make
- it hard o... | 7 |
diff --git a/articles/security/bulletins/2019-09-05_scopes.md b/articles/security/bulletins/2019-09-05_scopes.md @@ -15,16 +15,20 @@ useCase:
## Overview
-If you use rules to assign scopes to users based on their email address there is a possibility that scopes could be compromised if your application uses multiple con... | 3 |
diff --git a/apps/verticalface/app.js b/apps/verticalface/app.js @@ -4,28 +4,28 @@ require("Font7x11Numeric7Seg").add(Graphics);
function draw() {
- var daysOfWeek = ["MON", "TUE","WED","THUR","FRI","SAT","SUN"];
// work out how to display the current time
var d = new Date();
var h = d.getHours(), m = d.getMinutes(), d... | 3 |
diff --git a/templates/blockchain-node-view.html b/templates/blockchain-node-view.html .animationFill {
-webkit-animation-name: fillGray;
- -webkit-animation-duration: 10s;
+ -webkit-animation-duration: 60s;
}
.animationStroke {
-webkit-animation-name: strokeGray;
- -webkit-animation-duration: 10s;
+ -webkit-animation-... | 12 |
diff --git a/packages/composer-playground/package.json b/packages/composer-playground/package.json "@types/source-map": "0.5.0",
"@types/uglify-js": "2.6.28",
"@types/webpack": "2.1.0",
+ "@types/tapable": "0.2.4",
"angular-2-local-storage": "1.0.0",
"angular-router-loader": "0.5.0",
"angular2-template-loader": "0.6.2"... | 1 |
diff --git a/src/encoded/tests/data/inserts/experiment.json b/src/encoded/tests/data/inserts/experiment.json "date_released": "2015-08-31",
"accession": "ENCSR123MRN",
"uuid": "e828ec88-8f74-437f-8bf7-8535ee34819e",
+ "experiment_classification": ["functional genomics assay"]
},
{
"_test": "CRISPR screen test",
| 0 |
diff --git a/Guidelines/Build process documentation.md b/Guidelines/Build process documentation.md ### Introduction
To make sure all committe it seamlessly and independent from each other onto Github, we need a general-accepted build and deploy process. At the end of this file a BPMN model describing the whole process ... | 1 |
diff --git a/js/controllers/slidecontent.js b/js/controllers/slidecontent.js @@ -102,7 +102,13 @@ export default class SlideContent {
// Images
if( backgroundImage ) {
- backgroundContent.style.backgroundImage = 'url('+ encodeURI( backgroundImage ) +')';
+ let backgroundString = ''
+ backgroundImage.split(',').forEach(... | 11 |
diff --git a/src/monitors/monitorROAS.js b/src/monitors/monitorROAS.js @@ -178,7 +178,7 @@ export default class MonitorROAS extends Monitor {
const expiring = this.rpki.getExpiringElements(index, vrp, vrp?.expires);
for (let item of expiring) {
- uniqItems[item.id] = item;
+ uniqItems[item.hash_id] = item;
}
}
}
| 4 |
diff --git a/gulp-tasks/zip.js b/gulp-tasks/zip.js @@ -29,12 +29,6 @@ function generateFilename() {
return `google-site-kit.v${ version }:${ branch }@${ shortSha }_${ date }.zip`;
}
-// eslint-disable-next-line no-console
-gulp.task( 'plugin-version', () => console.log( getPluginVersion() ) );
-// eslint-disable-next-l... | 2 |
diff --git a/src/Esquio.UI.Api/Scenarios/Configuration/Details/DetailsConfigurationRequestHandler.cs b/src/Esquio.UI.Api/Scenarios/Configuration/Details/DetailsConfigurationRequestHandler.cs @@ -4,6 +4,7 @@ using Esquio.UI.Api.Infrastructure.Data.Entities;
using Esquio.UI.Api.Infrastructure.Metrics;
using Esquio.UI.Api... | 12 |
diff --git a/app/classifier/tasks/drawing-task-details-editor.cjsx b/app/classifier/tasks/drawing-task-details-editor.cjsx @@ -123,7 +123,7 @@ module.exports = createReactClass
when 'slider'
TaskChoice = require('./slider').default
when 'dropdown'
- TaskChoice = require './dropdown'
+ TaskChoice = require('./dropdown')... | 1 |
diff --git a/src/components/registration/join-flow-steps.jsx b/src/components/registration/join-flow-steps.jsx @@ -4,10 +4,10 @@ const injectIntl = require('react-intl').injectIntl;
import {Formik, Form} from 'formik';
/*
- * Example step
+ * Username step
*/
/* eslint-disable react/prefer-stateless-function, no-useles... | 10 |
diff --git a/app/src/scripts/common/forms/parameter-types/multi.jsx b/app/src/scripts/common/forms/parameter-types/multi.jsx @@ -7,8 +7,6 @@ class MultiType extends React.Component {
super(props)
const initialState = {
counter: 1,
- opts: this.props.model.options,
- defChecked: this.props.model.defaultChecked,
}
this.i... | 1 |
diff --git a/src/client/js/components/RevisionComparer/RevisionComparer.jsx b/src/client/js/components/RevisionComparer/RevisionComparer.jsx @@ -76,24 +76,7 @@ const RevisionComparer = (props) => {
>
<i className="ti-clipboard"></i>
</DropdownToggle>
- <DropdownMenu
- modifiers={{
- preventOverflow: { boundariesElement... | 12 |
diff --git a/tests/qunit/assets/js/util/index.js b/tests/qunit/assets/js/util/index.js @@ -418,7 +418,7 @@ valuesToTest = [
slug: 'pagespeed-insights',
status: true,
apikey: false,
- expected: 'http://sitekit.withgoogle.com/wp-admin/admin.php?page=googlesitekit-module-pagespeed-insights&reAuth=false&slug=pagespeed-insi... | 3 |
diff --git a/lib/utility.js b/lib/utility.js @@ -157,14 +157,10 @@ simd(true);
* @private
*/
module.exports = function (Sharp) {
- [
- cache,
- concurrency,
- counters,
- simd
- ].forEach(function (f) {
- Sharp[f.name] = f;
- });
+ Sharp.cache = cache;
+ Sharp.concurrency = concurrency;
+ Sharp.counters = counters;
+ S... | 11 |
diff --git a/engine/components/network/net.io/IgeNetIoClient.js b/engine/components/network/net.io/IgeNetIoClient.js @@ -514,7 +514,6 @@ var IgeNetIoClient = {
obj[entityId] = entityData;
} else {
- // console.log(commandName, entityData);
this._networkCommands[commandName](entityData);
}
}
| 13 |
diff --git a/src/components/summary-list/summary-list.yaml b/src/components/summary-list/summary-list.yaml @@ -370,8 +370,8 @@ examples:
text: Pneumonoultramicroscopicsilicovolcanoconiosis
value:
html: |
- <p class="govuk-body">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi quis consequat diam. Duis eff... | 7 |
diff --git a/src/core/operations/PublicKey.js b/src/core/operations/PublicKey.js @@ -61,8 +61,6 @@ const PublicKey = {
sig = cert.getSignatureValueHex(),
sigStr = "",
extensions = cert.getInfo().split("X509v3 Extensions:\n")[1].split("signature")[0];
- window.cert = cert;
- window.r = r;
// Public Key fields
pkFields.p... | 2 |
diff --git a/lib/NormalModuleFactory.js b/lib/NormalModuleFactory.js @@ -299,7 +299,6 @@ class NormalModuleFactory extends Tapable {
resolveRequestArray(contextInfo, context, array, resolver, callback) {
if(array.length === 0) return callback(null, []);
asyncLib.map(array, (item, callback) => {
- const originLoaderName... | 2 |
diff --git a/src/draggable/list/DragZone.mjs b/src/draggable/list/DragZone.mjs @@ -50,7 +50,8 @@ class DragZone extends BaseDragZone {
owner.domListeners = domListeners;
store.on({
- load: me.onStoreLoad
+ load : me.onStoreLoad,
+ scope: me
});
// check if the store is already loaded
@@ -59,6 +60,27 @@ class DragZone e... | 5 |
diff --git a/lib/assets/javascripts/builder/components/modals/add-basemap/wms/wms-layer-model.js b/lib/assets/javascripts/builder/components/modals/add-basemap/wms/wms-layer-model.js var _ = require('underscore');
var Backbone = require('backbone');
var CustomBaselayerModel = require('builder/data/custom-baselayer-mode... | 14 |
diff --git a/js/modules/cohortbuilder/components/CohortExpressionEditorTemplate.html b/js/modules/cohortbuilder/components/CohortExpressionEditorTemplate.html </div>
<div class="col-sm-8">
<div class="btn-group pull-right">
- <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">Ad... | 7 |
diff --git a/test/test.rb b/test/test.rb @@ -16,6 +16,12 @@ class AppTest < Test::Unit::TestCase
@app = SpacexAPI
end
+##########################################
+# Tests all endpoints for correct number
+# of JSON responses with predefined
+# data + predictible responses
+##########################################
+
d... | 3 |
diff --git a/_posts/en/newsletters/2021-09-22-newsletter.md b/_posts/en/newsletters/2021-09-22-newsletter.md @@ -159,7 +159,7 @@ BOLTs][bolts repo].*
[lnurl pay]: https://github.com/fiatjaf/lnurl-rfc/blob/master/lnurl-pay.md
[lightningaddress website]: https://lightningaddress.com/
[lightningaddress diagram]: https://g... | 1 |
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -24,11 +24,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
+ - uses: satackey/action-docker-layer-caching@v0.0.8
+ # Ignore the failure of a step and avoid terminating the job.
+ continue-on-error: true
+ with:
+ key: ingest... | 4 |
diff --git a/sparta.go b/sparta.go @@ -1015,20 +1015,20 @@ func ensureValidSignature(lambdaName string, handlerSymbol interface{}) error {
return fmt.Errorf("Failed to confirm function type: %#v", handlerSymbol)
}
if handlerType.Kind() != reflect.Func {
- return fmt.Errorf("Lambda handler %s kind %s is not %s",
+ retur... | 7 |
diff --git a/src/pages/index.js b/src/pages/index.js @@ -40,18 +40,17 @@ const CTA = styled(Button.withComponent(Link)).attrs(cta)`
`
const StartCTA = styled(Button.withComponent(Link)).attrs({
...cta,
- inverted: true,
fontSize: [4, 5],
px: [4, 5]
})`
- background-image: ${theme.gradient('orange.5', 'red.5')};
+ backg... | 7 |
diff --git a/data/home_info.rb b/data/home_info.rb $home_info = {
- description: 'JSON API for data about company info, vehicles, launch sites, and launch data.',
+ description: 'REST API for data about company info, vehicles, launch sites, and launch data.',
project_link: 'https://github.com/jakewmeyer/SpaceX-API',
- ... | 3 |
diff --git a/client/src/components/layouts/LayoutPhoenix/style.scss b/client/src/components/layouts/LayoutPhoenix/style.scss @@ -208,6 +208,14 @@ $alertp: #4d1980;
left: 5vw;
top: 90px;
}
+ &.viewscreen {
+ .card-area {
+ width: 100vw;
+ height: 100vh;
+ left: 0;
+ top: 0;
+ }
+ }
.widgets {
left: 180px;
bottom: 10px;
| 1 |
diff --git a/node-binance-api.js b/node-binance-api.js @@ -1658,7 +1658,12 @@ let api = function Binance() {
if (substring === 'BTC') return 'BTC';
else if (substring === 'ETH') return 'ETH';
else if (substring === 'BNB') return 'BNB';
+ else if (substring === 'XRP') return 'XRP';
+ else if (substring === 'PAX') return... | 3 |
diff --git a/packages/vulcan-forms/lib/components/Form.jsx b/packages/vulcan-forms/lib/components/Form.jsx @@ -811,7 +811,7 @@ class SmartForm extends Component {
// if there's a submit callback, run it
if (this.props.submitCallback) {
- data = this.props.submitCallback(data);
+ data = this.props.submitCallback(data) |... | 11 |
diff --git a/source/application/WindowController.js b/source/application/WindowController.js /*global window, document, localStorage */
import { Class } from '../core/Core.js';
+import { Obj } from '../foundation/Object.js';
+import { invokeInNextEventLoop } from '../foundation/RunLoop.js';
+
import '../core/Date.js'; ... | 2 |
diff --git a/src/drawNode.js b/src/drawNode.js @@ -20,6 +20,13 @@ var defaultNodeAttributes = {
fontcolor: "#000000",
};
+var multiFillShapes = [
+ 'fivepoverhang',
+ 'threepoverhang',
+ 'noverhang',
+ 'assembly',
+];
+
function completeAttributes(attributes, defaultAttributes=defaultNodeAttributes) {
for (var attribut... | 9 |
diff --git a/README.md b/README.md 
-
+
# SpaceX Data REST API
@@ -29,11 +29,11 @@ GET https://api.spacexdata.com/v2/launches/latest?pretty
```json
{
- "flight_number": 56,
+ "flight_number": 57,
"l... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -87177,8 +87177,10 @@ var $$IMU_EXPORT$$;
if (domain === "images.parler.com") {
// https://images.parler.com/c57e1807949d4c269a5dbcf7d311f702_32
// https://images.parler.com/c57e1807949d4c269a5dbcf7d311f702 -- 512x512
+ // https://images.parler.com/ca7aba70bd07480... | 7 |
diff --git a/.travis.yml b/.travis.yml @@ -9,9 +9,8 @@ script:
- npm run build
deploy:
provider: s3
- access_key_id: AKIAJ3BXGWRIMZSIHD6Q
- secret_access_key:
- secure: p8ZhgpK9CT9dghR3qVfeXg8XujnsvBjTmKIcHqExbJWjoVAnn/nWM1esB4FpBQyK1EWtmQuvRH6Uj+TpVEHpBac13KZCXWomUXb1n/zB6ciwqrUqGxLQ/KDs0guqpY5HkYwzw58Ey6UFo6xYRNYryzD... | 14 |
diff --git a/examples/basics/u.orca b/examples/basics/u.orca .........................................
.#.UCLID.#...............................
.........................................
-.Cg.U8..............Cg5U8................
+.Cg1U8..............Cg5U8................
.4.X................4.X*.................
..#*.... | 7 |
diff --git a/bl-kernel/boot/admin.php b/bl-kernel/boot/admin.php @@ -23,14 +23,6 @@ $layout['controller'] = $layout['view'] = $layout['slug'] = empty($explodeSlug[0
unset($explodeSlug[0]);
$layout['parameters'] = implode('/', $explodeSlug);
-// Disable Magic Quotes.
-// Thanks, http://stackoverflow.com/questions/517008... | 2 |
diff --git a/assets/js/components/notifications/ZeroDataStateNotifications.stories.js b/assets/js/components/notifications/ZeroDataStateNotifications.stories.js @@ -189,13 +189,6 @@ ZeroDataState.args = {
export default {
title: 'Components/ZeroDataStateNotifications',
decorators: [
- ( Story ) => (
- <div className="g... | 2 |
diff --git a/userscript.user.js b/userscript.user.js @@ -5389,6 +5389,51 @@ var $$IMU_EXPORT$$;
return possible_infos;
};
+ common_functions.get_twitter_video_tweet = function(el, window) {
+ if (el.tagName !== "VIDEO" || !el.src.match(/^blob:/))
+ return null;
+
+ var poster = el.poster;
+ if (!poster)
+ return null;
... | 7 |
diff --git a/app/models/carto/api_key.rb b/app/models/carto/api_key.rb @@ -54,7 +54,7 @@ class Carto::ApiKey < ActiveRecord::Base
self.db_role = Carto::DB::Sanitize.sanitize_identifier("#{user.username}_role_#{SecureRandom.hex}")
end while self.class.exists?(db_role: db_role)
self.db_password = SecureRandom.hex(PASSWOR... | 10 |
diff --git a/test/unit/service-broker.spec.js b/test/unit/service-broker.spec.js @@ -413,9 +413,19 @@ describe("Test broker.registerAction", () => {
describe("Test broker.wrapAction", () => {
let broker = new ServiceBroker();
- //broker.wrapContextInvoke = jest.fn();
- it("should run middlewares & call wrapContextInvok... | 3 |
diff --git a/pages/docs/manual/latest/polymorphic-variant.mdx b/pages/docs/manual/latest/polymorphic-variant.mdx @@ -261,7 +261,7 @@ let other = [#Green]
let all = Belt.Array.concat(colors, other)
```
-As you can see in the example above, the type checker doesn't really care about the fact that `color` is not annotated... | 1 |
diff --git a/src/components/dashboard/__tests__/SendLinkSummary.js b/src/components/dashboard/__tests__/SendLinkSummary.js import React from 'react'
+import renderer from 'react-test-renderer'
+import GDStore from '../../../lib/undux/GDStore'
// Note: test renderer must be required after react-native.
-import renderer ... | 0 |
diff --git a/src/viewport.js b/src/viewport.js @@ -485,10 +485,9 @@ $.Viewport.prototype = {
* @function
* @private
* @param {OpenSeadragon.Rect} bounds
- * @param {Boolean} immediately
* @return {OpenSeadragon.Rect} constrained bounds.
*/
- _applyBoundaryConstraints: function(bounds, immediately) {
+ _applyBoundaryCon... | 3 |
diff --git a/app/models/cluster.js b/app/models/cluster.js @@ -85,7 +85,7 @@ export default Resource.extend(Grafana, ResourceUsage, {
return get(this, 'configName') === 'rancherKubernetesEngineConfig';
}),
- provider: computed('configName', 'nodePools.@each.nodeTemplateId', function() {
+ provider: computed('configName... | 3 |
diff --git a/app/models/carto/api_key.rb b/app/models/carto/api_key.rb @@ -12,7 +12,6 @@ module Carto
class TablePermissions
WRITE_PERMISSIONS = ['insert', 'update', 'delete', 'truncate'].freeze
- ALLOWED_PERMISSIONS = (WRITE_PERMISSIONS + ['select', 'references', 'trigger']).freeze
attr_reader :schema, :name, :permiss... | 2 |
diff --git a/src/components/listgroup/ListGroupItem.js b/src/components/listgroup/ListGroupItem.js @@ -22,10 +22,11 @@ class ListGroupItem extends React.Component {
}
render() {
- let {children, href, ...otherProps} = this.props;
+ let {children, ...otherProps} = this.props;
+ const {href, disabled} = this.props;
other... | 11 |
diff --git a/src/sdk/p2p/peerconnection-channel.js b/src/sdk/p2p/peerconnection-channel.js @@ -266,9 +266,7 @@ class P2PPeerConnectionChannel extends EventDispatcher {
mediaStreamId);
continue;
}
- const publishedStreams = Array.from(this._publishedStreams, x => x[
- 0]);
- const targetStream = publishedStreams.find(
+... | 1 |
diff --git a/articles/history-of-nodejs/history-of-nodejs.md b/articles/history-of-nodejs/history-of-nodejs.md @@ -21,7 +21,7 @@ You may have probably heard of it or worked with it (or have been curious about
[source](https://www.simform.com/nodejs-use-case/)
### What is Node.js?
-;
long longVal = ScriptRuntime.toUint32(d);
if (longVal != d) {
- String msg = ScriptRuntime.getMess... | 14 |
diff --git a/src/scripts/content/toggl-plan.js b/src/scripts/content/toggl-plan.js 'use strict';
-togglbutton.render('.task-form:not(.toggl)', { observe: true }, elem => {
- const container = $('[data-hook=actions-menu]', elem);
+// Changed from teamweek to Toggl-Plan
+// Version active on July 2020
+togglbutton.render... | 1 |
diff --git a/src/lib/http.js b/src/lib/http.js @@ -20,6 +20,15 @@ const HEADERS = {
let headerBuilders = [];
+function parseHeaders(rawHeaders : string = '') : { [string] : string } {
+ let result = {};
+ for (let line of rawHeaders.trim().split('\n')) {
+ let [ key, ...values ] = line.split(':');
+ result[key.toLowerC... | 7 |
diff --git a/generators/generator-base-private.js b/generators/generator-base-private.js @@ -339,14 +339,14 @@ module.exports = class extends Generator {
* @returns formatted api description
*/
formatAsApiDescription(text) {
- if (!text || text === '') {
+ if (!text) {
return text;
}
const rows = text.split('\n');
let ... | 7 |
diff --git a/src/components/general/settings/TabAi.jsx b/src/components/general/settings/TabAi.jsx @@ -163,7 +163,7 @@ export const TabAi = ({ active }) => {
<div className={ styles.blockTitle }>MODEL</div>
<div className={ styles.row }>
<div className={ styles.paramName }>Provider</div>
- <Switch className={ styles.sw... | 0 |
diff --git a/src/sidebar.js b/src/sidebar.js @@ -143,7 +143,7 @@ export class Sidebar {
_usernameElem.value = _username;
clearInterval(_usernameElemWatcher);
- }, 10);
+ }, 100);
};
webContents.executeJavaScript('('.concat(injectedPrefiller, `('${username}'))`));
| 12 |
diff --git a/src/lib/components/CandidateBox.ts b/src/lib/components/CandidateBox.ts @@ -85,7 +85,7 @@ class CandidateBox {
};
candidateListLIElement.className = "hg-candidate-box-list-item";
- candidateListLIElement.textContent = this.options.display?.[candidateListItem] || candidateListItem;
+ candidateListLIElement.... | 11 |
diff --git a/articles/libraries/auth0-swift/index.md b/articles/libraries/auth0-swift/index.md @@ -190,3 +190,14 @@ Auth0
}
}
```
+
+## Next Steps
+
+Take a look at the following resources to see how the Auth0.Swift SDK can be customized for your needs:
+
+::: next-steps
+* [Auth0.Swift Database Authentication](/librar... | 0 |
diff --git a/gameplay/avalonRoom.js b/gameplay/avalonRoom.js @@ -770,7 +770,7 @@ module.exports = function(host_, roomId_, io_){
//set game start parameters
//get a random starting team leader
this.teamLeader = getRandomInt(0,this.sockets.length);
- this.hammer = ((this.teamLeader - 5 + this.sockets.length) % this.sock... | 1 |
diff --git a/src/encoded/static/scss/encoded/modules/_genome_browser.scss b/src/encoded/static/scss/encoded/modules/_genome_browser.scss bottom: 0;
right: 0;
left: 0;
- border: 1px solid #bdbdbd;
background: white;
z-index: 99999;
}
top: 0;
background: white;
color: black;
+ margin-top: 0;
}
}
| 2 |
diff --git a/packages/rmw-shell/cra-template-rmw/template/continuous_deployment/bs.js b/packages/rmw-shell/cra-template-rmw/template/continuous_deployment/bs.js @@ -53,18 +53,15 @@ var desktopIE = {
'browserstack.key': process.argv[3],
}
-/*
var iPhoneDriver = new webdriver.Builder()
.usingServer('http://hub-cloud.brow... | 3 |
diff --git a/labs/logicapps.md b/labs/logicapps.md @@ -83,7 +83,7 @@ We'll create a REST API point, using the sample payload in the code block below.
1. the HTTP request, i.e. what we are sending in, and the expected format or schema for it, followed by
2. the HTTP response sent back to confirm success
-Here is our sam... | 7 |
diff --git a/userscript.user.js b/userscript.user.js @@ -11336,7 +11336,7 @@ var $$IMU_EXPORT$$;
var our_format = available_formats[i];
if (our_format.is_adaptive) {
- adaptiveformat_to_dash(our_format, adaptionsets);
+ //adaptiveformat_to_dash(our_format, adaptionsets);
} else {
if (our_format.bitrate > maxbitrate) {
... | 8 |
diff --git a/packages/homelessness/package.json b/packages/homelessness/package.json "express": "^4.14.1",
"invariant": "^2.2.2",
"isomorphic-fetch": "^2.2.1",
- "leaflet": "^1.0.3",
"query-string": "^4.3.3",
"ramda": "^0.23.0",
"react": "^16.8.4",
| 2 |
diff --git a/components/maplibre/ban-map/layers.js b/components/maplibre/ban-map/layers.js @@ -49,12 +49,14 @@ const getColors = () => {
return [...array]
}
+const colors = getColors()
+
export const positionsCircleLayer = {
id: 'positions',
source: 'positions',
type: 'circle',
paint: {
- 'circle-color': ['match', ['ge... | 0 |
diff --git a/src/lib/wallet/SoftwareWalletProvider.js b/src/lib/wallet/SoftwareWalletProvider.js @@ -91,7 +91,8 @@ class SoftwareWalletProvider {
break
case 'HttpProvider':
- provider = this.conf.httpWeb3provider + Config.infuraKey
+ const infuraKey = this.conf.httpWeb3provider.indexOf('infura') !== -1 ? Config.infuraK... | 2 |
diff --git a/app/shared/reducers/balances.js b/app/shared/reducers/balances.js @@ -22,7 +22,7 @@ export default function balances(state = initialState, action) {
const { connection, results } = action.payload;
if (results && results.core_liquid_balance) {
const account = action.payload.account.replace('.', '\\.');
- co... | 4 |
diff --git a/assets/js/googlesitekit/widgets/datastore/areas.js b/assets/js/googlesitekit/widgets/datastore/areas.js @@ -27,15 +27,6 @@ import invariant from 'invariant';
import { WIDGET_AREA_STYLES } from './constants';
import { sortByProperty } from '../../../util/sort-by-property';
-/**
- * Store our widget componen... | 2 |
diff --git a/N/search.d.ts b/N/search.d.ts @@ -691,7 +691,7 @@ interface CreateSearchSettingOptions<K extends SettingName> {
value: SettingValueType[K] | string
}
-interface Setting {
+export interface Setting {
name: string
value: ConsolidationEnum | IncludePeriodTransactionEnum
}
| 12 |
diff --git a/app/core/tokenList.json b/app/core/tokenList.json },
"NNN": {
"symbol": "NNN",
- "companyName": "Novem Gold AG",
+ "companyName": "NOVEM GOLD AG",
"type": "NEP5",
"networks": {
"1": {
"name": "Novem Gold Token",
- "hash": "50091057ff12863f1a43266b9786209e399c6ffc",
+ "hash": "1e892bd588ea4ab409b3a93d3049d6... | 3 |
diff --git a/src/templates/question.js b/src/templates/question.js @@ -171,7 +171,9 @@ const QuestionTemplate = props => {
<h2>Explanation:</h2>
<section
dangerouslySetInnerHTML={{
- __html: explanationContent
+ __html:
+ explanationContent +
+ `<ul style="padding-left: 30px"><li><strong>Interested in learning more abo... | 0 |
diff --git a/src/js/modules/ajax.js b/src/js/modules/ajax.js @@ -164,6 +164,41 @@ Ajax.prototype._loadDataStandard = function(inPosition){
}, inPosition);
};
+Ajax.prototype.serializeParams = function(data, prefix){
+ var self = this,
+ output = [],
+ encoded = [];
+
+ prefix = prefix || "";
+
+ if ( Array.isArray(data... | 7 |
diff --git a/src/util/mockVGL.js b/src/util/mockVGL.js /* eslint-disable camelcase */
/* eslint-disable underscore/prefer-constant */
+var $ = require('jquery');
var vgl = require('vgl');
var vglRenderer = require('../gl/vglRenderer');
-var _renderWindow = vgl.renderWindow;
-var _supported = vglRenderer.supported;
+var... | 11 |
diff --git a/appveyor.yml b/appveyor.yml @@ -15,6 +15,8 @@ before_package:
echo Before package
after_test:
- 7z a build\html5_history_dist_%APPVEYOR_REPO_TAG_NAME%.zip %APPVEYOR_BUILD_FOLDER%\build\dist -r
+ - dir %APPVEYOR_BUILD_FOLDER%\build\
+ - dir %APPVEYOR_BUILD_FOLDER%\build\hash-history_
- 7z a build\hash_histo... | 12 |
diff --git a/assets/src/edit-story/components/canvas/karma/multiSelectionMovable.karma.js b/assets/src/edit-story/components/canvas/karma/multiSelectionMovable.karma.js @@ -135,16 +135,8 @@ describe('Multi-selection Movable integration', () => {
const storyContext = await fixture.renderHook(() => useStory());
// Let's ... | 7 |
diff --git a/token-metadata/0x55296f69f40Ea6d20E478533C15A6B08B654E758/metadata.json b/token-metadata/0x55296f69f40Ea6d20E478533C15A6B08B654E758/metadata.json "symbol": "XYO",
"address": "0x55296f69f40Ea6d20E478533C15A6B08B654E758",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/Example/web3swiftExample/web3swiftExample/ViewController.swift b/Example/web3swiftExample/web3swiftExample/ViewController.swift @@ -18,6 +18,8 @@ class ViewController: UIViewController {
super.viewDidLoad()
let jsonString = "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"... | 3 |
diff --git a/components/app/myrw/datasets/pages/my-rw-datasets/dataset-list/dataset-list-card-component.js b/components/app/myrw/datasets/pages/my-rw-datasets/dataset-list/dataset-list-card-component.js @@ -47,7 +47,6 @@ class DatasetsListCard extends PureComponent {
render() {
const { dataset, routes, user } = this.pr... | 4 |
diff --git a/package.json b/package.json "react-advanced-img": "^1.0.0",
"react-dom": "^15.3.2",
"react-intl": "^2.1.5",
- "react-portal-tooltip": "^1.1.5",
"react-redux": "^4.4.5",
"react-responsive-utils": "^1.0.2",
"react-router": "^3.0.0",
| 2 |
diff --git a/token-metadata/0xAA19961b6B858D9F18a115f25aa1D98ABc1fdBA8/metadata.json b/token-metadata/0xAA19961b6B858D9F18a115f25aa1D98ABc1fdBA8/metadata.json "symbol": "LCS",
"address": "0xAA19961b6B858D9F18a115f25aa1D98ABc1fdBA8",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/app/pages/project/index.cjsx b/app/pages/project/index.cjsx @@ -201,12 +201,7 @@ ProjectPageController = React.createClass
linkedWorkflows[randomIndex]
getWorkflow: (selectedWorkflowID) ->
- query =
- id: "#{selectedWorkflowID}",
- project_id: @state.project.id
- unless @checkUserRoles(@state.project, @pro... | 13 |
diff --git a/app/views/welcome/index.html.haml b/app/views/welcome/index.html.haml - content_for(:extrahead) do
- unless @google_webmaster_verification.blank?
- %meta{content: @google_webmaster_verification, name: "google-site-verification"}
+ - @google_webmaster_verification.split( ";" ).each do |verification|
+ %meta... | 11 |
diff --git a/articles/connections/database/migrating.md b/articles/connections/database/migrating.md @@ -8,6 +8,14 @@ At Auth0, the focus has always been not only on greenfield projects but also on
Auth0 supports the automatic migration of users to Auth0 from a custom database connection. This feature adds your users t... | 0 |
diff --git a/publish/src/commands/extract-staking-balances.js b/publish/src/commands/extract-staking-balances.js @@ -106,9 +106,9 @@ async function extractStakingBalances({ network = DEFAULTS.network, deploymentPa
);
// The exchange fee incurred when users are purged into sUSD
- const exchangeFee = await SystemSettings... | 3 |
diff --git a/tests/service/data-util.service.spec.ts b/tests/service/data-util.service.spec.ts @@ -81,9 +81,14 @@ describe('Data Utils Service Test', () => {
expect(service.toBase64).toHaveBeenCalled();
})()));
- it('should skip the toBase64() when image is passed', inject([JhiDataUtils], (service: JhiDataUtils) => {
+... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.