code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/app/models/taxon.rb b/app/models/taxon.rb @@ -1342,8 +1342,9 @@ class Taxon < ActiveRecord::Base
skip_grafting = options.delete(:skip_grafting)
name = normalize_name(name)
ancestor = options.delete(:ancestor)
+ ratatosk_instance = options.delete(:ratatosk) || ratatosk
external_names = begin
- ratatosk.find... | 11 |
diff --git a/source/app/metrics/index.mjs b/source/app/metrics/index.mjs //Optimize rendering
if ((conf.settings?.optimize)&&(!q.raw)) {
console.debug(`metrics/compute/${login} > optimize`)
- const svgo = new SVGO({full:true, plugins:[{cleanupAttrs:true}, {inlineStyles:false}]})
- const {data:optimized} = await svgo.op... | 4 |
diff --git a/package.json b/package.json "docs:generate": "npm run docs:parse && npm run docs:build:md",
"preinstall": "npm run fetch:ios:sdk",
"test": "npm run lint",
- "lint": "./node_modules/eslint/bin/eslint.js ./javascript/**",
+ "lint": "./node_modules/eslint/bin/eslint.js ./javascript/** ./example/src/**",
"lint... | 3 |
diff --git a/articles/clients/client-types.md b/articles/clients/client-types.md ---
-title: Public and confidential, first vs. third-party clients
+title: Client Types
+description: Read about the the different client types: public vs confidential, and first vs third-party
+toc: true
---
# Client Types
@@ -7,16 +9,16 ... | 3 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -10,7 +10,7 @@ import {world} from './world.js';
import * as universe from './universe.js';
import {rigManager} from './rig.js';
// import {rigAuxManager} from './rig-aux.js';
-import {buildMaterial, highlightMaterial} from './shaders.js';
+import {buildMaterial, ... | 0 |
diff --git a/src/lib/substituteTailwindAtRules.js b/src/lib/substituteTailwindAtRules.js @@ -8,7 +8,7 @@ import escapeClassName from '../util/escapeClassName'
import generateModules from '../util/generateModules'
import wrapWithVariants from '../util/wrapWithVariants'
-function defineSelector(selector, properties) {
+f... | 10 |
diff --git a/.vscode/settings.json b/.vscode/settings.json "[javascript]": {
"editor.formatOnSave": true
},
+ "[scss]": {
+ "editor.defaultFormatter": "stylelint.vscode-stylelint"
+ },
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.fixAll.eslint": true
| 12 |
diff --git a/scripts/components/simple-horizontal-single-select/simple-horizontal-single-select.js b/scripts/components/simple-horizontal-single-select/simple-horizontal-single-select.js @@ -104,7 +104,16 @@ export const SimpleHorizontalSingleSelect = (props) => {
}}
>
{options.map((item, i) => {
- const icon = icons?.... | 11 |
diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml @@ -16,7 +16,7 @@ jobs:
- name: Set up Python 3
uses: actions/setup-python@v1
with:
- python-version: 3
+ python-version: 3.8.13
- name: Install gdal
run: |
| 13 |
diff --git a/client/src/components/views/Targeting/style.scss b/client/src/components/views/Targeting/style.scss .targeting-control {
+ position: relative;
.targetArea {
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
.targets-container {
flex: 1;
overflow-y: scroll;
+ position: relative;
}
.contact-targeting {
dis... | 1 |
diff --git a/src/core/operations/Bzip2Compress.mjs b/src/core/operations/Bzip2Compress.mjs @@ -21,8 +21,8 @@ class Bzip2Compress extends Operation {
this.name = "Bzip2 Compress";
this.module = "Compression";
- this.description = "yeet";
- this.infoURL = "https://en.wikipedia.org/wiki/Bzip2";
+ this.description = "Bzip2... | 0 |
diff --git a/token-metadata/0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2/metadata.json b/token-metadata/0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2/metadata.json "symbol": "MKR",
"address": "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/test/jasmine/tests/gl3d_plot_interact_test.js b/test/jasmine/tests/gl3d_plot_interact_test.js @@ -1218,6 +1218,8 @@ describe('Test gl3d drag and wheel interactions', function() {
expect(aspectratio.x).toBeCloseTo(0.909, 3, 'aspectratio.x');
expect(aspectratio.y).toBeCloseTo(0.909, 3, 'aspectratio.y');
expe... | 7 |
diff --git a/app/controllers/carto/api/records_controller.rb b/app/controllers/carto/api/records_controller.rb @@ -25,9 +25,7 @@ module Carto
end
def create
- primary_key = @stats_aggregator.timing('save') do
- @user_table.service.insert_row!(filtered_row)
- end
+ primary_key = @user_table.service.insert_row!(filtered_... | 2 |
diff --git a/README.md b/README.md @@ -12,7 +12,7 @@ melonJS 2
A fresh, _modern_ & lightweight HTML5 game engine
-------------------------------------------------------------------------------
-
+
melonJS 2 is a mod... | 1 |
diff --git a/README.md b/README.md @@ -37,7 +37,7 @@ Support this project by becoming a sponsor! [Become a sponsor](https://opencolle
</td>
<td align="center" valign="middle">
<a href="https://dev.entando.org/jhipster" target="_blank">
- <img width="200em" src="https://www.jhipster.tech/images/open-collective/Entando_E... | 3 |
diff --git a/src/apis/StyleSheet/index.js b/src/apis/StyleSheet/index.js import flattenStyle from './flattenStyle';
import StyleRegistry from './registry';
+// allow component styles to be editable in React Dev Tools
+if (process.env.NODE_ENV !== 'production') {
+ const { canUseDOM } = require('fbjs/lib/ExecutionEnviro... | 11 |
diff --git a/packages/create-snowpack-app/packages/plugin-parcel/plugin.js b/packages/create-snowpack-app/packages/plugin-parcel/plugin.js @@ -4,6 +4,9 @@ const execa = require("execa");
const npmRunPath = require("npm-run-path");
const { copy } = require("fs-extra");
const cwd = process.cwd();
+const util = require("u... | 4 |
diff --git a/planet.js b/planet.js @@ -128,11 +128,11 @@ export class SubparcelObject {
index += Uint32Array.BYTES_PER_ELEMENT*4;
}
}
- isValid() {
- return this._id[0] !== 0;
- }
- invalidate() {
- this._id[0] = 0;
+ equals(bm) {
+ return this.id === bm.id &&
+ this.subparcel.x === bm.subparcel.x &&
+ this.subparcel.y... | 0 |
diff --git a/modules/syntax.js b/modules/syntax.js @@ -43,17 +43,18 @@ class Syntax extends Module {
}
let timer = null;
this.quill.on(Quill.events.SCROLL_OPTIMIZE, () => {
- if (timer != null) return;
+ clearTimeout(timer);
timer = setTimeout(() => {
this.highlight();
timer = null;
- }, 100);
+ }, options.interval);
}... | 1 |
diff --git a/node-binance-api.js b/node-binance-api.js @@ -543,8 +543,8 @@ LIMIT_MAKER
if ( callback ) callback(balanceData(data));
});
},
- trades: function(symbol, callback) {
- signedRequest(base+'v3/myTrades', {symbol:symbol}, function(data) {
+ trades: function(symbol, callback, options) {
+ signedRequest(base+"v3... | 11 |
diff --git a/src/plugins/Dashboard/index.js b/src/plugins/Dashboard/index.js @@ -43,6 +43,7 @@ module.exports = class DashboardUI extends Plugin {
const defaultOptions = {
target: 'body',
getMetaFromForm: true,
+ trigger: '#uppy-select-files',
inline: false,
width: 750,
height: 550,
| 0 |
diff --git a/src/framework/application.js b/src/framework/application.js @@ -421,6 +421,8 @@ function Application(canvas, options) {
options.graphicsDeviceOptions.xrCompatible = true;
+ options.graphicsDeviceOptions.alpha = options.graphicsDeviceOptions.alpha || false;
+
this.graphicsDevice = new GraphicsDevice(canvas,... | 12 |
diff --git a/token-metadata/0x49184E6dAe8C8ecD89d8Bdc1B950c597b8167c90/metadata.json b/token-metadata/0x49184E6dAe8C8ecD89d8Bdc1B950c597b8167c90/metadata.json "symbol": "LIBERTAS",
"address": "0x49184E6dAe8C8ecD89d8Bdc1B950c597b8167c90",
"decimals": 2,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFI... | 3 |
diff --git a/src/parser/scalar.js b/src/parser/scalar.js @@ -206,7 +206,7 @@ module.exports = {
// check if lookup an offset
// https://github.com/php/php-src/blob/master/Zend/zend_language_parser.y#L1243
if (this.token === "[") {
- name = name(varName, false);
+ name = name(varName, false, false);
node = this.node("of... | 1 |
diff --git a/src/components/DateRangePicker/MonthTable.js b/src/components/DateRangePicker/MonthTable.js @@ -2,6 +2,8 @@ const React = require('react');
const PropTypes = require('prop-types');
const moment = require('moment');
+const { SelectedBox } = require('../../constants/DateRangePicker');
+
class MonthTable exte... | 7 |
diff --git a/changelog/64_UNRELEASED_xxxx.xx.xx.md b/changelog/64_UNRELEASED_xxxx.xx.xx.md - A product picture can now be added when creating a product (was currently only possible when editing a product)
### API
-- Fixed that international characters were not allowed in API query filters
+- Fixed that international ch... | 11 |
diff --git a/src/main/models/id-attribute.js b/src/main/models/id-attribute.js @@ -140,7 +140,7 @@ class IdAttribute extends BaseModel {
}
static async findAllByWalletId(walletId) {
- let attrs = await this.query().where(walletId);
+ let attrs = await this.query().where({ walletId });
return attrs.reduce((acc, attr) =>... | 1 |
diff --git a/deployment_input.json b/deployment_input.json "tokens": {
"OMG": {
"name": "OmiseGO",
- "decimals": 18
+ "decimals": 18,
+ "reserve balance" : 442
},
"DGD": {
"name": "Digix",
- "decimals": 9
+ "decimals": 9,
+ "reserve balance" : 48
},
"CVC": {
"name": "Civic",
- "decimals": 8
+ "decimals": 8,
+ "reserve ... | 12 |
diff --git a/samples/webrtc/js/app.js b/samples/webrtc/js/app.js }
// Call to users
- //
- var pushRecipients = [];
app.currentSession.call({}, function() {
if (!window.navigator.onLine) {
app.currentSession.stop({});
app.helpers.stateBoard.update({'title': 'connect_error', 'isError': 'qb-error'});
} else {
+ sendPushN... | 3 |
diff --git a/app/containers/App/Sidebar/Sidebar.scss b/app/containers/App/Sidebar/Sidebar.scss @@ -50,7 +50,7 @@ $size: 64px;
box-sizing: border-box;
width: $size;
height: $size;
- border-left: 2px solid transparent;
+ border-left: 4px solid transparent;
font-size: 24px;
display: flex;
flex-direction: column;
@@ -74,7 ... | 12 |
diff --git a/package.json b/package.json "documentjs": "^0.4.3",
"dotdotdot": "^1.7.0",
"es6-promise": "^3.0.2",
- "guide-automation": "^0.3.0",
+ "guide-automation": "^0.3.4",
"is-appveyor": "^1.0.0",
"istanbul": "^0.4.2",
"jshint": "^2.8.0",
| 4 |
diff --git a/package.json b/package.json "backstopjs:init": "backstop init --config=backstop.js",
"travis:backstopjs": "backstop test --config=backstop-travis.js --docker",
"screenshot": "storybook-chrome-screenshot -p 9001 -c .storybook",
- "lint:js": "eslint ./**/*.js",
+ "lint:js": "eslint './**/*.js'",
"lint:php": ... | 3 |
diff --git a/OurUmbraco/Our/Examine/OurSearcher.cs b/OurUmbraco/Our/Examine/OurSearcher.cs @@ -73,12 +73,23 @@ namespace OurUmbraco.Our.Examine
? ConfigurationManager.AppSettings[Constants.AppSettings.DocumentationCurrentMajorVersion]
: MajorDocsVersion.ToString();
+ //we filter by this version by excluding the other m... | 1 |
diff --git a/test/util/helpers.js b/test/util/helpers.js -import { promises as fs } from 'fs';
+import fs from 'fs';
+import os from 'os';
import path from 'path';
import sh from 'shelljs';
-import tmp from 'tmp';
const mkTmpDir = () => {
- const dir = tmp.dirSync({ prefix: 'release-it-' });
- return dir.name;
+ const ... | 14 |
diff --git a/public/static/data/ocean-watch.json b/public/static/data/ocean-watch.json },
{
"description": "x% of current sub-basins have a high or extremely high potential of driving coastal eutrophication.",
- "query": "https://wri-rw.carto.com/api/v2/sql?q=SELECT ROUND(value) FROM ocn_024a_rw0_key_biodiversity_area_... | 10 |
diff --git a/package/src/frontend/Consent/index.js b/package/src/frontend/Consent/index.js @@ -30,7 +30,7 @@ export class Consent {
description,
name,
paradigm,
- cookieName: cookieName || 'consent',
+ cookieName: cookieName || 'pageflow_consent',
cookieKey});
}
| 10 |
diff --git a/src/base/FocusCaptureMixin.js b/src/base/FocusCaptureMixin.js -import { firstFocusableElement } from "../core/dom.js";
+import { deepContains, firstFocusableElement } from "../core/dom.js";
import { fragmentFrom } from "../core/htmlLiterals.js";
import ReactiveElement from "../core/ReactiveElement.js"; // ... | 9 |
diff --git a/token-metadata/0x695106Ad73f506f9D0A9650a78019A93149AE07C/metadata.json b/token-metadata/0x695106Ad73f506f9D0A9650a78019A93149AE07C/metadata.json "symbol": "BNS",
"address": "0x695106Ad73f506f9D0A9650a78019A93149AE07C",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/token-metadata/0xE17f017475a709De58E976081eB916081ff4c9d5/metadata.json b/token-metadata/0xE17f017475a709De58E976081eB916081ff4c9d5/metadata.json "symbol": "RMPL",
"address": "0xE17f017475a709De58E976081eB916081ff4c9d5",
"decimals": 9,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/lib/shared/addon/components/cluster-driver/driver-amazoneks/component.js b/lib/shared/addon/components/cluster-driver/driver-amazoneks/component.js @@ -73,9 +73,9 @@ export default Component.extend(ClusterDriver, {
set(this, 'cluster.amazonElasticContainerServiceConfig.accessKey', null);
}
}
+ }
set(this, ... | 12 |
diff --git a/src/og/layer/XYZ.js b/src/og/layer/XYZ.js @@ -222,7 +222,6 @@ class XYZ extends Layer {
}
_getSubdomain() {
- console.time('sub')
this._requestCount++;
return this._s[Math.floor(this._requestCount % (this._requestsPeerSubdomian * this._s.length) / this._requestsPeerSubdomian)];
| 2 |
diff --git a/aleph/search/__init__.py b/aleph/search/__init__.py @@ -203,8 +203,8 @@ class RecordsQuery(Query):
return records_index()
def get_sort(self):
- if len(self.rows) or self.parser.text:
- return self.SORT.get('score')
+ # if len(self.rows) or self.parser.text:
+ # return [{''}]
return super(RecordsQuery, self... | 8 |
diff --git a/assets/js/googlesitekit/data/create-notifications-store.test.js b/assets/js/googlesitekit/data/create-notifications-store.test.js @@ -77,9 +77,9 @@ describe( 'createNotificationsStore store', () => {
} ).toThrow( 'notification is required.' );
} );
- it( 'adds the notification to client notifications', asy... | 2 |
diff --git a/tests/e2e/specs/TaskMarkerFlags.spec.js b/tests/e2e/specs/TaskMarkerFlags.spec.js import {
- assertDownloadedXmlContainsExpected, assertDownloadedXmlDoesNotContainExpected,
- dragFromSourceToDest, uploadXml, waitToRenderNodeUpdates,
+ assertDownloadedXmlContainsExpected,
+ dragFromSourceToDest, uploadXml,
... | 2 |
diff --git a/packages/app/src/components/Admin/MarkdownSetting/LineBreakForm.jsx b/packages/app/src/components/Admin/MarkdownSetting/LineBreakForm.jsx import React from 'react';
import PropTypes from 'prop-types';
-import { withTranslation } from 'react-i18next';
-import loggerFactory from '~/utils/logger';
+import { u... | 14 |
diff --git a/db.js b/db.js @@ -286,10 +286,10 @@ File.prototype.save = function(callback) {
files.insert(that, function(err,records){
if(!err) {
callback(null, records[0]);
+ backupDB(callback);
}
else {
callback(err);
- backupDB(callback);
}
});
}
@@ -342,6 +342,7 @@ File.add = function(friendly_filename, pathname, ca... | 0 |
diff --git a/content/questions/digit-with-dots-in-js/index.md b/content/questions/digit-with-dots-in-js/index.md @@ -23,4 +23,8 @@ console.log(1..n); // ?
This is not a syntax error. Rather, to call a method directly on a `Number.prototype`, two dots are required for it to not be interpreted as a decimal. In this case,... | 0 |
diff --git a/app/scripts/OneDimensionalMixin.js b/app/scripts/OneDimensionalMixin.js @@ -15,17 +15,11 @@ export const OneDimensionalMixin = Mixin(superclass => class extends superclass
// update global max and min if necessary
(this.maxAndMin.max === null || tile.maxValue > this.maxAndMin.max) ?
this.maxAndMin.max = ti... | 1 |
diff --git a/package.json b/package.json },
"scripts": {
"test": "npm run --silent lint && npm run unit-testing && npm run functional-testing",
- "unit-testing": "nyc --reporter=text --reporter=lcov mocha",
+ "unit-testing": "nyc --reporter=text-summary --reporter=lcov mocha",
"functional-testing": "npm run cucumber",
... | 4 |
diff --git a/docs/walkthrough/walkthrough-istio.md b/docs/walkthrough/walkthrough-istio.md @@ -11,7 +11,7 @@ This guide walks you through installing a working Tekton Dashboard locally from
* [Installing Tekton Pipelines](#installing-tekton-pipelines)
* [Installing Tekton Dashboard](#installing-tekton-dashboard)
* [Sett... | 1 |
diff --git a/articles/applications/reference/wildcard-subdomains.md b/articles/applications/reference/wildcard-subdomains.md @@ -24,8 +24,6 @@ You can use the star symbol (`*`) as a wildcard for subdomains, but it must be u
* The protocol of the URL **must** be `http:` or `https:`. `com.example.app://*.example.com` wil... | 2 |
diff --git a/js/jbrowse/circularViewUtils.js b/js/jbrowse/circularViewUtils.js import {getChrColor} from "../bam/bamTrack.js";
import Locus from "../locus.js";
-import CircularView from "../../node_modules/circular-view/js/circularView.js";
-import IGVColor from "../../node_modules/igv-utils/src/igv-color.js";
+import ... | 4 |
diff --git a/static/css/hikaya-bootstrap.css b/static/css/hikaya-bootstrap.css .btn-close {
- color: #25ced1;
+ color: #737581;
background-color: transparent;
- border-color: #25ced1;
+ border-color: #ffffff;
}
.btn-close:focus,
.btn-close.focus {
- color: #333;
+ color: #737581;
background-color: transparent;
- border... | 3 |
diff --git a/token-metadata/0x80d211718f9B9Ba31959a14328Acd8D8c9d5382f/metadata.json b/token-metadata/0x80d211718f9B9Ba31959a14328Acd8D8c9d5382f/metadata.json "symbol": "PLM",
"address": "0x80d211718f9B9Ba31959a14328Acd8D8c9d5382f",
"decimals": 6,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/src/main/webapp/resources/js/viewer/controller.js b/src/main/webapp/resources/js/viewer/controller.js @@ -338,7 +338,7 @@ function Controller(bookID, accessible_modes, canvasID, regionColors, colors, gl
this._setPage(pages[index], result);
}
this.displayPage(pages[0])
- Materialize.toast("Batch segmentatio... | 14 |
diff --git a/packages/app-project/pages/_app.js b/packages/app-project/pages/_app.js @@ -38,7 +38,7 @@ export default class MyApp extends App {
if (pageProps.isServer) {
// cookie is in the next.js context req object
- const mode = getCookie(context, 'mode') || ''
+ const mode = getCookie(context, 'mode') || undefined
... | 12 |
diff --git a/lib/exposes.js b/lib/exposes.js @@ -301,7 +301,7 @@ class Cover extends Base {
super();
this.type = 'cover';
this.features = [];
- this.features.push(new Binary('state', access.STATE_SET, 'OPEN', 'CLOSE'));
+ this.features.push(new Enum('state', access.STATE_SET, ['OPEN', 'CLOSE', 'STOP']));
}
withPosition... | 7 |
diff --git a/src/events/http/HttpServer.js b/src/events/http/HttpServer.js @@ -501,11 +501,19 @@ export default class HttpServer {
lambdaFunction.setEvent(event)
- const processResponse = (err, data) => {
+ let result
+ let err
+
+ try {
+ result = await lambdaFunction.runHandler()
+ } catch (_err) {
+ err = _err
+ }
+... | 2 |
diff --git a/token-metadata/0xD29F0b5b3F50b07Fe9a9511F7d86F4f4bAc3f8c4/metadata.json b/token-metadata/0xD29F0b5b3F50b07Fe9a9511F7d86F4f4bAc3f8c4/metadata.json "symbol": "LQD",
"address": "0xD29F0b5b3F50b07Fe9a9511F7d86F4f4bAc3f8c4",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js @@ -1493,7 +1493,8 @@ RED.subflow = (function() {
var entry = $(this);
var item = entry.data('data');
var name = (item.parent?item.name:item.nameField.val()).trim();
- if ... | 11 |
diff --git a/README.md b/README.md @@ -113,6 +113,8 @@ Then to debug:
## Generating test data
+> Note: You do not need to do this if you are just getting your environment set up. This is for filling the remote CMS with mock data for testing purposes.
+
In order to fill the test CMS space with test data you can use our ... | 0 |
diff --git a/assets/js/api-fetch-shim.js b/assets/js/api-fetch-shim.js */
import apiFetch from '@wordpress/api-fetch__non-shim';
-if ( global._apiFetch === undefined ) {
- global._apiFetch = apiFetch;
-
+if ( global._apiFetchRootURL || global._apiFetchNonceMiddleware ) {
if ( global._apiFetchRootURL ) {
apiFetch.use( a... | 2 |
diff --git a/lib/assets/core/javascripts/cartodb3/components/onboardings/analysis/analyses/centroid.tpl b/lib/assets/core/javascripts/cartodb3/components/onboardings/analysis/analyses/centroid.tpl <p class="CDB-Text Onboarding-description">
<%- _t('analyses-onboarding.centroid.description') %>
</p>
\ No newline at end ... | 2 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -58,7 +58,6 @@ osx-build:
stage: build
<<: *branches
script:
- - rm -rf packages/fether-electron/dist
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn install
| 2 |
diff --git a/README.md b/README.md @@ -55,7 +55,7 @@ Additional builds on [hipster-labs/jhipster-travis-build](https://github.com/hip
[sonar-coverage]: https://sonarcloud.io/api/project_badges/measure?project=io.github.jhipster.sample%3Ajhipster-sample-application&metric=coverage
[sonar-bugs]: https://sonarcloud.io/api... | 4 |
diff --git a/lib/determine-basal/determine-basal.js b/lib/determine-basal/determine-basal.js @@ -229,9 +229,16 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_
// CI = current carb impact on BG in mg/dL/5m
ci = round((minDelta - bgi),1);
uci = round((minAvgDelta - bgi),1);
+ // ISF (m... | 12 |
diff --git a/src/style_manager/model/Property.js b/src/style_manager/model/Property.js @@ -201,7 +201,8 @@ const Property = Backbone.Model.extend(
}
if (fn && hasValue) {
- value = `${fn}(${value})`;
+ const fnParameter = fn === 'url' ? `'${value}'` : value;
+ value = `${fn}(${fnParameter})`;
}
if (hasValue && this.get... | 9 |
diff --git a/pages/_/marketing-candidate/new-index.js b/pages/_/marketing-candidate/new-index.js @@ -125,43 +125,34 @@ const STYLES_FILETYPE = css`
const STYLES_VIDEO_BIG = css`
margin: 48px auto 88px auto;
- border-radius: 8px;
+ border-radius: 4px;
width: 100%;
height: auto;
box-shadow: 0px 10px 50px 20px rgba(0, 0, ... | 3 |
diff --git a/core/server/api/v3/slugs.js b/core/server/api/v3/slugs.js const models = require('../../models');
-const i18n = require('../../../shared/i18n');
+const tpl = require('@tryghost/tpl');
const errors = require('@tryghost/errors');
+const messages = {
+ couldNotGenerateSlug: 'Could not generate slug.'
+};
cons... | 14 |
diff --git a/node-red-contrib-google-speech/package.json b/node-red-contrib-google-speech/package.json "author": "Jean-Philippe Encausse <jp@encausse.net> (http://encausse.net/)",
"description": "Wrapper of Google Speech Recognition",
"dependencies": {
- "@google-cloud/speech": "^0.10.2",
+ "@google-cloud/speech": "~0.... | 4 |
diff --git a/token-metadata/0xC11b1268C1A384e55C48c2391d8d480264A3A7F4/metadata.json b/token-metadata/0xC11b1268C1A384e55C48c2391d8d480264A3A7F4/metadata.json "symbol": "CWBTC",
"address": "0xC11b1268C1A384e55C48c2391d8d480264A3A7F4",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/README.md b/README.md @@ -314,8 +314,8 @@ TestCafe developers and community members made these plugins:
* **Cucumber Support**<br/>
Create and run tests that use the Cucumber syntax.
- * [gherkin-testcafe](https://github.com/kiwigrid/gherkin-testcafe) (by [@kiwigrid](https://github.com/kiwigrid)) - run you... | 3 |
diff --git a/contributors.json b/contributors.json "linkedin": "https://www.linkedin.com/in/vinmaynair",
"name": "Vinmay Nair"
},
+ "vivekboss99": {
+ "country": "India",
+ "linkedin": "https://www.linkedin.com/in/sai-vivek-amirishetty-463a99b7/",
+ "name": "Sai Vivek Amirishetty",
+ "twitter": "https://twitter.com/SAI... | 3 |
diff --git a/src/components/ActionSelect/ActionSelect.jsx b/src/components/ActionSelect/ActionSelect.jsx @@ -18,7 +18,7 @@ export class ActionSelect extends React.PureComponent {
this.state = {
isOpen: props.isOpen,
resizeCount: 0,
- selectedItem: props.selectedItem || null,
+ selection: props.selectedItem || null,
}
}... | 10 |
diff --git a/lib/plugins/aws/invokeLocal/index.js b/lib/plugins/aws/invokeLocal/index.js @@ -184,7 +184,15 @@ class AwsInvokeLocal {
invokeLocalPython(runtime, handlerPath, handlerName, event, context) {
const input = JSON.stringify({
event: event || {},
- context,
+ context: Object.assign(
+ {
+ name: this.options.fun... | 12 |
diff --git a/token-metadata/0xb2A01Ad9738450f082e5238e43b17fE80781FaAE/metadata.json b/token-metadata/0xb2A01Ad9738450f082e5238e43b17fE80781FaAE/metadata.json "symbol": "FDT",
"address": "0xb2A01Ad9738450f082e5238e43b17fE80781FaAE",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/scripts/release/shared-commands/get-build-id-for-commit.js b/scripts/release/shared-commands/get-build-id-for-commit.js @@ -23,8 +23,15 @@ async function getBuildIdForCommit(sha) {
);
if (!statusesResponse.ok) {
+ if (statusesResponse.status === 404) {
throw Error('Could not find commit for: ' + sha);
}
+ ... | 9 |
diff --git a/src/sections/Projects/index.js b/src/sections/Projects/index.js @@ -25,7 +25,7 @@ const Projects = () => {
<div className="project__block__inner">
<img src={projectImage1} alt="appion project" />
<h3>Landscape</h3>
- <p>Service Mesh Ecosystem</p>
+ <p>Service Mesh <br />Ecosystem</p>
<Link to="#">
<img src... | 1 |
diff --git a/desktop/core/library/_midi.js b/desktop/core/library/_midi.js @@ -21,7 +21,7 @@ function OperatorMidi (orca, x, y, passive) {
let rawOctave = this.listen(this.ports.input.octave, true)
let rawNote = this.listen(this.ports.input.note)
- if (rawOctave === 0 || rawOctave > 8 || rawNote === '.') { return }
+ i... | 1 |
diff --git a/packages/app/src/interfaces/page.ts b/packages/app/src/interfaces/page.ts @@ -62,17 +62,20 @@ export type IPageInfoForListing = IPageInfoForEntity & HasRevisionShortbody;
export type IPageInfoAll = IPageInfo | IPageInfoForEntity | IPageInfoForOperation | IPageInfoForListing;
-export const isIPageInfoForEnt... | 7 |
diff --git a/package.json b/package.json {
- "name": "apollo-fullstack-starter-kit",
+ "name": "apollo-universal-starter-kit",
"private": true,
"version": "1.0.0",
"main": "src/server",
},
"repository": {
"type": "git",
- "url": "git@github.com:sysgears/apollo-fullstack-starter-kit.git"
+ "url": "git@github.com:sysgear... | 10 |
diff --git a/html/base/link.stories.js b/html/base/link.stories.js @@ -10,7 +10,7 @@ export default {
},
};
-export const defaultLink = () => (
+export const defaultStory = () => (
`
<a
class="sprk-b-Link"
@@ -23,7 +23,7 @@ export const defaultLink = () => (
`
);
-defaultLink.story = {
+defaultStory.story = {
name: 'De... | 3 |
diff --git a/README.md b/README.md @@ -44,10 +44,10 @@ and import plotly.js as `import Plotly from 'plotly.js-dist';` or `var Plotly =
```html
<!-- Latest compiled and minified plotly.js JavaScript -->
-<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
+<script src="https://cdn.plot.ly/plotly-latest.min.... | 3 |
diff --git a/src/js/modules/export.js b/src/js/modules/export.js @@ -26,6 +26,9 @@ Export.prototype.genereateTable = function(config, style, range, colVisProp){
Export.prototype.rowLookup = function(range){
var rows = [];
+ if(typeof range == "function"){
+ rows = range();
+ }{
switch(range){
case true:
case "visible":... | 11 |
diff --git a/lod.js b/lod.js @@ -388,12 +388,17 @@ const sortTasks = (tasks, worldPosition) => {
return a.distance - b.distance;
});
return taskDistances.map(taskDistance => taskDistance.task);
+}; */
+const TrackerTaskTypes = {
+ ADD: 1,
+ REMOVE: 2,
+ OUTRANGE: 3,
};
const updateChunks = (oldChunks, tasks) => {
const... | 0 |
diff --git a/articles/tutorials/get-user-information-with-unbounce-landing-pages.md b/articles/tutorials/get-user-information-with-unbounce-landing-pages.md @@ -22,17 +22,15 @@ You should configure the Client ID and Secret for each social connection.
* Add a new JavaScript to your Unbounce landing page, select `Before ... | 3 |
diff --git a/bl-kernel/tag.class.php b/bl-kernel/tag.class.php @@ -9,13 +9,11 @@ class Tag {
global $tags;
if (isset($tags->db[$key])) {
$this->vars['name'] = $tags->db[$key]['name'];
- $this->vars['template'] = $tags->db[$key]['template'];
- $this->vars['description'] = $tags->db[$key]['description'];
$this->vars['key... | 2 |
diff --git a/test/test.js b/test/test.js @@ -274,21 +274,38 @@ describe( 'Random intersections comparison', () => {
let scene = null;
let raycaster = null;
- let geometry = null;
- let boundsTree = null;
+ let ungroupedGeometry = null;
+ let ungroupedBvh = null;
+ let groupedGeometry = null;
+ let groupedBvh = null;
+
... | 0 |
diff --git a/Source/Scene/WebMapServiceImageryProvider.js b/Source/Scene/WebMapServiceImageryProvider.js @@ -188,7 +188,7 @@ function WebMapServiceImageryProvider(options) {
* If the getFeatureInfo url is specified in the parameters (featureurl),
* we should use it instead of the url
*/
- if (defined(options.parameters... | 1 |
diff --git a/articles/server-platforms/aspnet/01-login.md b/articles/server-platforms/aspnet/01-login.md @@ -25,8 +25,7 @@ ${snippet(meta.snippets.dependencies)}
## Configure Callback URLs
-<div class="setup-callback">
-<p>After authenticating the user on Auth0, we will do a POST to the `/LoginCallback.ashx` URL on you... | 2 |
diff --git a/modules/@apostrophecms/login/index.js b/modules/@apostrophecms/login/index.js @@ -388,7 +388,7 @@ module.exports = {
async enableBearerTokens() {
self.bearerTokens = self.apos.db.collection('aposBearerTokens');
- await self.bearerTokens.ensureIndex({ expires: 1 }, { expireAfterSeconds: 0 });
+ await self.b... | 4 |
diff --git a/src/controllers/lsats.ts b/src/controllers/lsats.ts import { Lsat } from 'lsat-js'
import { models } from '../models'
-import { logging } from '../utils/logger'
+import { logging, sphinxLogger } from '../utils/logger'
import { failure, success } from '../utils/res'
import * as Lightning from '../grpc/light... | 3 |
diff --git a/server/preprocessing/other-scripts/linkedcat.R b/server/preprocessing/other-scripts/linkedcat.R @@ -73,6 +73,8 @@ get_papers <- function(query, params, limit=100) {
metadata$oa_state <- 1
metadata$subject_orig = metadata$subject
metadata$relevance = c(nrow(metadata):1)
+ metadata$bkl_caption = unlist(lappl... | 3 |
diff --git a/src/cljs_api_gen/options.clj b/src/cljs_api_gen/options.clj (:require
[clansi.core :refer [style]]
[clojure.string :refer [split-lines]]
+ [clojure.set :refer [difference]]
[cljs-api-gen.read :refer [read-all-ns-forms]]
[cljs-api-gen.repo-cljs :refer [with-version! published-cljs-tags]]))
:compiler-stats {... | 8 |
diff --git a/package-lock.json b/package-lock.json "dependencies": {
"buffers": "~0.1.1",
"chainsaw": "~0.1.0"
- },
- "engines": {
- "node": "*"
}
},
"node_modules/binary-extensions": {
"dev": true,
"dependencies": {
"traverse": ">=0.3.0 <0.4"
- },
- "engines": {
- "node": "*"
}
},
"node_modules/chainsaw/node_modules/t... | 6 |
diff --git a/app/src/renderer/vuex/modules/delegation.js b/app/src/renderer/vuex/modules/delegation.js @@ -40,6 +40,7 @@ export default ({ node }) => {
},
setUnbondingDelegations(state, unbondingDelegations) {
state.unbondingDelegations = unbondingDelegations
+ ? unbondingDelegations
// building a dict from the array a... | 3 |
diff --git a/package.json b/package.json "react-dom": ">=15.4.1",
"react-hot-loader": "^1.2.7",
"react-test-renderer": "^15.4.1",
- "sinon": "^1.17.3",
- "sinon-chai": "^2.8.0",
+ "sinon": "^2.3.5",
+ "sinon-chai": "^2.11.0",
"string-replace-webpack-plugin": "^0.1.2",
"style-loader": "^0.16.0",
"webpack": "^1.13.3",
| 3 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -455,6 +455,9 @@ metaversefile.setApi({
removeObject() {
return world.appManager.removeObject.apply(world.appManager, arguments);
}, */
+ getApps() {
+ return world.appManager.apps;
+ },
getLights() {
return world.lights;
},
| 0 |
diff --git a/src/encoded/audit/experiment.py b/src/encoded/audit/experiment.py @@ -832,7 +832,7 @@ def check_experiment_dnase_seq_standards(experiment,
file_names.append(f['@id'].split('/')[2])
file_names_string = str(file_names).replace('\'', ' ')
- detail = 'Alignment file(s) ( {} ) '.format(file_names_string) + \
+ ... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.