code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/pages/tests/alerts.hbs b/src/pages/tests/alerts.hbs @@ -26,23 +26,23 @@ layout: blank
{{/embed}}
</div>
-<div class="drizzle-c-Space-inset-xl">
- {{#embed "patterns.components.alerts.base" type="success" icon="check" viewBox="0 0 64 64"}}
+<div class="drizzle-c-Space-inset-m">
+ {{#embed "patterns.comp... | 3 |
diff --git a/nodejs/lib/util/http.ts b/nodejs/lib/util/http.ts @@ -15,7 +15,7 @@ const noop = function() {};
/***************************************************
*
- * These Http ops are used for REST operations
+ * These Http operations are used for REST operations
* and assume that the system is stateless - ie
* ther... | 10 |
diff --git a/app/scripts/controllers/computed-balances.js b/app/scripts/controllers/computed-balances.js @@ -20,9 +20,10 @@ class ComputedbalancesController {
}
updateAllBalances () {
- for (let address in this.accountTracker.store.getState().accounts) {
+ Object.keys(this.balances).forEach((balance) => {
+ const addre... | 11 |
diff --git a/create-snowpack-app/cli/README.md b/create-snowpack-app/cli/README.md @@ -32,4 +32,5 @@ npx create-snowpack-app new-dir --template @snowpack/app-template-NAME [--use-ya
- [snowpack-vue-capacitor-2-demo](https://github.com/brodybits/snowpack-vue-capacitor-2-demo) Demo of Snowpack with Vue and [Capacitor mob... | 0 |
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js @@ -72,6 +72,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_
if (basal <= currenttemp.rate * 1.2) { // high temp is running
rT.reason += "; setting current basal of " + basal + " as temp";
... | 12 |
diff --git a/src/pages/home/report/ReportActionContextMenu.js b/src/pages/home/report/ReportActionContextMenu.js @@ -44,10 +44,12 @@ const defaultProps = {
session: {},
};
+/**
+ * Copies the message text, or html if it's an attachment, to the the clipboard
+ *
+ * @param {Object} reportAction
+ */
function copyToClipb... | 7 |
diff --git a/aura-components/src/main/components/ui/SVGLibrary/stamper.js b/aura-components/src/main/components/ui/SVGLibrary/stamper.js @@ -59,6 +59,7 @@ function StampSVG() { //eslint-disable-line no-unused-vars
uses.forEach(function (use) {
var src = use.getAttribute("href");
+ if (src) {
var srcSplit = src.split("#... | 9 |
diff --git a/spec/requests/carto/api/visualizations_controller_spec.rb b/spec/requests/carto/api/visualizations_controller_spec.rb @@ -437,7 +437,6 @@ describe Carto::Api::VisualizationsController do
@user_2 = FactoryGirl.create(:valid_user, private_maps_enabled: true)
@carto_user2 = Carto::User.find(@user_2.id)
@api_k... | 2 |
diff --git a/src/video/canvas/texture.js b/src/video/canvas/texture.js if (atlas.meta.app.includes("texturepacker")) {
this.format = "texturepacker";
// set the texture
- if (typeof(texture) === "undefined") {
+ if (typeof(source) === "undefined") {
var image = atlas.meta.image;
this.source = me.utils.getImage(image);
... | 1 |
diff --git a/src/context/actions/globalActions.js b/src/context/actions/globalActions.js @@ -102,7 +102,7 @@ export const resetToProjectUrl = () => ({
type: actionTypes.NEW_TEST_CLOSE_BROWSER_DOCS,
});
-export const setValidCode = (verdict) => ({
+export const setValidCode = (validCode) => ({
type: actionTypes.SET_VALI... | 3 |
diff --git a/source/gltf/user_camera.js b/source/gltf/user_camera.js @@ -13,14 +13,14 @@ class UserCamera extends gltfCamera
target = [0, 0, 0],
yaw = 0,
pitch = 0,
- zoom = 1)
+ distance = 1)
{
super();
this.target = jsToGl(target);
this.yaw = yaw;
this.pitch = pitch;
- this.zoom = zoom;
+ this.distance = distance;
th... | 10 |
diff --git a/articles/native-platforms/ios-objc/07-authorization.md b/articles/native-platforms/ios-objc/07-authorization.md @@ -31,7 +31,7 @@ It's required that you've got [Lock](https://github.com/auth0/Lock.iOS-OSX) inte
### 1. Create a Rule to Assigning Roles
-First, you will create a rule that assigns your users e... | 14 |
diff --git a/src/js/controllers/buy-bitcoin/amount.controller.js b/src/js/controllers/buy-bitcoin/amount.controller.js ongoingProcess.set('buyingBch', true);
- walletService.getAddress(vm.wallet, true, function (err, toAddress) {
+ walletService.getAddress(vm.wallet, true, function onGetWalletAddress(err, toAddress) {
... | 9 |
diff --git a/js/coreweb/bisweb_connectivityvis.js b/js/coreweb/bisweb_connectivityvis.js @@ -230,7 +230,7 @@ var createMatrix=function(nets,pairs,symm=false) {
let network1=fixNetworkIndex(rois[node].attr[globalParams.internal.networkAttributeIndex]);
let network2=fixNetworkIndex(rois[othernode].attr[globalParams.inter... | 1 |
diff --git a/test/jasmine/tests/hover_label_test.js b/test/jasmine/tests/hover_label_test.js @@ -13,6 +13,7 @@ var click = require('../assets/click');
var delay = require('../assets/delay');
var doubleClick = require('../assets/double_click');
var failTest = require('../assets/fail_test');
+var touchEvent = require('..... | 0 |
diff --git a/src/styles/styles.js b/src/styles/styles.js @@ -1543,11 +1543,8 @@ const styles = {
chatItemAttachBorder: {
borderRightColor: themeColors.border,
borderRightWidth: 1,
- height: 32,
- width: 32,
marginBottom: 3,
marginTop: 3,
- justifyContent: 'center',
},
composerSizeButton: {
| 13 |
diff --git a/docs/README.md b/docs/README.md @@ -69,6 +69,16 @@ Currently the following fragments are available. Their [usage example](https://g
In order to create a new fragment for you website create a new `htmlcopyright_footere named after your fragment and place it under `[project_root]/layouts/partials/fragments`.... | 0 |
diff --git a/examples/realitytabs.html b/examples/realitytabs.html @@ -563,7 +563,7 @@ for (let i = 0; i < controllerMeshes.length; i++) {
controllerMesh.add(rayMesh);
controllerMesh.rayMesh = rayMesh;
- const rayDot = (() => {
+ const dotMesh = (() => {
const geometry = new THREE.SphereBufferGeometry(0.01, 5, 5);
cons... | 10 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -119,8 +119,12 @@ const _getLoaders = () => {
let currentAppRender = null;
metaversefile.setApi({
async import(s) {
- const m = await import(s);
- return m;
+ return await import(s);
+ },
+ async load(s) {
+ const m = await this.import(s);
+ const app = this.a... | 0 |
diff --git a/store/buildMatch.js b/store/buildMatch.js @@ -98,11 +98,11 @@ async function getMatch(matchId) {
try {
playersMatchData = await getPlayerMatchData(matchId);
if (playersMatchData.length === 0) {
- throw new Error('no players found for match %s');
+ throw new Error('no players found for match');
}
} catch (e... | 9 |
diff --git a/plugins/compute/app/assets/javascripts/compute/cloud_init_configuration.coffee b/plugins/compute/app/assets/javascripts/compute/cloud_init_configuration.coffee button.removeClass('disabled');
@addEventListenerOnSelect= (button) ->
- $( "#server_image_id" ).unbind "change.automtion"
- $( "#server_image_id" ... | 9 |
diff --git a/src/components/general/map-gen/MapGen.jsx b/src/components/general/map-gen/MapGen.jsx @@ -874,12 +874,22 @@ export const MapGen = () => {
// click
useEffect(() => {
- function click(e) {
+ /* function click(e) {
+ console.log('click', e);
if ( state.openedPanel === 'MapGenPanel' ) {
return false;
} else {
... | 0 |
diff --git a/aura-impl/src/main/java/org/auraframework/impl/adapter/ServletUtilAdapterImpl.java b/aura-impl/src/main/java/org/auraframework/impl/adapter/ServletUtilAdapterImpl.java @@ -508,7 +508,7 @@ public class ServletUtilAdapterImpl implements ServletUtilAdapter {
top == null ? null : top.getQualifiedName(), req);
... | 14 |
diff --git a/src/traces/scatter/plot.js b/src/traces/scatter/plot.js @@ -458,8 +458,10 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
join.enter().append('g').classed('textpoint', true).append('text');
join.each(function(d) {
- var sel = transition(d3.select(this).select('text'));
-... | 4 |
diff --git a/src/comments/commentsActions.js b/src/comments/commentsActions.js @@ -91,7 +91,9 @@ export const getComments = (postId, isFromAnotherComment = false) => {
export const sendCommentV2 = (parentPost, body) =>
(dispatch, getState) => {
- const { parent_author, parent_permlink, category, root_comment } = parent... | 3 |
diff --git a/components/explorer/explore-search.js b/components/explorer/explore-search.js @@ -84,7 +84,7 @@ function ExploreSearch() {
return (
<>
- <small className='example'>Rechercher une adresse, une voie, un lieu-dit ou une commune dans la Base Adresse Nationale</small>
+ <p className='example'>Rechercher une adr... | 0 |
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="test.com",
+ connection_name="OA... | 0 |
diff --git a/src/libs/EmojiUtils.js b/src/libs/EmojiUtils.js @@ -77,7 +77,7 @@ function isSingleEmoji(message) {
* @returns {Boolean}
*/
function containsOnlyEmojis(message) {
- const match = message.match(CONST.REGEX.EMOJIS);
+ const match = message.replace(/ /g, '').match(CONST.REGEX.EMOJIS);
if (!match) {
return fal... | 8 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -2442,14 +2442,14 @@ RED.view = (function() {
thisNode.selectAll(".node_button_button").attr("cursor",function(d) {
return (activeSubflow||!isButtonEnabled(d))?"":"pointer";
... | 11 |
diff --git a/engine/core/src/main/resources/view/core/Drawer.js b/engine/core/src/main/resources/view/core/Drawer.js @@ -624,7 +624,7 @@ export class Drawer {
if (!this.loading) {
if (this.loaded < 1) {
this.changed |= this.renderPreloadScene(this.scope, step)
- } else if (this.changed || (this.asyncRendering && this.a... | 1 |
diff --git a/app/models/synchronization/adapter.rb b/app/models/synchronization/adapter.rb @@ -37,15 +37,12 @@ module CartoDB
data_for_exception << "1st result:#{runner.results.first.inspect}"
raise data_for_exception
end
- index_statements = @table_setup.generate_index_statements(user.database_schema, table_name)
move... | 2 |
diff --git a/src/components/OrderHistoryTable/OrderHistoryTable.helpers.js b/src/components/OrderHistoryTable/OrderHistoryTable.helpers.js const symbolToLabel = (symbol) => {
if (symbol.includes(':')) {
- const pair = symbol.split(':')
- return `${pair[0]}/${pair[1]}`
+ let [base, quote] = symbol.split(':') //eslint-di... | 7 |
diff --git a/test/jasmine/tests/scattermapbox_test.js b/test/jasmine/tests/scattermapbox_test.js @@ -1070,3 +1070,126 @@ describe('@noCI Test plotly events on a scattermapbox plot:', function() {
});
});
});
+
+describe('@noCI Test plotly events on a scattermapbox plot when css transform is present:', function() {
+ va... | 0 |
diff --git a/core/task-executor/config/main/config.base.js b/core/task-executor/config/main/config.base.js @@ -41,8 +41,8 @@ config.metrics = {
config.resources = {
enable: formatter.parseBool(process.env.RESOURCES_ENABLE, false),
worker: {
- mem: parseFloat(process.env.WORKER_MEMORY) || 256,
- cpu: parseFloat(process.... | 3 |
diff --git a/outline/manager.js b/outline/manager.js @@ -290,7 +290,7 @@ module.exports = function (doc) {
const items = await getDashboardItems()
function renderTab (div, item) {
- div.dataset.name = item.tabName || item.paneName
+ div.dataset.globalPaneName = item.tabName || item.paneName
div.textContent = item.label... | 10 |
diff --git a/src/renderer/layer/ImageGLRenderable.js b/src/renderer/layer/ImageGLRenderable.js @@ -285,6 +285,7 @@ const ImageGLRenderable = Base => {
*/
clearGLCanvas() {
if (this.gl) {
+ this.gl.clearStencil(0xFF);
this.gl.clear(this.gl.COLOR_BUFFER_BIT | this.gl.STENCIL_BUFFER_BIT);
}
}
| 12 |
diff --git a/lime/math/color/RGBA.hx b/lime/math/color/RGBA.hx @@ -24,6 +24,11 @@ abstract RGBA(#if flash Int #else UInt #end) from Int to Int from UInt to UInt {
private static function __init__ ():Void {
+ __initColors();
+
+ }
+
+ private static function __initColors() {
__alpha16 = new UInt32Array (256);
for (i in ... | 5 |
diff --git a/articles/api/authentication/_userinfo.md b/articles/api/authentication/_userinfo.md @@ -12,8 +12,8 @@ Authorization: 'Bearer {ACCESS_TOKEN}'
```shell
curl --request GET \
--url 'https://${account.namespace}/userinfo' \
- --header 'authorization: Bearer {ACCESS_TOKEN}' \
- --header 'content-type: applicatio... | 2 |
diff --git a/react/src/components/pagination/SprkPagination.js b/react/src/components/pagination/SprkPagination.js @@ -195,21 +195,44 @@ const SprkPagination = (props) => {
};
SprkPagination.propTypes = {
- /** The pagination variant type. */
+ /**
+ * The determinds what style of pagination to render.
+ */
variant: Pr... | 7 |
diff --git a/composer-samples/csharp_dotnetcore/projects/AskingQuestionsSample/AskingQuestionsSample/dialogs/oauthinput/oauthinput.dialog b/composer-samples/csharp_dotnetcore/projects/AskingQuestionsSample/AskingQuestionsSample/dialogs/oauthinput/oauthinput.dialog "text": "Please log in to your email account",
"tokenPr... | 1 |
diff --git a/vis/js/headstart.js b/vis/js/headstart.js @@ -9,7 +9,6 @@ import $ from "jquery";
import config from 'config';
import { mediator } from 'mediator';
-import 'hypher';
import 'lib/en.js';
import { BrowserDetect } from "exports-loader?exports=BrowserDetect!../lib/browser_detect.js";
| 2 |
diff --git a/sirepo/package_data/static/js/ml.js b/sirepo/package_data/static/js/ml.js @@ -1048,13 +1048,14 @@ SIREPO.app.directive('columnSelector', function(appState, mlService, panelState,
if (! appState.models.columnInfo.selected) {
appState.models.columnInfo.selected = [];
}
+ let p = 0;
+ $scope.pages = [[]];
for... | 9 |
diff --git a/src/lib/objects.js b/src/lib/objects.js @@ -56,8 +56,8 @@ export function object<O: { +[field: string]: Decoder<_Any>, ... }>(
decodersByKey: O,
): Decoder<$ObjMap<O, <T>(Decoder<T>) => T>> {
const known = new Set(Object.keys(decodersByKey));
- return pojo.then((blob, accept, reject) => {
- const actual = ... | 10 |
diff --git a/tools/scripts/postinstall b/tools/scripts/postinstall @@ -241,7 +241,6 @@ function main() {
meta[ k ] = pkg[ k ];
}
}
- meta.name = ''; // NOTE: we empty out the `name` field due to the presence of slashes in the package names (e.g., `'@stdlib/array/buffer'`; see https://docs.npmjs.com/files/package.json#n... | 14 |
diff --git a/core/command.js b/core/command.js @@ -95,12 +95,15 @@ class Command {
return 'Command can only be used in server';
}
if (this.serverAdminOnly_ && !isBotAdmin) {
- let serverAdminRole = msg.channel.guild.roles.find((role) => {
- return role.name.toLowerCase() === config.serverAdminRoleName.toLowerCase();
- ... | 11 |
diff --git a/gatsby-config.js b/gatsby-config.js module.exports = {
siteMetadata: {
- title: "Gatsby Starter Blog",
- author: "Kyle Mathews",
- description: "A starter blog demonstrating what Gatsby can do.",
- siteUrl: "https://gatsbyjs.github.io/gatsby-starter-blog/",
+ title: 'Gatsby Starter Blog',
+ author: 'Kyle M... | 0 |
diff --git a/stories/index.tsx b/stories/index.tsx @@ -10,7 +10,7 @@ import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import _ from 'lodash';
-import GenericGriddle, { actions, components, selectors, plugins, ColumnDefinition, RowDefinition } from '../src/module';
+import GenericGriddle... | 0 |
diff --git a/src/evaluator.mjs b/src/evaluator.mjs @@ -267,12 +267,20 @@ function IsInTailPosition(CallExpression) {
return false;
}
-function ArgumentListEvaluation(Arguments) {
- if (Arguments.length === 0) {
+// #sec-argument-lists-runtime-semantics-argumentlistevaluation
+function ArgumentListEvaluation(ArgumentLis... | 7 |
diff --git a/test/deployments/index.js b/test/deployments/index.js @@ -15,12 +15,29 @@ const { toBytes32, wrap, networks } = require('../..');
describe('deployments', () => {
networks
.filter(n => n !== 'local')
- .forEach(network => {
- (['goerli'].indexOf(network) > -1 ? describe.skip : describe)(network, () => {
+ .... | 1 |
diff --git a/src/containers/StartRepl.js b/src/containers/StartRepl.js @@ -129,11 +129,11 @@ class ReplAnalytics extends Component {
paramArray.forEach(param => {
let kv = param.split('=')
if (kv[0] == 'i') {
- window.analytics.identify(kv[1])
-
const cValue = `replit_user_id=${kv[1]}`
const cPath = 'path=/'
document.c... | 12 |
diff --git a/karma.conf.js b/karma.conf.js @@ -22,6 +22,7 @@ module.exports = function (config) {
dir: 'test/coverage/',
includeAllSources: true
},
+ browserNoActivityTimeout: 30000,
karmaTypescriptConfig: {
tsconfig: './tsconfig.json',
bundlerOptions: {
| 3 |
diff --git a/assets/js/components/TourTooltips.js b/assets/js/components/TourTooltips.js @@ -80,7 +80,7 @@ export const GA_ACTIONS = {
COMPLETE: 'feature_tooltip_complete',
};
-export default function TourTooltips( { steps, tourID, gaEventCategory, callback = () => {} } ) {
+export default function TourTooltips( { step... | 2 |
diff --git a/modules/terceptAnalyticsAdapter.js b/modules/terceptAnalyticsAdapter.js @@ -2,7 +2,6 @@ import { ajax } from '../src/ajax.js';
import adapter from '../src/AnalyticsAdapter.js';
import adapterManager from '../src/adapterManager.js';
import CONSTANTS from '../src/constants.json';
-import * as url from '../sr... | 14 |
diff --git a/articles/migrations/index.md b/articles/migrations/index.md @@ -38,8 +38,7 @@ Auth0 is expanding into new global regions, and traffic originating from these r
If you are using a custom database connection, rule, and/or custom email provider that connects to your environment, **and** you have implemented fi... | 0 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -12,6 +12,41 @@ Please add your entries in this format:
In the current stage we aim to release a new version at least every month.
+## 2.1.1
+
+Released: 2021-09-20
+
+| Package | Version | Package | Version |
+|-|-|-|-|
+| @uppy/angular | 0.2.3 | @uppy/progress-bar | 2.0.2 |... | 0 |
diff --git a/src/PlaywrightSharp.Tests/Page/GoToTests.cs b/src/PlaywrightSharp.Tests/Page/GoToTests.cs @@ -35,7 +35,7 @@ namespace PlaywrightSharp.Tests.Page
[Fact(Timeout = PlaywrightSharp.Playwright.DefaultTimeout)]
public async Task ShouldWorkWithFileURL()
{
- string fileurl = "file://" + TestUtils.GetWebServerFile(... | 7 |
diff --git a/src/observable/map/FilteredMap.js b/src/observable/map/FilteredMap.js @@ -91,9 +91,10 @@ export class FilteredMap extends BaseObservableMap {
const isIncluded = this._filter(value, key);
this._included.set(key, isIncluded);
this._emitForUpdate(wasIncluded, isIncluded, key, value, params);
- }
+ } else {
th... | 1 |
diff --git a/lib/global-admin/addon/templates/-saml-config.hbs b/lib/global-admin/addon/templates/-saml-config.hbs {{#if (eq providerName 'keycloak')}}
<div class="col span-6">
<label class="acc-label pb-5">
- {{t "authPage.saml.disabled.entityId.labelText" appName=settings.appName}}{{field-required}}
+ {{t "authPage.s... | 2 |
diff --git a/assets/js/modules/analytics/util/property.test.js b/assets/js/modules/analytics/util/property.test.js @@ -29,13 +29,13 @@ describe( 'matchPropertyByURL', () => {
/* eslint-enable */
];
- it( 'should return a correct property that has matching website URL', async () => {
- const property = await matchProper... | 2 |
diff --git a/client/components/lists/list.js b/client/components/lists/list.js @@ -95,7 +95,7 @@ BlazeComponent.extendComponent({
$cards.sortable('cancel');
if (MultiSelection.isActive()) {
- Cards.find(MultiSelection.getMongoSelector()).forEach((card, i) => {
+ Cards.find(MultiSelection.getMongoSelector(), {sort: ['so... | 5 |
diff --git a/Apps/Sandcastle/gallery/Polyline Dash.html b/Apps/Sandcastle/gallery/Polyline Dash.html @@ -74,7 +74,7 @@ var cyanLine = viewer.entities.add({
width : 10,
material : new Cesium.PolylineDashMaterialProperty({
color : Cesium.Color.CYAN,
- dashPattern: 3087.0
+ dashPattern: parseInt("110000001111", 2)
})
}
})... | 14 |
diff --git a/src/lib/gundb/UserStorageClass.js b/src/lib/gundb/UserStorageClass.js @@ -4,14 +4,9 @@ import {
find,
flatten,
get,
-<<<<<<< HEAD
identity,
isArray,
isEqual,
-=======
- isEqual,
- isNull,
->>>>>>> 601947b6d61fb07a47a5edcca401a495407bc705
keys,
maxBy,
memoize,
@@ -1008,9 +1003,13 @@ export class UserStorage... | 0 |
diff --git a/.github/dependabot.yml b/.github/dependabot.yml @@ -10,11 +10,6 @@ updates:
schedule:
interval: monthly
open-pull-requests-limit: 10
-- package-ecosystem: "github-actions"
- directory: "/"
- schedule:
- interval: monthly
- open-pull-requests-limit: 10
ignore:
- dependency-name: css-loader
versions:
@@ -28,... | 5 |
diff --git a/source/components/NumericInput.js b/source/components/NumericInput.js @@ -139,6 +139,7 @@ class NumericInputBase extends Component<Props, State> {
const { fallbackInputValue } = this.state;
const isBackwardDelete = inputType === 'deleteContentBackward';
const isForwardDelete = inputType === 'deleteContentF... | 8 |
diff --git a/app/controllers/observations_controller.rb b/app/controllers/observations_controller.rb @@ -96,10 +96,13 @@ class ObservationsController < ApplicationController
end
params = request.params
showing_partial = (params[:partial] && PARTIALS.include?(params[:partial]))
+ # Humans should see this, but scrapers l... | 12 |
diff --git a/src/physics/body.js b/src/physics/body.js @@ -411,7 +411,7 @@ class Body {
var data = json;
if (typeof id !== "undefined" ) {
- json[id];
+ data = json[id];
}
// Physic Editor Format (https://www.codeandweb.com/physicseditor)
| 1 |
diff --git a/parsers/ecdc.py b/parsers/ecdc.py @@ -107,7 +107,7 @@ def parse():
cases = retrieve_case_data()
cases = flatten(cases)
- write_tsv(f"{LOC}/ecdcWorld.tsv", cols, cases, "world")
+ write_tsv(f"{LOC}/ecdcWorld.tsv", cols, cases, "ecdc")
if __name__ == "__main__":
# for debugging
| 1 |
diff --git a/_src/_templates/partials/header.njk b/_src/_templates/partials/header.njk <nav>
<ul class="site-nav">
<li{% if page.url == "/data/" %} aria-describedby="current-page"{% endif %}>
- <a{% if page.url == "/data/" %} aria-current="page" class="active"{% endif %} href="/data">Get the Data</a>
+ <a{% if page.url... | 1 |
diff --git a/src/components/DateRangePicker.js b/src/components/DateRangePicker.js @@ -63,6 +63,22 @@ const getMarkedDateRange = (dateRange: DateRange) => {
return markedDates;
};
+const getCalendarMarkingProps = (dateRange: ?DateOrDateRange) => {
+ if (dateRange && typeof dateRange === "string") {
+ return {
+ marking... | 5 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -3,9 +3,34 @@ import React from 'react';
import * as ReactThreeFiber from '@react-three/fiber';
import metaversefile from 'metaversefile';
import {getRenderer, scene, camera, appManager} from './app-object.js';
+import {rigManager} from './rig.js';
const local... | 0 |
diff --git a/generators/app/index.js b/generators/app/index.js @@ -197,12 +197,6 @@ module.exports = class extends BaseBlueprintGenerator {
type: String,
});
- // This adds support for a `--prettier-java` flag
- this.option('prettier-java', {
- desc: `Launch prettier-java pre-formatting at generation (default: ${appDef... | 2 |
diff --git a/src/core/service/api/context/audio.js b/src/core/service/api/context/audio.js @@ -9,7 +9,7 @@ const eventNames = [
'pause',
'stop',
'ended',
- 'timeupdate',
+ 'timeUpdate',
'error',
'waiting',
'seeking',
@@ -69,7 +69,7 @@ class InnerAudioContext {
this._callbacks = {}
this._options = {}
eventNames.forEach(... | 1 |
diff --git a/resources/prosody-plugins/mod_muc_size.lua b/resources/prosody-plugins/mod_muc_size.lua @@ -9,6 +9,7 @@ local it = require "util.iterators";
local json = require "util.json";
local iterators = require "util.iterators";
local array = require"util.array";
+local wrap_async_run = module:require "util".wrap_as... | 9 |
diff --git a/lib/player.js b/lib/player.js @@ -915,7 +915,7 @@ shaka.Player.prototype.selectTrack = function(track, opt_clearBuffer) {
if (track.type != 'text') {
- // Save current text stream to insure that it doesn't get overriden
+ // Save current text stream to insure that it doesn't get overridden
// by a default ... | 1 |
diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js @@ -319,7 +319,7 @@ function createSplitsAndOnyxData(participants, currentUserLogin, amount, comment
chatReportID: oneOnOneChatReport.reportID,
transactionID: oneOnOneIOUReportAction.originalMessage.IOUTransactionID,
reportActionID: oneOnOneIOUReportAction.... | 4 |
diff --git a/token-metadata/0x408e41876cCCDC0F92210600ef50372656052a38/metadata.json b/token-metadata/0x408e41876cCCDC0F92210600ef50372656052a38/metadata.json "symbol": "REN",
"address": "0x408e41876cCCDC0F92210600ef50372656052a38",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/server/scripts/scraper.js b/src/server/scripts/scraper.js //destructing the command line argumentsn
const [,,...args]= process.argv
+let scraper
+
switch(args[0]) {
case '--only=users':
- require('../services/scraper/users').scrape()
+ scraper = require('../services/scraper/users')
break;
case '--only=... | 3 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,45 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.31.0] -- 2017-10-05
+
+### Added
+- Add `table` trace type [#2030]
+- Add `geo.center` making geo views fully reproducible using layo... | 3 |
diff --git a/src/shaders/metallic-roughness.frag b/src/shaders/metallic-roughness.frag @@ -140,15 +140,7 @@ vec3 getIBLContribution(MaterialInfo materialInfo, vec3 v)
vec3 diffuse = diffuseLight * materialInfo.diffuseColor;
vec3 specular = specularLight * (materialInfo.specularColor * brdf.x + brdf.y);
- vec3 factor1 =... | 2 |
diff --git a/lib/node_modules/@stdlib/math/base/blas/dasum/tools/Makefile b/lib/node_modules/@stdlib/math/base/blas/dasum/tools/Makefile @@ -26,6 +26,15 @@ examples_dir := $(root_dir)/examples
NODE_GYP ?= node-gyp
+# Define the C compiler:
+C_COMPILER ?= gcc
+
+# Define the Fortran compiler:
+FORTRAN_COMPILER ?= gfortr... | 12 |
diff --git a/src/components/WithIon.js b/src/components/WithIon.js @@ -9,8 +9,13 @@ import get from 'lodash.get';
import has from 'lodash.has';
import Ion from '../lib/Ion';
+function getDisplayName(WrappedComponent) {
+ return WrappedComponent.displayName || WrappedComponent.name || 'Component';
+}
+
export default fu... | 4 |
diff --git a/editor/common/parseBlocks.js b/editor/common/parseBlocks.js @@ -46,16 +46,11 @@ function parseMarkDown(mdStr, parseExampleUI) {
const headerText = headerParts[2];
const headerLevel = headerParts[1].length;
- const {propertyName, propertyDefault, propertyType, prefixCode} = parseHeader(headerText);
blocks.p... | 8 |
diff --git a/packages/cx/src/widgets/HtmlElement.d.ts b/packages/cx/src/widgets/HtmlElement.d.ts @@ -14,8 +14,11 @@ interface HtmlElementProps extends Cx.HtmlElementProps {
/** HTML to be injected into the element. */
html?: string,
- styled?: boolean
+ styled?: boolean,
+ /** Allow any prop if HtmlElement is used dire... | 11 |
diff --git a/articles/quickstart/webapp/nodejs/01-login.md b/articles/quickstart/webapp/nodejs/01-login.md @@ -18,14 +18,14 @@ github:
## Configure Node.js to Use Auth0
-### Install and load the Dependencies
+### Install the Dependencies
To follow along this guide, install the following dependencies.
* [passport](http:... | 7 |
diff --git a/package.json b/package.json "style-loader": "^0.19.0",
"swimmer": "^1.1.1",
"url-loader": "^0.6.1",
+ "update-notifier": "^2.4.0",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "^2.8.2",
| 1 |
diff --git a/src/components/View/index.js b/src/components/View/index.js @@ -52,7 +52,10 @@ class View extends Component {
if (process.env.NODE_ENV !== 'production') {
React.Children.toArray(this.props.children).forEach(item => {
- invariant(typeof item !== 'string', 'A text node cannot be a child of a <View>');
+ inva... | 7 |
diff --git a/lib/assets/javascripts/dashboard/views/account/account-main-view.js b/lib/assets/javascripts/dashboard/views/account/account-main-view.js @@ -4,7 +4,6 @@ const PrivateHeaderView = require('dashboard/components/private-header-view');
const HeaderViewModel = require('dashboard/views/account/header-view-model... | 2 |
diff --git a/package.json b/package.json },
"license": "MIT",
"dependencies": {
- "minecraft-data": "^2.61.0",
+ "minecraft-data": "^2.62.1",
"minecraft-protocol": "^1.13.0",
"mojangson": "^0.2.4",
"prismarine-biome": "^1.1.0",
"prismarine-block": "^1.6.0",
"prismarine-chunk": "^1.20.0",
"prismarine-entity": "^1.0.0",
... | 3 |
diff --git a/config/environments/production.rb b/config/environments/production.rb @@ -54,7 +54,7 @@ Rails.application.configure do
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies... | 13 |
diff --git a/articles/hooks/extensibility-points/post-change-password.md b/articles/hooks/extensibility-points/post-change-password.md @@ -88,18 +88,19 @@ When you run a Hook based on the starter code, the response object is:
## Sample script: Send a notification email upon password change
-In this example, we use a Ho... | 4 |
diff --git a/lib/assets/core/test/spec/cartodb3/editor/widgets/widgets-form/schema/widgets-form-time-series-schema-model.spec.js b/lib/assets/core/test/spec/cartodb3/editor/widgets/widgets-form/schema/widgets-form-time-series-schema-model.spec.js @@ -54,16 +54,19 @@ describe('editor/widgets/widgets-form/schema/widgets-... | 1 |
diff --git a/server/preprocessing/other-scripts/test/test-openaire.R b/server/preprocessing/other-scripts/test/test-openaire.R @@ -34,5 +34,3 @@ output_json = vis_layout(input_data$text, input_data$metadata, max_clusters=MAX_
add_stop_words=ADDITIONAL_STOP_WORDS, testing=TRUE, list_size=-1)
print(output_json)
\ No newl... | 2 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor/widgets/widgets-form/schema/widgets-form-time-series-schema-model.js b/lib/assets/core/javascripts/cartodb3/editor/widgets/widgets-form/schema/widgets-form-time-series-schema-model.js var _ = require('underscore');
+var moment = require('moment');
var WidgetsForm... | 12 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md - To contribute to this project we would recommend fork this and find a friend to pair.
- After you finish working on your fork, make a Pull Request and find two reviewers so we could make this collaborative.
- Unit tests are mandatory to new features, but you dont need to... | 0 |
diff --git a/token-metadata/0x5b5bB9765eff8D26c24B9FF0DAa09838a3Cd78E9/metadata.json b/token-metadata/0x5b5bB9765eff8D26c24B9FF0DAa09838a3Cd78E9/metadata.json "symbol": "BI",
"address": "0x5b5bB9765eff8D26c24B9FF0DAa09838a3Cd78E9",
"decimals": 4,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}
... | 3 |
diff --git a/script/s3-deploy.sh b/script/s3-deploy.sh @@ -30,4 +30,6 @@ else
export DEPLOY_DIR
export DEPLOY_ARCHIVE
fi
-disable_parallel_processing=true bundle exec s3_website push --site _site --config-dir config
+disable_parallel_processing=true
+bundle exec s3_website install
+java -cp $(bundle show s3_website)/*.... | 4 |
diff --git a/package.json b/package.json "markdown-it-anchor": "5.2.5",
"markdown-it-table-of-contents": "0.4.4",
"node-fetch": "2.6.0",
- "performance-leaderboard": "1.0.3",
+ "performance-leaderboard": "2.0.0",
"puppeteer": "2.1.1",
"semver": "7.1.3",
"sharp": "0.25.2",
| 3 |
diff --git a/js/xenaQuery.js b/js/xenaQuery.js @@ -111,7 +111,7 @@ function mutationAttrs(list) {
"chr": row.position.chrom,
"start": row.position.chromstart,
"end": row.position.chromend,
- "gene": row.genes[0],
+ "gene": _.getIn(row, ['genes', 0]),
"reference": row.ref,
"alt": row.alt,
"altGene": row.altGene,
| 9 |
diff --git a/README.md b/README.md # Pattern Lab
-
-
[](https://travis-ci.org/pattern-lab/patternlab-node) ![current release](https://img.shields.io/npm/v/@pattern-lab/patternlab-no... | 5 |
diff --git a/sandbox/src/ConfigOverrides.jsx b/sandbox/src/ConfigOverrides.jsx @@ -18,15 +18,15 @@ const defaultOverrides = {
}
};
-const sendEvent = configuration => {
+const sendEvent = datastreamConfigOverrides => {
return window.alloy("sendEvent", {
renderDecisions: true,
- configuration: {
- ...configuration
+ dat... | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.