code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/spec/widgets/time-series/torque-time-slider-view.spec.js b/spec/widgets/time-series/torque-time-slider-view.spec.js @@ -25,10 +25,10 @@ describe('widgets/time-series/torque-time-slider-view', function () {
});
this.histogramChartMargins = {
- top: 1,
- right: 2,
- bottom: 3,
- left: 4
+ top: 0,
+ right: 0,... | 12 |
diff --git a/frontend/imports/ui/client/widgets/sendtokens.js b/frontend/imports/ui/client/widgets/sendtokens.js @@ -70,13 +70,13 @@ Template.sendtokens.viewmodel({
$('#transferconfirmation').modal('show');
$('#transferconfirmation').on('transfer:confirmed', (event) => {
event.stopPropagation();
- _transfer(transaction... | 10 |
diff --git a/generators/client/templates/vue/package.json.ejs b/generators/client/templates/vue/package.json.ejs @@ -31,10 +31,10 @@ limitations under the License.
"@fortawesome/free-solid-svg-icons": "5.11.2",
"@fortawesome/vue-fontawesome": "0.1.8",
"axios": "0.19.0",
- "bootstrap": "4.3.1",
- "bootstrap-vue": "2.0.4... | 3 |
diff --git a/src/algorithms/model.test.ts b/src/algorithms/model.test.ts @@ -6,6 +6,8 @@ import { evolve } from './model'
import { ageDisstribution, allParamsFlat, severity } from './__test_data__/getPopulationParams.input.default'
+import { toBeCloseToNumber } from './utils/jest-extensions'
+
const identity = (x: numb... | 14 |
diff --git a/assets/js/components/adminbar/common.stories.js b/assets/js/components/adminbar/common.stories.js @@ -35,8 +35,8 @@ const adminbarSearchConsoleOptions = {
url: 'https://www.sitekitbygoogle.com/blog/',
};
-const adminbarAnalyticsMockData = [
- // Mock options for isGatheringData selector
+const adminbarAnal... | 10 |
diff --git a/plugins/identity/app/views/identity/projects/_wizard_steps.html.haml b/plugins/identity/app/views/identity/projects/_wizard_steps.html.haml = wizard_step({title: 'Cost Center',
mandatory: true,
status: 'pending'}) do
- %p The Cost Center service is currently unavailable.
+ %p The Billing service is current... | 7 |
diff --git a/packages/app/src/test/setup-crowi.js b/packages/app/src/test/setup-crowi.js @@ -2,21 +2,17 @@ import Crowi from '~/server/crowi';
let _instance = null;
-async function createInstance() {
+async function getInstance(isNewInstance) {
+ if (isNewInstance) {
const crowi = new Crowi();
await crowi.initForTest()... | 7 |
diff --git a/assets/js/modules/analytics/util/account.test.js b/assets/js/modules/analytics/util/account.test.js * limitations under the License.
*/
-import { getAccountDefaults } from './account';
+/**
+ * Internal dependencies
+ */
+import * as accountUtils from './account';
describe( 'getAccountDefaults', () => {
co... | 4 |
diff --git a/INSTALL.md b/INSTALL.md -# Installing Windshaft-CartoDB #
+# Installing Windshaft-CartoDB
+
+## Requirements
-## Requirements ##
Make sure that you have the requirements needed. These are:
-- Core
- Node 10.x
- npm 6.x
- gcc 4.9
@@ -13,7 +13,8 @@ Make sure that you have the requirements needed. These are:
... | 7 |
diff --git a/js/core/bis_bidsutils.js b/js/core/bis_bidsutils.js @@ -157,7 +157,6 @@ let dicom2BIDS = async function (opts) {
//separate date string into individual chunks
let year = date.substring(0, 4), month = date.substring(4, 6), day = date.substring(6, 8), hour = date.substring(8, 10), minute = date.substring(10,... | 3 |
diff --git a/src/renderer/geometry/symbolizers/TextMarkerSymbolizer.js b/src/renderer/geometry/symbolizers/TextMarkerSymbolizer.js @@ -111,7 +111,7 @@ export default class TextMarkerSymbolizer extends PointSymbolizer {
'textWrapWidth': getValueOrDefault(s['textWrapWidth'], null),
'textWrapBefore': getValueOrDefault(s['... | 12 |
diff --git a/bin/resources/app/index-live.html b/bin/resources/app/index-live.html <link id="project-style" rel="stylesheet" />
<style id="project-style-inline"></style>
<style id="tree-thumbs"></style>
+ <script type="text/javascript">
+ if (document.location.host == "yal.cc") {
+ if (location.protocol == "http:") {
+... | 1 |
diff --git a/lib/tedious/request.js b/lib/tedious/request.js @@ -600,7 +600,7 @@ class Request extends BaseRequest {
row.push(col.value)
} else {
const exi = row[col.metadata.colName]
- if (exi != null) {
+ if (exi !== undefined) {
if (exi instanceof Array) {
exi.push(col.value)
} else {
| 11 |
diff --git a/articles/connections/references/options-mgmt-api.md b/articles/connections/references/options-mgmt-api.md @@ -20,7 +20,6 @@ The following elements are available for the `options` attribute. These are opti
| `passwordPolicy` | string | The strength level of the password. Allowed values include `none`, `low`... | 2 |
diff --git a/config/passport.js b/config/passport.js @@ -36,6 +36,9 @@ passport.use(new LocalStrategy({ usernameField: 'email' }, (email, password, don
if (!user) {
return done(null, false, { msg: `Email ${email} not found.` });
}
+ if (!user.password) {
+ return done(null, false, { msg: 'Your account was registered us... | 9 |
diff --git a/app/pages/project/workflow-selection-classroom.jsx b/app/pages/project/workflow-selection-classroom.jsx @@ -6,9 +6,22 @@ import { WorkflowSelection } from './workflow-selection';
export class ClassroomWorkflowSelection extends WorkflowSelection {
getSelectedWorkflow(props) {
- const { actions, locale, loca... | 11 |
diff --git a/assets/js/modules/analytics/datastore/accounts.js b/assets/js/modules/analytics/datastore/accounts.js @@ -41,6 +41,7 @@ const CATCH_FETCH_CREATE_ACCOUNT = 'CATCH_FETCH_CREATE_ACCOUNT';
export const INITIAL_STATE = {
accounts: undefined,
isFetchingAccountsPropertiesProfiles: false,
+ isCreatingAccount: fals... | 7 |
diff --git a/packages/build/src/error/monitor/normalize.js b/packages/build/src/error/monitor/normalize.js @@ -34,8 +34,10 @@ const normalizeMessage = function(message, [regExp, replacement]) {
}
const NORMALIZE_REGEXPS = [
+ // Base64 URL
+ [/(data:[^;]+;base64),[\w+/-]+/g, 'dataURI'],
// File paths
- [/(["'`, ]|^)([^... | 7 |
diff --git a/vis/js/canvas.js b/vis/js/canvas.js @@ -289,16 +289,14 @@ class Canvas {
let time_macro = (config.service === "doaj")?("yyyy"):("d mmm yyyy");
$("#timespan").html(
- ((this.paramExists(context.params.from))?(dateFormat(new Date(context.params.from), "d mmm yyyy")):(""))
- + " - " + ((this.paramExists(conte... | 1 |
diff --git a/source/transfers/test/TransferHandlerRegistry.js b/source/transfers/test/TransferHandlerRegistry.js @@ -699,7 +699,7 @@ contract('TransferHandlerRegistry', async accounts => {
sender: {
wallet: bobAddress,
token: tokenDAI.address,
- param: 100,
+ amount: 100,
},
})
@@ -762,7 +762,7 @@ contract('TransferHan... | 10 |
diff --git a/utils/entity.js b/utils/entity.js @@ -162,32 +162,37 @@ function prepareEntityForTemplates(entityWithConfig, generator) {
hasBuiltInUserField &&
entityWithConfig.dto === 'no';
- entityWithConfig.derivedPrimaryKey = entityWithConfig.relationships.some(relationship => relationship.useJPADerivedIdentifier ===... | 11 |
diff --git a/client/src/components/viewscreens/TacticalMap/index.js b/client/src/components/viewscreens/TacticalMap/index.js @@ -206,18 +206,13 @@ class TacticalMapViewscreen extends Component {
const selectedTacticalMap = this.props.data.tacticalMaps.find(
t => t.id === tacticalMapId
);
- const { cardName } = this.pro... | 1 |
diff --git a/index.js b/index.js @@ -21,7 +21,7 @@ const runMiddlewares = (middlewares, ctx, done) => {
runNext()
}
-const onErrorMiddlewares = (middlewares, ctx, done) => {
+const runErrorMiddlewares = (middlewares, ctx, done) => {
const stack = Array.from(middlewares)
const runNext = (err) => {
try {
@@ -69,7 +69,7 @... | 10 |
diff --git a/token-metadata/0x177BA0cac51bFC7eA24BAd39d81dcEFd59d74fAa/metadata.json b/token-metadata/0x177BA0cac51bFC7eA24BAd39d81dcEFd59d74fAa/metadata.json "symbol": "KIF",
"address": "0x177BA0cac51bFC7eA24BAd39d81dcEFd59d74fAa",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/generators/server/index.js b/generators/server/index.js @@ -469,7 +469,7 @@ module.exports = class JHipsterServerGenerator extends BaseBlueprintGenerator {
'java:war': './gradlew bootWar -Pwar -x test -x integrationTest',
'java:docker': './gradlew bootJar jibDockerBuild',
'backend:unit:test': `./gradlew te... | 11 |
diff --git a/server/services/searchLinkedCatAuthorview.php b/server/services/searchLinkedCatAuthorview.php @@ -14,9 +14,9 @@ $post_params = $_POST;
$result = search("linkedcat_authorview",
$dirty_query,
$post_params,
- array("author_name", "doc_count", "living_dates", "image_link"),
+ array("author_id", "doc_count", "l... | 13 |
diff --git a/core/algorithm-builder/environments/java/runJava.sh b/core/algorithm-builder/environments/java/runJava.sh @@ -10,4 +10,4 @@ else
fi
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/x86_64-linux-gnu/jni/
-java -Xms${MIN_MEM} -Xmx${MAX_MEM} -jar wrapper.jar algorithm_unique_folder/encapsulated-algorithm.ja... | 11 |
diff --git a/src/core/xfa/xhtml.js b/src/core/xfa/xhtml.js @@ -107,13 +107,14 @@ const StyleMapping = new Map([
["margin-top", value => measureToString(getMeasurement(value))],
["text-indent", value => measureToString(getMeasurement(value))],
["font-family", value => value],
+ ["vertical-align", value => measureToStrin... | 9 |
diff --git a/src/parsers/GmlSeeker.hx b/src/parsers/GmlSeeker.hx @@ -183,12 +183,7 @@ class GmlSeeker {
};
case '"'.code, "'".code, "`".code, "@".code: row += q.skipStringAuto(c, v);
case "#".code: {
- while (q.loop) {
- c = q.peek();
- if (c.isIdent1()) {
- q.skip();
- } else break;
- }
+ q.skipIdent1();
if (q.pos > s... | 1 |
diff --git a/packages/material-ui-shell/src/containers/ResponsiveMenu/ResponsiveMenu.js b/packages/material-ui-shell/src/containers/ResponsiveMenu/ResponsiveMenu.js @@ -59,6 +59,7 @@ const ResponsiveMenu = ({ children, width }) => {
const classes = useStyles()
const { isRTL } = useAppTheme()
const {
+ toggleThis,
isDes... | 1 |
diff --git a/karma.conf.js b/karma.conf.js @@ -221,7 +221,7 @@ module.exports = function(config) {
sauceLabs: {
recordScreenshots: false,
connectOptions: {
- port: 5757,
+ // port: 5757,
logfile: 'sauce_connect.log'
},
public: 'public'
| 1 |
diff --git a/aura-components/src/main/components/ui/tabBar/tabBarHelper.js b/aura-components/src/main/components/ui/tabBar/tabBarHelper.js if (cmp.isValid()) {
helper.adjustOverflow(cmp);
}
- })
- );
+ }));
+ } else if (barWidth === 0 && overflowData.barWidth === 0) {
+ // Edge case, should hide the overflow menu when ... | 9 |
diff --git a/app/assets/stylesheets/pageflow/ui/properties.scss b/app/assets/stylesheets/pageflow/ui/properties.scss --ui-backdrop-color: rgba(6, 32, 42, 0.6);
--ui-on-surface-color: hsl(197, 26%, 23%);
- --ui-on-surface-color-light: hsla(197, 26%, 23%, 0.6);
+ --ui-on-surface-color-light: hsla(197, 26%, 23%, 0.8);
--u... | 7 |
diff --git a/server/server.js b/server/server.js @@ -53,7 +53,7 @@ class Server {
cookie: {
maxAge: config.cookieLifetime,
secure: config.https,
- httpOnly: true,
+ httpOnly: false,
domain: config.domain
},
name: 'sessionId'
| 12 |
diff --git a/src/pages/settings/AppDownloadLinks.js b/src/pages/settings/AppDownloadLinks.js @@ -7,15 +7,25 @@ import CONST from '../../CONST';
import * as Expensicons from '../../components/Icon/Expensicons';
import ScreenWrapper from '../../components/ScreenWrapper';
import withLocalize, {withLocalizePropTypes} from ... | 11 |
diff --git a/includes/Core/Authentication/Profile.php b/includes/Core/Authentication/Profile.php @@ -112,13 +112,7 @@ final class Profile {
*/
private function retrieve_google_profile_from_api() {
- // Fall back to the user's WordPress profile information.
- $current_user = wp_get_current_user();
- $profile_data = arra... | 2 |
diff --git a/src/components/dashboard/Send.js b/src/components/dashboard/Send.js @@ -45,10 +45,10 @@ const validate = to => {
return `Needs to be a valid address, email or mobile phone`
}
-const ContinueButton = ({ screenProps, to, disabled, onPress }) => (
+const ContinueButton = ({ screenProps, to, disabled, checkErr... | 7 |
diff --git a/vis/js/io.js b/vis/js/io.js @@ -446,7 +446,10 @@ IO.prototype = {
return;
}
- let full_query = context.query;
+ let original_query = context.query;
+
+ //Replace terms within square brackets, as they denote fields in PubMed
+ let full_query = original_query.replace(/\[(.*?)\]/g, '');
//let query_wt_exclusi... | 14 |
diff --git a/edit.js b/edit.js @@ -35,7 +35,6 @@ import easing from './easing.js';
import {planet} from './planet.js';
import {player} from './player.js';
import {Bot} from './bot.js';
-// import './atlaspack.js';
import {Sky} from './Sky.js';
import {GuardianMesh} from './land.js';
| 2 |
diff --git a/Source/Scene/GroundPolylinePrimitive.js b/Source/Scene/GroundPolylinePrimitive.js @@ -101,9 +101,7 @@ define([
*
* scene.groundPrimitives.add(new Cesium.GroundPolylinePrimitive({
* geometryInstances : instance,
- * appearance : new Cesium.PolylineMaterialAppearance({
- * material : Cesium.Material.fromType... | 7 |
diff --git a/core/field_bound_variable.js b/core/field_bound_variable.js @@ -424,13 +424,14 @@ Blockly.FieldBoundVariable.prototype.render_ = function() {
this.textElement_.setAttribute('x', left);
this.borderRect_.setAttribute('x', -Blockly.BlockSvg.SEP_SPACE_X / 2 + left);
+ var xy = new goog.math.Coordinate(0, 0);
+... | 12 |
diff --git a/bids-validator/utils/unit.js b/bids-validator/utils/unit.js @@ -119,13 +119,14 @@ const superscriptNumbers = [
'\u2078',
'\u2079',
]
+const superscriptNegative = '\u207B'
const start = '^'
const end = '$'
const prefix = `(${prefixes.join('|')})?`
const root = `(${roots.join('|')})`
-const superscriptExp = ... | 11 |
diff --git a/packages/live-server/index.js b/packages/live-server/index.js @@ -320,7 +320,11 @@ LiveServer.start = function(options) {
clients.push(ws);
});
- var ignored = [];
+ var ignored = [
+ function(testPath) { // Always ignore dotfiles (important e.g. because editor hidden temp files)
+ return /(^[.#]|(?:__|~)$... | 8 |
diff --git a/_templates/api-story-card/with-prompt/src/components/index.ejs.t b/_templates/api-story-card/with-prompt/src/components/index.ejs.t @@ -48,10 +48,10 @@ export default connect(
data: {
// FIXME: mockRidershipOverTime should be a variable
mockRidershipOverTime: api.selectors.getMockRidershipData(
- state.<%=... | 3 |
diff --git a/src/components/Player/Pages/Overview/Summary.jsx b/src/components/Player/Pages/Overview/Summary.jsx @@ -108,7 +108,7 @@ const SummOfRecMatches = ({ matchesData }) => {
{key === 'duration' ? formatSeconds(c.avg) : abbreviateNumber(c.avg)}
<span>{key === 'duration' ? formatSeconds(c.max.value) : abbre... | 1 |
diff --git a/config/router.config.js b/config/router.config.js @@ -100,12 +100,7 @@ export default [
name: 'EnterpriseSetting',
authority: ['admin', 'user']
},
- {
- path: '/enterprise/:eid/shared/:marketName',
- component: './EnterpriseShared',
- name: 'EnterpriseShared',
- authority: ['admin', 'user']
- },
+
{
path: ... | 1 |
diff --git a/lib/alexaSmartHomeV2.js b/lib/alexaSmartHomeV2.js @@ -308,7 +308,7 @@ function AlexaSH2(adapter) {
friendlyName: friendlyNames[n],
friendlyDescription: friendlyDescription,
isReachable: true,
- actions: actions,
+ actions: JSON.parse(JSON.stringify(actions)),
additionalApplianceDetails: {
id: id.substring(... | 4 |
diff --git a/lib/assets/javascripts/new-dashboard/store/index.js b/lib/assets/javascripts/new-dashboard/store/index.js @@ -11,8 +11,6 @@ import search from './modules/search';
import notifications from './modules/notifications';
import recentContent from './modules/recent-content';
-import { updateVisualizationGlobally... | 2 |
diff --git a/token-metadata/0x798A9055a98913835bBFb45a0BbC209438dcFD97/metadata.json b/token-metadata/0x798A9055a98913835bBFb45a0BbC209438dcFD97/metadata.json "symbol": "NYB",
"address": "0x798A9055a98913835bBFb45a0BbC209438dcFD97",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/gulpfile.js b/gulpfile.js @@ -24,16 +24,16 @@ const knownOptions = {
}
};
-var options = minimist(process.argv.slice(2), knownOptions);
+const options = minimist(process.argv.slice(2), knownOptions);
const browsers = [];
-let configBrowsers = options.browsers || process.env['MAPTALKS_BROWSERS'] || '';
+con... | 3 |
diff --git a/rig.js b/rig.js @@ -146,9 +146,9 @@ class RigManager {
const avatarMesh = new THREE.Mesh(geometry, material);
avatarMesh.position.x = -0.5;
avatarMesh.position.y = -0.02;
- this.localRig.textMesh.add(avatarMesh);
- this.localRig.textMesh.sync();
+ this.localRig.textMesh.remove(this.localRig.textMesh.childr... | 2 |
diff --git a/common/lib/transport/messagequeue.ts b/common/lib/transport/messagequeue.ts import ErrorInfo from '../types/errorinfo';
import EventEmitter from '../util/eventemitter';
import Logger from '../util/logger';
-
-type PendingMessage = any;
+import { PendingMessage } from './protocol';
class MessageQueue extend... | 14 |
diff --git a/packages/gluestick/src/cli/colorScheme.js b/packages/gluestick/src/cli/colorScheme.js @@ -5,7 +5,9 @@ import type { LoggerTypes } from '../types';
const chalk = require('chalk');
const success = chalk.green;
-const info = chalk.gray;
+// Here we don't want to set color
+// cause of https://github.com/TrueC... | 12 |
diff --git a/js/electron.js b/js/electron.js @@ -17,6 +17,7 @@ const BrowserWindow = electron.BrowserWindow;
let mainWindow;
function createWindow() {
+ app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required');
var electronOptionsDefaults = {
width: 800,
height: 600,
| 11 |
diff --git a/src/components/configurable-items/configurable-items.stories.js b/src/components/configurable-items/configurable-items.stories.js @@ -48,8 +48,7 @@ const handleChange = (rowIndex) => {
action('changed')();
};
const handleSave = (event) => {
- event.preventDefault();
- event.stopPropagation();
+ event.persi... | 14 |
diff --git a/token-metadata/0x56687cf29Ac9751Ce2a4E764680B6aD7E668942e/metadata.json b/token-metadata/0x56687cf29Ac9751Ce2a4E764680B6aD7E668942e/metadata.json "symbol": "JAMM",
"address": "0x56687cf29Ac9751Ce2a4E764680B6aD7E668942e",
"decimals": 4,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/package.json b/package.json "build:js": "npm-run-all build:lib build:bundle",
"build:lib": "node ./bin/build-lib.js",
"build": "npm-run-all --parallel build:js build:css build:companion --serial build:gzip size",
- "clean": "rm -rf packages/*/lib packages/@uppy/*/lib && rm -rf packages/uppy/dist && rm -rf ... | 3 |
diff --git a/lib/plugins/aws/provider/awsProvider.js b/lib/plugins/aws/provider/awsProvider.js @@ -150,7 +150,16 @@ class AwsProvider {
that.serverless.cli.log("'Too many requests' received, sleeping 5 seconds");
setTimeout(doCall, 5000);
} else {
- reject(e);
+ if (e.message === 'The security token included in the req... | 7 |
diff --git a/core/workspace_svg.js b/core/workspace_svg.js @@ -479,7 +479,7 @@ Blockly.WorkspaceSvg.prototype.createDom = function(opt_backgroundClass) {
this.grid_.update(this.scale);
}
this.recordDeleteAreas();
- this.recordWorkspaceAreas();
+ this.recordWorkspaceArea();
return this.svgGroup_;
};
@@ -656,7 +656,7 @@ ... | 2 |
diff --git a/src/electron.js b/src/electron.js @@ -1194,6 +1194,11 @@ function updateBrightness(index, level, useCap = true) {
monitor = monitors[index]
}
+ if(!monitor) {
+ console.log(`Monitor does not exist: ${index}`)
+ return false
+ }
+
try {
const normalized = normalizeBrightness(level, false, (useCap ? monitor.... | 8 |
diff --git a/lib/misc/scopes.coffee b/lib/misc/scopes.coffee @@ -9,6 +9,12 @@ module.exports =
if scope.indexOf('keyword') > -1
return true
+ isStringScope: (scopes) ->
+ for scope in scopes
+ if scope.indexOf('string') > -1
+ return true
+ return false
+
forRange: (ed, range) ->
scopes = []
n_parens = 0
@@ -17,6 +23,7... | 8 |
diff --git a/src/client/js/components/Fab.jsx b/src/client/js/components/Fab.jsx @@ -16,7 +16,6 @@ const Fab = (props) => {
const { navigationContainer, appContainer } = props;
const { currentUser } = appContainer;
-
const [animateClasses, setAnimateClasses] = useState('invisible');
@@ -42,7 +41,7 @@ const Fab = (props... | 10 |
diff --git a/package.json b/package.json },
"repository": {
"type": "git",
- "url": "https://github.com/conveyal/datatools-ui.git"
+ "url": "https://github.com/ibi-group/datatools-ui.git"
},
"author": "Conveyal LLC",
"license": "MIT",
| 3 |
diff --git a/_config.yml b/_config.yml @@ -60,6 +60,18 @@ algolia:
application_id: 'ITI5JHZJM9'
index_name: 'diybiosphere'
lazy_update: true
+ attributesToIndex:
+ - title
+ - h1
+ - h2
+ - h3
+ - h4
+ - city
+ - country
+ - collection
+ - type-org
+ - unordered(text)
+ - unordered(tags)
# Collections
collections:
| 0 |
diff --git a/services/dataservices-metrics/lib/geocoder_usage_metrics.rb b/services/dataservices-metrics/lib/geocoder_usage_metrics.rb @@ -32,7 +32,7 @@ module CartoDB
def check_valid_data(service, metric, amount = 0)
raise ArgumentError.new('Invalid service') unless VALID_SERVICES.include?(service)
raise ArgumentError... | 1 |
diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml @@ -32,6 +32,11 @@ jobs:
- name: Add "Versions" Tap
run: brew tap homebrew/homebrew-cask-versions
+ - name: Configure Git user
+ uses: Homebrew/actions/git-user-config@master
+ with:
+ username: 'insomnia-infra'
+
# Update Homebrew's Inso(mnia... | 12 |
diff --git a/content/articles/sales-forecasting-with-prophet/index.md b/content/articles/sales-forecasting-with-prophet/index.md @@ -6,7 +6,7 @@ url: /sales-forecasting-with-prophet/
title: Sales Forecasting with Prophet in Python
description: This tutorial will leverage the Prophet library to accurately estimate sales... | 1 |
diff --git a/src/plots/cartesian/axes.js b/src/plots/cartesian/axes.js @@ -1222,8 +1222,14 @@ function syncTicks(ax) {
// get the tick for the current axis based on position
var vali = ax.p2l(pos);
-
+ var val1 = ax.p2l(pos - 0.5);
+ var val2 = ax.p2l(pos + 0.5);
+ var d = 1 + Math.round(Math.log10(Math.abs(val2 - val1... | 7 |
diff --git a/src/victory-legend/victory-legend.js b/src/victory-legend/victory-legend.js @@ -111,16 +111,18 @@ export default class VictoryLegend extends React.Component {
getCalculatedProps() { // eslint-disable-line max-statements
const { role } = this.constructor;
const { data, orientation, theme } = this.props;
- l... | 11 |
diff --git a/src/main/webapp/org/cboard/controller/config/widgetCtrl.js b/src/main/webapp/org/cboard/controller/config/widgetCtrl.js @@ -1564,7 +1564,7 @@ cBoard.controller('widgetCtrl', function ($scope, $stateParams, $http, $uibModal
$scope.curWidget.query = {};
$http.get('dashboard/getConfigParams.do?type=' + $scope... | 1 |
diff --git a/docusaurus.config.js b/docusaurus.config.js @@ -245,7 +245,7 @@ const config = {
zoom: {
selector: ':not(.mediaImage, .navbar__logo img)', // don't zoom these images
background: {
- light: 'rgb(255, 255, 255)',
+ light: 'rgb(50, 50, 50)',
dark: 'rgb(50, 50, 50)'
},
// options you can specify via https://gi... | 12 |
diff --git a/lib/plugins/package/lib/packageService.js b/lib/plugins/package/lib/packageService.js @@ -197,7 +197,10 @@ module.exports = {
nodir: true,
}).then(allFilePaths => {
const filePathStates = allFilePaths.reduce((p, c) => Object.assign(p, { [c]: true }), {});
- patterns.forEach(p => {
+ patterns
+ // nanomatch... | 14 |
diff --git a/app/menu.js b/app/menu.js // @flow
import { app, Menu, shell, BrowserWindow } from 'electron';
import path from 'path';
+import fs from 'fs';
import { clearCache } from './utils/utils';
export default class MenuBuilder {
@@ -105,7 +106,13 @@ export default class MenuBuilder {
{ label: 'Show Worker', click:... | 7 |
diff --git a/apps/stopwatch/README.md b/apps/stopwatch/README.md @@ -31,3 +31,6 @@ Which one is which ?


+
+
+Written by: [Hugh Barney](https://github.com/hughbarney) For support and discussion please post in the [Bangle JS Forum](http://forum.espruino.com/microcosms/1424/)
| 3 |
diff --git a/reproduction-template.js b/reproduction-template.js @@ -45,8 +45,6 @@ async function main() {
.eager('pets');
chai.expect(jennifer.pets[0].name).to.equal('Doggo');
-
- await knex.destroy()
}
///////////////////////////////////////////////////////////////
@@ -56,7 +54,7 @@ async function main() {
const knex... | 7 |
diff --git a/404.js b/404.js @@ -12,6 +12,9 @@ const {Transaction, Common} = ethereumJsTx;
const web3SidechainEndpoint = 'https://ethereum.exokit.org';
const storageHost = 'https://storage.exokit.org';
+const expectedNetworkType = 'rinkeby';
+const openSeaUrlPrefix = `https://${expectedNetworkType === 'main' ? '' : exp... | 0 |
diff --git a/static/css/bot.scss b/static/css/bot.scss @@ -110,6 +110,14 @@ body {
display: table;
}
+#all-accounts.main-nav, #toolbox-all-accounts.main-nav {
+ >li {
+ >ul {
+ width: 165px;
+ }
+ }
+}
+
.left-header {
float: left;
}
| 12 |
diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb @@ -10,10 +10,10 @@ Paperclip.interpolates(:class_basename) do |attachment, style|
Pageflow::PaperclipInterpolations::Support.class_basename(attachment, style)
end
-Paperclip.interpolates(:attachments_path_name) do |attachment, _style|
+Pa... | 7 |
diff --git a/test/TemplateRenderNunjucksTest.js b/test/TemplateRenderNunjucksTest.js @@ -867,3 +867,14 @@ test("Use addNunjucksGlobal with literal", async (t) => {
let fn = await tr.getCompiledTemplate("<p>{{ fortytwo }}</p>");
t.is(await fn(), "<p>42</p>");
});
+
+// Async not supported here
+test.skip("Use addNunjuck... | 0 |
diff --git a/README.md b/README.md @@ -82,11 +82,11 @@ You are welcome to test the current version:
5. Run quick_setup script:
```
cd lost/docker/quick_setup/
- python3 quick_setup.py /path/to/install/lost --release 2.0.0-alpha.11
+ python3 quick_setup.py /path/to/install/lost --release 2.0.0-alpha.12
```
If you want t... | 6 |
diff --git a/src/post/Feed/PostFeedCard.js b/src/post/Feed/PostFeedCard.js @@ -142,27 +142,6 @@ const PostFeedCard = ({
<div className="PostFeedCard__thumbs" dangerouslySetInnerHTML={{ __html: embeds[0].embed }} />
}
-
- <div className="PostFeedCard__cell PostFeedCard__cell--body">
- <h2>
- <PostModalLink
- post={post}... | 1 |
diff --git a/lib/index.js b/lib/index.js @@ -201,7 +201,7 @@ Nightwatch.cli = function(callback) {
runner.setupAsync()
.then(() => runner.getTestsFiles())
// eslint-disable-next-line no-console
- .then((result) => console.log(JSON.stringify(result)));
+ .then((result) => console.log(Logger.inspectObject(result)));
} el... | 7 |
diff --git a/packages/app/src/stores/use-static-swr.tsx b/packages/app/src/stores/use-static-swr.tsx @@ -6,14 +6,14 @@ import useSWRImmutable from 'swr/immutable';
export function useStaticSWR<Data, Error>(key: Key): SWRResponse<Data, Error>;
-export function useStaticSWR<Data, Error>(key: Key, data: Data | null): SWRR... | 7 |
diff --git a/src/graphql/schema.js b/src/graphql/schema.js @@ -10,7 +10,7 @@ import ListReplies from './queries/ListReplies';
// Set individual objects
import CreateArticle from './mutations/CreateArticle';
import CreateReply from './mutations/CreateReply';
-import CreateReplyConnection from './mutations/CreateReplyCon... | 10 |
diff --git a/buildScripts/createApp.js b/buildScripts/createApp.js const chalk = require('chalk'),
{ program } = require('commander'),
cp = require('child_process'),
+ cwd = process.cwd(),
envinfo = require('envinfo'),
fs = require('fs'),
inquirer = require('inquirer'),
@@ -15,7 +16,7 @@ program
.version(packageJson.ve... | 4 |
diff --git a/packages/app/src/components/PageCommentList.tsx b/packages/app/src/components/PageCommentList.tsx @@ -86,8 +86,7 @@ const PageCommentList:FC<Props> = memo((props:Props):JSX.Element => {
return preprocessComment(highlightedComment);
}));
const preprocessedComments: ICommentHasIdList = comments.map((comment,... | 4 |
diff --git a/package.json b/package.json "name": "WebMidi.js",
"tagline": "A JavaScript library to kickstart your MIDI projects"
},
+ "engines" : { "node" : ">=8.5" },
"scripts": {
"build:all": "npm run lint && npm run build:cjs && npm run build:esm && npm run build:iife",
"build:cjs": "node scripts/build/build.js -t c... | 12 |
diff --git a/apps/pokeclk/README.md b/apps/pokeclk/README.md -# About this Watchface
+# Poketch Clock
-Based on the electronic device from the Pokemon game.
+A clock based on the Poketch electronic device found in Sinnoh
-# Features
+Add screen shots (if possible) to the app folder and link then into this file with ![]... | 1 |
diff --git a/src/constants.js b/src/constants.js if (!Memory.username) {
const struc = _.find(Game.structures)
const creep = _.find(Game.creeps)
- Memory.username = (struc ? struc.owner.username : false) || (creep ? creep.owner.username : false)
+ Memory.username = (struc && struc.owner.username) || (creep && creep.own... | 7 |
diff --git a/tools/scripts/preuninstall b/tools/scripts/preuninstall @@ -54,8 +54,8 @@ function main() {
var action;
var stats;
var meta;
- var odir;
- var ndir;
+ var op;
+ var np;
var p;
var i;
@@ -68,17 +68,12 @@ function main() {
debug( 'Reverting changes...' );
for ( i = meta.length-1; i >= 0; i-- ) { // NOTE: rev... | 10 |
diff --git a/src/blockchain/failedTxMonitor.js b/src/blockchain/failedTxMonitor.js @@ -3,6 +3,8 @@ const { toBN } = require('web3-utils');
const logger = require('winston');
const LPVaultArtifact = require('giveth-liquidpledging/build/LPVault.json');
const LPPCappedMilestoneArtifact = require('lpp-capped-milestone/buil... | 9 |
diff --git a/articles/api/authentication/api-authz/_authz-client.md b/articles/api/authentication/api-authz/_authz-client.md @@ -53,6 +53,7 @@ This is the OAuth 2.0 grant that regular web apps utilize in order to access an
| `client_id` <br/><span class="label label-danger">Required</span> | Your application's Client I... | 0 |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml @@ -56,8 +56,7 @@ jobs:
if: steps.changesets.outputs.published != 'true'
run: |
git checkout master
- yarn version:canary
- yarn release:canary
+ yarn publish-canary
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN... | 3 |
diff --git a/src/calendar.jsx b/src/calendar.jsx @@ -691,6 +691,12 @@ export default class Calendar extends React.Component {
);
};
+ handleTodayButtonClick = (e) => {
+ this.props.onSelect(getStartOfToday(), e);
+ this.props.setPreSelection(getStartOfToday());
+ };
+
+
renderTodayButton = () => {
if (!this.props.today... | 12 |
diff --git a/test/jasmine/tests/config_test.js b/test/jasmine/tests/config_test.js var Plotly = require('@lib/index');
var Plots = Plotly.Plots;
var Lib = require('@src/lib');
+
+var d3 = require('d3');
var createGraphDiv = require('../assets/create_graph_div');
var destroyGraphDiv = require('../assets/destroy_graph_di... | 0 |
diff --git a/src/utils/index.js b/src/utils/index.js 'use strict';
-const _get = require('lodash/get');
-const _clone = require('lodash/clone');
+import _clone from 'lodash/clone';
+import _get from 'lodash/get';
+import compile from 'lodash/template';
import jsonLogic from 'json-logic-js';
-import { compile } from 'ha... | 14 |
diff --git a/src/generators/tailwind.js b/src/generators/tailwind.js @@ -60,6 +60,7 @@ module.exports = {
const tailwindPlugin = typeof tailwindConfig === 'object' ? tailwind(tailwindConfig) : tailwind()
const extractor = maizzleConfig.cleanup.purgeCSS.extractor || /[\w-/:]+(?<!:)/g
+ const purgeContent = maizzleConfig... | 11 |
diff --git a/publish/src/commands/import-fee-periods.js b/publish/src/commands/import-fee-periods.js @@ -197,7 +197,7 @@ const importFeePeriods = async ({
index,
feePeriod.feePeriodId,
feePeriod.startingDebtIndex,
- index === 0 ? +feePeriod.startTime - 32400 : feePeriod.startTime,
+ feePeriod.startTime,
feePeriod.feesT... | 13 |
diff --git a/metaverse_modules/overworld/index.js b/metaverse_modules/overworld/index.js import * as THREE from 'three';
-import {ShaderLib} from 'three/src/renderers/shaders/ShaderLib.js';
-import {UniformsUtils} from 'three/src/renderers/shaders/UniformsUtils.js';
-// import * as ThreeVrm from '@pixiv/three-vrm';
-//... | 4 |
diff --git a/test/vgl-font.spec.js b/test/vgl-font.spec.js @@ -16,7 +16,7 @@ describe("VglFont component", function() {
}).$mount();
assert.isNull(vm.$refs.other.vglFonts.forGet["dm'&^>"]);
});
- it("Should be replaced when the image is loaded.", function(done) {
+ it("Should be replaced when the typeface is loaded.", ... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.