code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/src/css/custom.css b/src/css/custom.css --docusaurus-highlighted-code-line-bg: rgba(71, 128, 220, 0.4); } +/* prevent fonts from looking so chunky, esp in FF */ +body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + /* For readability concerns, you should choose a lighter...
7
diff --git a/source/Renderer/shaders/pbr.frag b/source/Renderer/shaders/pbr.frag @@ -35,21 +35,6 @@ void main() #if ALPHAMODE == ALPHAMODE_OPAQUE baseColor.a = 1.0; -#endif - -#ifdef MATERIAL_UNLIT -#if ALPHAMODE == ALPHAMODE_MASK - if (baseColor.a < u_AlphaCutoff) - { - discard; - } -#endif - g_finalColor = (vec4(line...
9
diff --git a/src/main/webapp/resources/js/viewer/guiInput.js b/src/main/webapp/resources/js/viewer/guiInput.js @@ -17,8 +17,10 @@ function GuiInput(navigationController, controller, gui, textViewer, selector, c // button registration $("#viewer").contextmenu(() => { + if(_controller.getMode() !== Mode.TEXT && !(_gui.is...
11
diff --git a/package.json b/package.json { "name": "uk-covid19-dashboard", - "version": "2.10.11", + "version": "2.10.12", "private": true, "homepage": "https://coronavirus.data.gov.uk/", "dependencies": { "lodash.clonedeep": "^4.5.0", "mapbox-gl": "^1.13.1", "moment": "^2.29.1", - "node-sass": "^6.0.1", + "node-sass":...
13
diff --git a/articles/quickstart/spa/_includes/_auth_service_method_description_auth0js.md b/articles/quickstart/spa/_includes/_auth_service_method_description_auth0js.md @@ -4,7 +4,7 @@ When you set up the `AuthService` service, you create an instance of the `auth0. * Audience and scope, which specify that authenticat...
0
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -219,7 +219,7 @@ jobs: command: | git clone git@github.com:luniehq/lunie-browser-extension.git . - attach_workspace: - at: /tmp/voyager/lunie-browser-extension/lunie + at: /tmp/voyager/lunie - yarn-install-extension - setup_remote_docker - run:
4
diff --git a/flows/samples/9_turbomode.tag b/flows/samples/9_turbomode.tag @@ -11,14 +11,14 @@ else if p1 equals to 'on' fs = require('fs'); fs.remove('tagui_header.js'); fs.remove('tagui_chrome.php'); run curl -k -s -L -o tagui_header.js https://github.com/kelaberetiv/TagUI/files/6935769/tagui_header_core.txt run curl...
7
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/envVarList.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/envVarList.js @@ -44,9 +44,7 @@ RED.editor.envVarList = (function() { }).attr("autocomplete","disable").appendTo(envRow); var types = (opt.ui && opt.ui.opts && opt...
2
diff --git a/src/core-layers/screen-grid-layer/screen-grid-layer.js b/src/core-layers/screen-grid-layer/screen-grid-layer.js @@ -23,7 +23,6 @@ const {defaultColorRange, quantizeScale} = experimental; import {GL, Model, Geometry} from 'luma.gl'; import {lerp} from './../../core/utils/math-utils'; -import log from './../...
2
diff --git a/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/assetview/template.vue b/admin-base/ui.apps/src/main/content/jcr_root/apps/admin/components/assetview/template.vue }, moveAsset() { let root = '/content/assets' - let selectedPath = this.asset.path - let currentPath = selectedPath.substr(0,...
7
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,15 @@ 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.35.1] -- 2018-03-08 + +### Fixed +- Fix `scatterpolar` in dist and CDN bundles + (due to `browser-pack-flat` discrepancy introduced i...
3
diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js @@ -519,9 +519,10 @@ function fetchIOUReportByID(iouReportID, chatReportID, shouldRedirectIfEmpty = f * fetching the iouReport and therefore should only be called if we are certain that the fetched iouReport is currently * open - else we would overwri...
7
diff --git a/token-metadata/0x2f3e054D233c93C59140c0905227c7C607c70cbb/metadata.json b/token-metadata/0x2f3e054D233c93C59140c0905227c7C607c70cbb/metadata.json "symbol": "COOM", "address": "0x2f3e054D233c93C59140c0905227c7C607c70cbb", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/planet.js b/planet.js @@ -399,6 +399,7 @@ planet.getSubparcelByIndex = index => { } return subparcel; }; +planet.peekSubparcelByIndex = index => subparcels[index] || null; planet.getSubparcel = (x, y, z) => { const index = _getSubparcelIndex(x, y, z); let subparcel = subparcels[index]; @@ -407,6 +408,7 @@ ...
0
diff --git a/procgen/map-gen.js b/procgen/map-gen.js @@ -102,8 +102,10 @@ export class MapBlock extends THREE.Vector3 { } } export class MapChunk { - constructor(blocks) { + constructor(blocks, width, height) { this.blocks = blocks; + this.width = width; + this.height = height; } getExitBlocks() { return this.blocks.fi...
0
diff --git a/iris/mutations/channel/createChannel.js b/iris/mutations/channel/createChannel.js @@ -41,9 +41,12 @@ export default async ( ); } - // if the current user is not the owner of the parent community + // if the current user is not the owner or moderator of the parent community // they can not create channels -...
11
diff --git a/packages/idyll-docs/components/example.js b/packages/idyll-docs/components/example.js import { Link } from '../routes'; -const imageUrl = (url) => /^http/.test(url) ? url : `/static/images/${url}` +const imageUrl = url => (/^http/.test(url) ? url : `/static/images/${url}`); -function slugify(text) -{ - ret...
2
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js that.typeMap[result.value] = result; return result; }); + if (this.typeList.length < 2) { + this.selectTrigger.attr("tabindex", -1) + } else { + this.s...
2
diff --git a/bin/oref0-mdt-trend.js b/bin/oref0-mdt-trend.js @@ -56,11 +56,15 @@ if (!module.parent) { continue; } + if (record.sgv == 0) + { + continue; + } var used_records = 0; for (var j = 0; j < max_entries; j++) { var past_record = last_entries[j]; - if (typeof past_record == "undefined") + if (typeof past_record...
8
diff --git a/lib/services/query/castUpdate.js b/lib/services/query/castUpdate.js @@ -231,6 +231,10 @@ function walkUpdatePath(schema, obj, op, strict, context, pref) { hasError = true; _handleCastError(error, context, key, aggregatedError); } + + if (Array.isArray(obj[key]) && (op === '$addToSet' || op === '$push') && ...
1
diff --git a/cy_scripts/should-deploy.js b/cy_scripts/should-deploy.js @@ -88,6 +88,7 @@ function lastDeployedCommit (env) { const changedFilesSince = (branchName) => (sha) => { la(is.unemptyString(branchName), 'missing branch name', branchName) + debug('finding files changed in branch %s since commit %s', branchName, ...
9
diff --git a/src/components/modeler/XMLManager.js b/src/components/modeler/XMLManager.js @@ -23,16 +23,54 @@ export default class XMLManager { definitions.exporter = 'ProcessMaker Modeler'; definitions.exporterVersion = '1.0'; + // Clean broken references when loading definitions + this.cleanBrokenReferences(definition...
1
diff --git a/token-metadata/0xFFc63b9146967A1ba33066fB057EE3722221aCf0/metadata.json b/token-metadata/0xFFc63b9146967A1ba33066fB057EE3722221aCf0/metadata.json "symbol": "A", "address": "0xFFc63b9146967A1ba33066fB057EE3722221aCf0", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" } ...
3
diff --git a/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/index.js b/packages/node_modules/@node-red/runtime/lib/storage/localfilesystem/projects/index.js @@ -126,6 +126,10 @@ function init(_settings, _runtime) { } else { activeProject = globalSettings.projects.activeProject; } + if (!gl...
11
diff --git a/src/components/bio.js b/src/components/bio.js @@ -16,7 +16,7 @@ const Bio = () => { <a href="https://github.com/nas5w/typeofnan-javascript-quizzes"> Star this repo on Github </a>{' '} - to follow along as new questions are added! + to follow along as new questions are added! Created by <a href="https://twi...
0
diff --git a/assets/js/components/link.js b/assets/js/components/link.js @@ -42,6 +42,11 @@ class Link extends Component { id, } = this.props; const SemanticLink = href ? 'a' : 'button'; + // Note: the disabled attribute does not alter behavior of anchor tags, + // hence the conditional click handler. + const clickHand...
3
diff --git a/components/maplibre/ban-map/layers.js b/components/maplibre/ban-map/layers.js @@ -48,6 +48,50 @@ const getColors = () => { return [...array] } + +export const positionsCircleLayer = { + id: 'positions', + source: 'positions', + type: 'circle', + paint: { + 'circle-color': ['match', ['get', 'type'], ...getC...
0
diff --git a/run_tests.py b/run_tests.py @@ -187,7 +187,7 @@ def main(argv): argv, "hs:p:o:", [ "sketch=", "plugin=", "outputFilePath="]) except getopt.GetoptError: - print('test.py -s <sketch> -p <plugin> -o <outputFilePath>') + print('run_tests.py -s <sketch> -p <plugin> -o <outputFilePath>') sys.exit(2) for opt, arg...
1
diff --git a/src/sections/Projects/Project-grid/projectGrid.style.js b/src/sections/Projects/Project-grid/projectGrid.style.js @@ -182,16 +182,12 @@ export const ProjectWrapper = styled.div` grid-column: 3/6; grid-row: 7/8; img{ - width: 150px; + width: 6rem; align-self: center; - margin-top: 8px; margin: auto; @media ...
1
diff --git a/src/components/Backtester/reports/HistoricalReport.js b/src/components/Backtester/reports/HistoricalReport.js @@ -11,6 +11,7 @@ export default (opts, results, backtestData, backtestOptions) => { const { indicators } = opts const { candles = [] } = backtestData const { tf } = backtestOptions + const hasCand...
1
diff --git a/frontend/src/styles/pages/person.scss b/frontend/src/styles/pages/person.scss position: absolute; top: 0; left: 0; - height: 300px; + height: 235px; width: 100%; background-position: center; background-size: cover; - // background-attachment: fixed; background-repeat: no-repeat; - // opacity: 0.2; + opacit...
1
diff --git a/src/normalizers/cookies.js b/src/normalizers/cookies.js @@ -14,7 +14,7 @@ export default (req, cookies) => { const headerCookie = cookie && ((headers && headers.cookie) || req.getHeader('Cookie')); - if (headerCookie && cookie) { + if (headerCookie && cookie && cookie.parse) { if (cookies) { const parsedCo...
1
diff --git a/src/js/core/bindEventListeners.js b/src/js/core/bindEventListeners.js @@ -17,7 +17,7 @@ export default function bindEventListeners() { document.body.classList.add('tippy-touch') } - if (Browser.dynamicInputDetection) { + if (Browser.dynamicInputDetection && window.performance) { document.addEventListener('...
4
diff --git a/src/index.js b/src/index.js -import React from 'react'; -import ReactDOM from 'react-dom'; -import './index.css'; -import App from './App'; -import * as serviceWorker from './serviceWorker'; +import React from "react"; +import ReactDOM from "react-dom"; +import "./index.css"; +import App from "./App"; +imp...
12
diff --git a/app/views/shared/_google_tag_manager.html.erb b/app/views/shared/_google_tag_manager.html.erb <!-- Google Tag Manager --> -<%=# Tags for GTM are being included in VendorScripts templates for static pages as well. +<%# Tags for GTM are being included in VendorScripts templates for static pages as well. # So...
1
diff --git a/src/generators/output/toString.js b/src/generators/output/toString.js @@ -28,7 +28,6 @@ module.exports = async (str, options) => { let html = frontMatter.body const config = maizzleConfig.isMerged ? maizzleConfig : deepmerge(maizzleConfig, frontMatter.attributes) - const layout = config.layout || config.bu...
1
diff --git a/aleph/authz.py b/aleph/authz.py @@ -73,7 +73,10 @@ class Authz(object): if collection is None: return False + try: collection = int(collection) + except ValueError: + return False return collection in self.collections(action) def can_stream(self):
9
diff --git a/v3/src/components/graph/components/graph.tsx b/v3/src/components/graph/components/graph.tsx @@ -77,6 +77,7 @@ export const Graph = observer(( }, [layout.plotHeight, layout.plotWidth, margin.left, xScale]) const toast = useToast() + const handleDropAttribute = (place: AxisPlace, attrId: string) => { // TODO...
10
diff --git a/lib/assets/core/test/spec/cartodb3/editor/layers/layer-header-view.spec.js b/lib/assets/core/test/spec/cartodb3/editor/layers/layer-header-view.spec.js @@ -45,7 +45,7 @@ describe('editor/layers/layer-header-view', function () { simple_geom: simple_geom }); this.queryGeometryModel.hasValue = function () { -...
7
diff --git a/lib/serialize-error.js b/lib/serialize-error.js @@ -26,9 +26,8 @@ function extractSource(stack, testFile) { const relFile = path.relative(process.cwd(), testFile); const normalizedFile = process.platform === 'win32' ? slash(relFile) : relFile; for (const line of stack.split('\n')) { - try { const callSite ...
7
diff --git a/src/symbols.js b/src/symbols.js @@ -310,10 +310,10 @@ defineSymbol(math, ams, textord, "\u03dd", "\\digamma", true); defineSymbol(math, ams, textord, "\u03f0", "\\varkappa"); // AMS Delimiters -defineSymbol(math, ams, open, "\u250c", "\\ulcorner", true); -defineSymbol(math, ams, close, "\u2510", "\\urcorne...
7
diff --git a/package.json b/package.json "name": "find-and-replace", "main": "./lib/find", "description": "Find and replace within buffers and across the project.", - "version": "0.208.0", + "version": "0.208.1", "license": "MIT", "activationCommands": { "atom-workspace": [
6
diff --git a/articles/_includes/_api-auth-customize-tokens.md b/articles/_includes/_api-auth-customize-tokens.md @@ -15,5 +15,5 @@ function(user, context, callback) { ``` ::: panel-warning Namespacing Custom Claims -You must properly namespace your custom claims with URI format to avoid conflicting with spec claims. +I...
0
diff --git a/frontend/static/javascript/app/survey-builder/directives/edit-question/edit-question.html b/frontend/static/javascript/app/survey-builder/directives/edit-question/edit-question.html <tr ng-if="surveyBuilder.currentQuestionFields.question_type == surveyBuilder.QUESTION_TYPES.slider"> <td><label for="min">Mi...
11
diff --git a/README.md b/README.md @@ -12,10 +12,10 @@ npm install polyfill-library --save ## Usage ```javascript -const PolyfillLibrary = require('polyfill-service'); +const PolyfillLibrary = require('polyfill-library'); const polyfillLibrary = new PolyfillLibrary; -const polyfillBundle = polyfillLibary.getPolyfillStr...
3
diff --git a/components/evenement/event.js b/components/evenement/event.js @@ -102,7 +102,7 @@ function Event({event, background, isPassed, id, activeEvent, handleOpen}) { border-radius: ${theme.borderRadius}; font-size: 14px; position: relative; - z-index: ${activeEvent === id ? 1 : ''}; + z-index: ${activeEvent === i...
0
diff --git a/cypress/v0.0/documentation/1-Getting Started/1-Writing Your First Test.md b/cypress/v0.0/documentation/1-Getting Started/1-Writing Your First Test.md @@ -231,12 +231,12 @@ You can dynamically generate tests using JavaScript. ```javascript describe('if your app uses jQuery', function(){ ['mouseover', 'mouse...
14
diff --git a/app/stylesheets/shell-window/toolbar-input-group.less b/app/stylesheets/shell-window/toolbar-input-group.less height: 26px; border: 1px solid #ddd; - border-radius: 2px; - font-size: 14px; + border-radius: 3px; + font-size: 13.5px; -webkit-app-region: no-drag; background: #fff; margin: 0 2px 0 5px; box-sha...
4
diff --git a/packages/idyll-components/src/text-input.js b/packages/idyll-components/src/text-input.js @@ -12,8 +12,9 @@ class TextInput extends React.PureComponent { } render() { + const { idyll, hasError, updateProps, ...props } = this.props; return ( - <input type="text" onChange={this.onChange} {...this.props} /> +...
2
diff --git a/src/js/helpers/index.js b/src/js/helpers/index.js @@ -120,13 +120,13 @@ export function createGeodesicPolygon( const points = []; for (let i = 0; i < sides; i += 1) { - angle = (i * 360) / sides + rotation; if (withBearing) { + angle = (i * 360) / sides + rotation; newLonlat = destinationVincenty(origin, a...
14
diff --git a/iris/utils/get-random-default-photo.js b/iris/utils/get-random-default-photo.js @@ -18,6 +18,6 @@ export default () => { const color = faker.random.arrayElement(PALETTE); return { profilePhoto: `https://s3.amazonaws.com/spectrum-chat/default_images/profile-${color}.png`, - coverPhoto: `https://s3.amazonaws...
4
diff --git a/src/main/index.js b/src/main/index.js @@ -176,11 +176,11 @@ ipcMain.on('version-info-requested', () => { }, }; let result = ''; - - const req = https.get(Object.assign(opts, url.parse(latestReleaseAPIURL)), res => { + const onSuccess = res => { res.on('data', data => { result += data; }); + res.on('end', (...
11
diff --git a/userscript.user.js b/userscript.user.js @@ -26648,12 +26648,22 @@ var $$IMU_EXPORT$$; return src.replace(/(:\/\/[^/]*\/media\/[^/]*\/)[^/]*(\/[0-9]+\/[0-9]+\/[^/]*)$/, "$1original$2"); } + if (domain_nosub === "fbcdn.net" || domain_nosub === "cdninstagram.com") { + // https://instagram.fcxh2-1.fna.fbcdn.ne...
7
diff --git a/plugins-bitcoincom/cordova-plugin-qrreader/readme.md b/plugins-bitcoincom/cordova-plugin-qrreader/readme.md 3. `node_modules/cordova/bin/cordova plugin add ./plugins-bitcoincom/cordova-plugin-qrreader` -4. `npm run start:android` \ No newline at end of file +4. `npm run start:android` it will run, but the ...
3
diff --git a/devices/sonoff.js b/devices/sonoff.js @@ -70,11 +70,11 @@ module.exports = [ exposes: [e.battery(), e.action(['single', 'double', 'long'])], fromZigbee: [fz.ewelink_action, fz.battery], toZigbee: [], - meta: {battery: {voltageToPercentage: '3V_2500'}}, configure: async (device, coordinatorEndpoint, logger)...
7
diff --git a/packages/nexrender-core/package.json b/packages/nexrender-core/package.json }, "dependencies": { "@nexrender/types": "^1.14.0", - "data-uri-to-buffer": "^2.0.0", - "file-uri-to-path": "^1.0.0", - "mkdirp": "^0.5.1", + "data-uri-to-buffer": "^3.0.0", + "file-uri-to-path": "^2.0.0", + "mkdirp": "^1.0.4", "no...
3
diff --git a/core/server/api/v2/slugs.js b/core/server/api/v2/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.' +}; + co...
14
diff --git a/packages/turf-boolean-overlap/index.ts b/packages/turf-boolean-overlap/index.ts -import { coordAll, segmentEach } from '@turf/meta'; +import { segmentEach } from '@turf/meta'; import { getGeom } from '@turf/invariant'; import lineOverlap from '@turf/line-overlap'; import lineIntersect from '@turf/line-inte...
7
diff --git a/package.json b/package.json "test": "mocha --reporter spec", "pretest": "npm run lint", "lint": "standard", - "prepare": "npm install require-self && require-self", + "prepare": "require-self", "prepublishOnly": "cp docs/README.md README.md" }, "repository": {
2
diff --git a/src/modules/tooltip/Intersect.js b/src/modules/tooltip/Intersect.js @@ -57,7 +57,10 @@ class Intersect { w.globals.clientX - seriesBound.left - (x > w.globals.gridWidth / 2 ? ttCtx.tooltipRect.ttWidth : 0) - y = w.globals.clientY - seriesBound.top + y = + w.globals.clientY - + seriesBound.top - + (y > w.gl...
7
diff --git a/ReduceClutter.user.js b/ReduceClutter.user.js // @description Revert recent changes that makes the page more cluttered // @homepage https://github.com/samliew/SO-mod-userscripts // @author @samliew -// @version 1.14.3 +// @version 1.15 // // @include https://*stackoverflow.com/* // @include https://*server...
12
diff --git a/token-metadata/0xD8912C10681D8B21Fd3742244f44658dBA12264E/metadata.json b/token-metadata/0xD8912C10681D8B21Fd3742244f44658dBA12264E/metadata.json "symbol": "PLU", "address": "0xD8912C10681D8B21Fd3742244f44658dBA12264E", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/packages/openneuro-server/datalad/dataset.js b/packages/openneuro-server/datalad/dataset.js @@ -213,7 +213,7 @@ export const addFile = async (datasetId, path, file) => { const stream = createReadStream() - // This does not close the fs-capacitor stream until downstreamRequest has finished + // This does no...
7
diff --git a/src/pages/using-spark/components/box.mdx b/src/pages/using-spark/components/box.mdx @@ -57,4 +57,4 @@ color to illustrate how Box works. ## Anatomy -- Box is an empty container using Inset Space. \ No newline at end of file +- Box is an empty container with padding. \ No newline at end of file
3
diff --git a/src/client/js/components/Admin/SlackIntegration/WithProxyAccordions.jsx b/src/client/js/components/Admin/SlackIntegration/WithProxyAccordions.jsx @@ -73,9 +73,9 @@ const RegisteringProxyUrlProcess = () => { const GeneratingTokensAndRegisteringProxyServiceProcess = withUnstatedContainers((props) => { const ...
10
diff --git a/articles/getting-started/index.md b/articles/getting-started/index.md @@ -32,4 +32,8 @@ Let's get started! <i class="icon icon-budicon-715"></i><a href="/getting-started/deployment-models">Deployment Models</a> <p>Read about the four different deployment models that Auth0 offers</p> </li> + <li> + <i class...
0
diff --git a/package.json b/package.json "Brandon Evans (https://github.com/BrandonE)", "Cameron Cooper (https://github.com/cameroncooper)", "Chris Trevino (https://github.com/darthtrevino)", + "Chris Watson (https://github.com/c24w)", "Christoph Gysin (https://github.com/christophgysin)", "Daniel Parker (https://githu...
0
diff --git a/plugins.json b/plugins.json { "author": "cball", "description": "Replaces ENV vars with ENV vars that are prefixed/suffixed with the context or branch name", - "name": "Env", - "package": "netlify-plugin-env", - "repo": "https://github.com/cball/netlify-plugin-env" + "name": "Contextual ENV", + "package": ...
10
diff --git a/web/template.go b/web/template.go @@ -90,7 +90,7 @@ func tmplRoleDropdown(roles []*discordgo.Role, highestBotRole *discordgo.Role, a if k == len(roles)-1 { break } - if role.Managed { + if role.Managed && highestBotRole != nil { continue } @@ -131,7 +131,7 @@ func tmplRoleDropdownMutli(roles []*discordgo.R...
11
diff --git a/packages/feedfetcher/package.json b/packages/feedfetcher/package.json "build": "tsc", "test": "jest" }, + "publishConfig": { + "access": "public" + }, "repository": { "type": "git", "url": "git+https://github.com/MonitoRSS/typescript-template.git"
12
diff --git a/src/js/framework7/picker.js b/src/js/framework7/picker.js @@ -82,11 +82,12 @@ var Picker = function (params) { }; p.updateValue = function (forceValues) { var newValue = forceValues || []; - var newDisplayValue = [], i; + var newDisplayValue = [], i, column; if (p.cols.length === 0) { for (i = 0; i < p.par...
1
diff --git a/vr-ui.js b/vr-ui.js @@ -788,6 +788,7 @@ p { <div class=buttons> <a class=button id=run-button>Run</a> <a class=button id=add-button>Add to inventory</a> + <a class=button id=remove-button>Remove</a> </div> <div class=header> <a class=close-button id=close-button>X</a>
0
diff --git a/framer/Color.coffee b/framer/Color.coffee @@ -303,12 +303,11 @@ class exports.Color extends BaseClass colorA = new Color(colorA) colorB = new Color(colorB) - tolerance = 1 - alphaTolerance = 0.01 + tolerance = 0.01 return false if Math.abs(colorA.r - colorB.r) >= tolerance return false if Math.abs(colorA.g...
7
diff --git a/package.json b/package.json "private": true, "scripts": { "build": "npm run build:production && npm run build:static", - "build:production": "webpack -p --mode=production", - "build:test": "webpack -p --mode=production --include-tests", + "build:production": "webpack --mode=production", + "build:test": "we...
2
diff --git a/generators/client/templates/vue/package.json.ejs b/generators/client/templates/vue/package.json.ejs @@ -156,7 +156,7 @@ limitations under the License. "prettier:format": "prettier --write \"{,src/**/,webpack/}*.{md,json,js,ts,tsx,css,scss}\"", "lint": "tslint --project tsconfig.json -e 'node_modules/**'", ...
2
diff --git a/lib/assets/javascripts/builder/editor/style/style-content-view.js b/lib/assets/javascripts/builder/editor/style/style-content-view.js @@ -23,6 +23,13 @@ var EXTRA_STYLE_PROPERTIES = [ 'strokeColor' ]; +var EXTRA_LABELS_STYLE_PROPERTIES = [ + 'fillSize', + 'fillColor', + 'haloSize', + 'haloColor' +]; + var ...
2
diff --git a/test/modules/util.js b/test/modules/util.js @@ -68,142 +68,20 @@ describe('util', function(){ } }); - if( process.env.TRAVIS ){ - // run this test only on travis because it's slow + it('hash is unique for common values', function(){ + var v = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 22, 2...
4
diff --git a/src/analytics/FirebaseTracker.js b/src/analytics/FirebaseTracker.js @@ -6,7 +6,10 @@ FirebaseTracker.prototype = Object.create(BaseTracker.prototype); FirebaseTracker.prototype.constructor = FirebaseTracker; FirebaseTracker.prototype.setCurrentScreen = function(screenName) { - analytics().setCurrentScreen(...
4
diff --git a/OurUmbraco.Site/Views/DocumentationSubpage.cshtml b/OurUmbraco.Site/Views/DocumentationSubpage.cshtml @Html.Partial("~/Views/Partials/Documentation/Breadcrumb.cshtml") </div> - <div id="doc-survey" class="docs-default-listing markdown-syntax" style="background-color: #daf0c9; padding: 20px; display: none;"...
2
diff --git a/components/post.js b/components/post.js @@ -10,6 +10,7 @@ import Section from '@/components/section' function Post({title, published_at, feature_image, html, backLink}) { useEffect(() => { if (html) { + const audioPlayer = [...document.querySelectorAll('audio')] const videoPlayer = [...document.querySelect...
0
diff --git a/server/app.js b/server/app.js @@ -22,8 +22,6 @@ app.use(compression({ threshold: 0 })); mongoose.Promise = bluebird; mongoose.connect(process.env.MONGO_URI); -app.use(opbeat.middleware.express()); - if (process.env.NODE_ENV === 'development') { // Development Env specific stuff // - Use MemoryStore for the...
14
diff --git a/spec/requests/carto/api/api_keys_controller_spec.rb b/spec/requests/carto/api/api_keys_controller_spec.rb @@ -12,10 +12,9 @@ describe Carto::Api::ApiKeysController do @auth_api_feature_flag.destroy end - def api_key_url(user, id: nil) + def generate_api_key_url(user, id: nil) options = { user_domain: user....
1
diff --git a/token-metadata/0xCee1d3c3A02267e37E6B373060F79d5d7b9e1669/metadata.json b/token-metadata/0xCee1d3c3A02267e37E6B373060F79d5d7b9e1669/metadata.json "symbol": "YFFI", "address": "0xCee1d3c3A02267e37E6B373060F79d5d7b9e1669", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/test/map/MapCameraSpec.js b/test/map/MapCameraSpec.js @@ -150,6 +150,15 @@ describe('#Map.Camera', function () { c2 = map.containerPointToCoordinate(cp); expect(c2).to.be.closeTo(center); }); + + it('containerPoint and point', function () { + map.setPitch(30); + var point = map._containerPointToPoint({ x: ...
3
diff --git a/src/ModelTraits/SpatieTranslatable/HasTranslations.php b/src/ModelTraits/SpatieTranslatable/HasTranslations.php @@ -88,17 +88,18 @@ trait HasTranslations $locale = $attributes['locale'] ?? \App::getLocale(); $attributes = array_except($attributes, ['locale']); + $non_translatable = []; // do the actual sav...
3
diff --git a/src/GlobalDependencyMap.js b/src/GlobalDependencyMap.js @@ -131,11 +131,12 @@ class GlobalDependencyMap { return new Set(); } - let prevDeps = this.getDependantsFor(node).map((entry) => { - if (entry.startsWith(GlobalDependencyMap.COLLECTION_PREFIX)) { + let prevDeps = this.getDependantsFor(node) + .filter...
1
diff --git a/src/map/Map.js b/src/map/Map.js @@ -1684,15 +1684,7 @@ class Map extends Handlerable(Eventable(Renderable(Class))) { */ _get2DExtent(zoom) { const cExtent = this.getContainerExtent(); - const c1 = this._containerPointToPoint(new Point(cExtent.xmin, cExtent.ymin), zoom), - c2 = this._containerPointToPoint(n...
3
diff --git a/package.json b/package.json "cypress:run": "run-s -n -c cypress:run-no-badge report-summary-mocha-full", "build": "rollup -c", "build:watch": "rollup -c --watch", - "start": "web-dev-server --node-resolve", - "start:watch": "web-dev-server --node-resolve --watch", + "start": "web-dev-server --app-index src...
7
diff --git a/src/public/target/sections/Pathways/custom/ReactomeRenderer.js b/src/public/target/sections/Pathways/custom/ReactomeRenderer.js @@ -4,6 +4,7 @@ import React from 'react'; class ReactomeRenderer extends React.Component { componentDidMount() { + try { const { symbol, reactomeId } = this.props; const diagram ...
9
diff --git a/test/jasmine/tests/is_plain_object_test.js b/test/jasmine/tests/is_plain_object_test.js @@ -31,7 +31,8 @@ describe('isPlainObject', function() { new Array(10), new Date(), new RegExp('foo'), - new String('string') + new String('string'), + document.createElement('div') ]; shouldPass.forEach(function(obj) {...
0
diff --git a/src/article/editor/ReplaceSupplementaryFileCommand.js b/src/article/editor/ReplaceSupplementaryFileCommand.js @@ -5,21 +5,21 @@ export default class ReplaceSupplementaryFileCommand extends Command { const xpath = params.selectionState.xpath if (xpath.length > 0) { const selectedType = xpath[xpath.length - ...
14
diff --git a/modules/@apostrophecms/piece-type/index.js b/modules/@apostrophecms/piece-type/index.js @@ -429,9 +429,9 @@ module.exports = { ...properties })); - function getOperationOrGroup (currentOpe, [ groupName, groupProperties ], acc) { + function getOperationOrGroup (currentOp, [ groupName, groupProperties ], acc...
10
diff --git a/src/Components/Navigation.js b/src/Components/Navigation.js @@ -9,29 +9,6 @@ import ScrollToNextSectionLink from "./Navigation/ScrollToNextSectionLink"; import isVideoObj from "../utils/isVideoObj"; import urlFromBinary from "../utils/urlFromBinary"; -function ActualNavigation({ - isLandingPage, - bootstra...
5
diff --git a/magda-scala-common/build.sbt b/magda-scala-common/build.sbt @@ -24,8 +24,8 @@ libraryDependencies ++= { "org.locationtech.jts" % "jts-core" % "1.15.0", "org.elasticsearch" % "elasticsearch" % "6.3.0", - "io.github.t83714" %% "elastic4s-core" % "6.2.9", - "io.github.t83714" %% "elastic4s-http" % "6.2.9", + ...
4
diff --git a/src/commands/Rooms/Create.js b/src/commands/Rooms/Create.js @@ -147,7 +147,7 @@ class Create extends Command { message.guild.defaultRole, message.author, isPublic, useText, ); let category; - if (!ctx.tempCategory) { + if (!ctx.tempCategory || !(message.guild && message.guild.channels.has(ctx.tempCategory)...
3
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -238,7 +238,7 @@ jobs: git config user.name "Lunie Bot" git remote add bot https://${GIT_BOT_TOKEN}@github.com/luniehq/lunie.git git checkout develop -f - git pull -f + git pull git merge origin/master git push
13
diff --git a/src/encoded/tests/test_audit_file.py b/src/encoded/tests/test_audit_file.py @@ -304,44 +304,6 @@ def test_audit_file_read_length_controlled_by_exclusion(testapp, file1_2, assert any(error['category'] != 'inconsistent control read length' for error in errors_list) -def test_audit_file_inconsistent_controlle...
2
diff --git a/includes/Modules/Subscribe_With_Google/EditPost.php b/includes/Modules/Subscribe_With_Google/EditPost.php @@ -110,19 +110,15 @@ final class EditPost { $product_key = Key::from( 'product' ); $free_key = Key::from( 'free' ); $nonce_key = Key::from( 'nonce' ); - // phpcs:disable - // There might be a bug in o...
1
diff --git a/src/server/routes/apiv3/pages.js b/src/server/routes/apiv3/pages.js @@ -313,14 +313,14 @@ module.exports = (crowi) => { const ids = result.pages.map((page) => { return page._id }); const relations = await PageTagRelation.find({ relatedPage: { $in: ids } }).populate('relatedTag'); const relationsMap = new M...
4
diff --git a/app/templates/client/vue2/dev/app.js b/app/templates/client/vue2/dev/app.js import TodoCmp from './todo/components/todo-cmp' import {router} from './app.route' +import Vue from 'vue' +import VueRouter from 'vue-router' + +Vue.use(VueRouter) export default { el: '#app',
0