code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/pages/docs/manual/latest/installation.mdx b/pages/docs/manual/latest/installation.mdx @@ -58,7 +58,7 @@ If you already have a JavaScript project into which you'd like to add ReScript: ```json "scripts": { "res:build": "rescript", - "res:start": "rescript build -w" + "res:dev": "rescript build -w" } ```
10
diff --git a/src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx b/src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx @@ -7,7 +7,7 @@ import { withUnstatedContainers } from '../../UnstatedUtils'; import { toastSuccess, toastError } from '../../../util/apiNoti...
13
diff --git a/manual_test_websocket/main/test/e2e/ws.e2e.js b/manual_test_websocket/main/test/e2e/ws.e2e.js @@ -356,10 +356,12 @@ describe('serverless', () => { expect(await c2.ws.receive1()).to.equal('Hello World!'); }).timeout(timeout); - it('should receive error code when sending to non existing client via REST API',...
1
diff --git a/protocols/delegate-manager/contracts/DelegateManager.sol b/protocols/delegate-manager/contracts/DelegateManager.sol @@ -38,14 +38,14 @@ contract DelegateManager is Ownable { function createDelegate(ISwap _swapContract) external returns (IDelegate) { require(address(_swapContract) != address(0), "SWAP_ADDRE...
3
diff --git a/app/ui/components/viewers/response-viewer.js b/app/ui/components/viewers/response-viewer.js @@ -28,6 +28,7 @@ class ResponseViewer extends PureComponent { _handleDismissBlocker () { this.setState({blockingBecauseTooLarge: false}); + this._maybeLoadResponseBody(this.props, true); } _handleDisableBlocker () ...
1
diff --git a/src/static/getRoutes.js b/src/static/getRoutes.js @@ -51,7 +51,7 @@ export const normalizeRoute = (route, parent = {}) => { ...route, path: routePath, originalPath: originalRoutePath, - noindex: route.noindex || parent.noindex || route.noIndex, + noindex: typeof route.noindex !== 'undefined' ? route.noInde...
11
diff --git a/local_modules/SendFundsTab/Views/SendFundsView_Base.web.js b/local_modules/SendFundsTab/Views/SendFundsView_Base.web.js @@ -1523,11 +1523,10 @@ class SendFundsView extends View } } // fall through - __proceedTo_generateSendTransaction(self) + __proceedTo_generateSendTransaction() // - function __proceedTo_...
2
diff --git a/ui/js/component/userEmailNew/view.jsx b/ui/js/component/userEmailNew/view.jsx @@ -34,7 +34,7 @@ class UserEmailNew extends React.PureComponent { <FormRow type="text" label="Email" - placeholder="scrwvwls@lbry.io" + placeholder="youremail@example.org" name="email" value={this.state.email} errorMessage={erro...
14
diff --git a/stories/data-table.stories.js b/stories/data-table.stories.js @@ -32,7 +32,7 @@ import { __, _x } from '@wordpress/i18n'; */ import Layout from '../assets/js/components/layout/layout'; import AnalyticsDashboardWidgetTopPagesTable from '../assets/js/modules/analytics/components/dashboard/AnalyticsDashboardW...
4
diff --git a/assets/js/modules/analytics/components/module/ModulePopularPagesWidget/Footer.js b/assets/js/modules/analytics/components/module/ModulePopularPagesWidget/Footer.js @@ -30,11 +30,11 @@ import SourceLink from '../../../../../components/SourceLink'; const { useSelect } = Data; export default function Footer()...
1
diff --git a/packages/bpk-docs/src/pages/StylePage/StylePage.js b/packages/bpk-docs/src/pages/StylePage/StylePage.js @@ -7,7 +7,7 @@ import { cssModules } from 'bpk-react-utils'; import BpkHeading from 'bpk-component-heading'; import BpkParagraph from 'bpk-component-paragraph'; import { colors } from 'bpk-tokens/tokens...
14
diff --git a/app/shared/components/Recommendation/Interface/List/ActiveAndOwnerSame.js b/app/shared/components/Recommendation/Interface/List/ActiveAndOwnerSame.js @@ -13,10 +13,12 @@ class RecommendationInterfaceListActiveAndOwnerSame extends Component<Props> { render() { const { + account, t } = this.props; - const sh...
4
diff --git a/lib/disney/shanghaidisneyresort.js b/lib/disney/shanghaidisneyresort.js @@ -45,6 +45,12 @@ class ShanghaiDisneyResortMagicKingdom extends DisneyBase { get FetchScheduleTimesURL() { return `${this.APIBase}explorer-service/public/ancestor-activities-schedules/shdr;entityType=destination`; } + + HTTP(options)...
11
diff --git a/app/components/Login/DecryptBackup.jsx b/app/components/Login/DecryptBackup.jsx import React, {Component} from "react"; -import ReactDOM from "react-dom"; import PropTypes from "prop-types"; import {connect} from "alt-react"; -import Translate from "react-translate-component"; import {PrivateKey} from "bit...
14
diff --git a/scripts/buildLocalization.js b/scripts/buildLocalization.js @@ -22,13 +22,25 @@ function buildLocalization () { const data = fs.readFileSync(path.join(languageFileDir, file), 'utf-8') let obj + let decommented = null + try { - obj = JSON.parse(decomment(data)) + decommented = decomment(data) + obj = JSON.p...
7
diff --git a/chunk-worker.js b/chunk-worker.js @@ -67,10 +67,10 @@ const _getChunkSpec = (potentials, biomes, heightfield, lightfield, shiftsData, self.Module._doMarchingCubes2( dims.offset, - potentials.offset, - biomes.offset, - heightfield.offset, - lightfield.offset, + potentials.byteOffset, + biomes.byteOffset, + ...
2
diff --git a/app/models/pageflow/image_file.rb b/app/models/pageflow/image_file.rb @@ -30,8 +30,8 @@ module Pageflow medium: '-quality 70 -interlace Plane', large: '-quality 70 -interlace Plane', ultra: '-quality 90 -interlace Plane', - panorama_medium: '-quality 70 -interlace Plane', - panorama_large: '-quality 70 -in...
7
diff --git a/src/ApiGatewayWebSocket.js b/src/ApiGatewayWebSocket.js @@ -34,6 +34,8 @@ module.exports = class ApiGatewayWebSocket { '$request.body.action'; this.hasWebsocketRoutes = false; this._experimentalWarningNotified = false; + + this._init(); } printBlankLine() { @@ -42,7 +44,7 @@ module.exports = class ApiGatew...
0
diff --git a/test/jasmine/tests/hover_label_test.js b/test/jasmine/tests/hover_label_test.js @@ -2778,6 +2778,75 @@ describe('Hover on axes with rangebreaks', function() { .then(done); }); + it('should work when rangebreaks are present on x-axis (reversed range)', function(done) { + Plotly.plot(gd, [{ + mode: 'lines', ...
0
diff --git a/src/components/Breadcrumbs/Readme.md b/src/components/Breadcrumbs/Readme.md page using Breadcrumb - Selected /Focused <article className="slds-p-bottom_xx-large slds-m-bottom_xx-large"> + <GlobalHeader src="images/avatar2.jpg"> + <ButtonGroup> + <ButtonIcon iconName="utility:edit" variant="border-filled" /...
7
diff --git a/packages/cx/src/charts/PieChart.js b/packages/cx/src/charts/PieChart.js @@ -247,7 +247,7 @@ export class PieSlice extends Container { disabled: data.disabled, selected: this.selection.isInstanceSelected(instance), style: data.style, - shape: 'rect', + shape: this.legendShape, onClick: e=> { this.onLegendCl...
11
diff --git a/articles/quickstart/spa/cyclejs/01-login.md b/articles/quickstart/spa/cyclejs/01-login.md @@ -58,13 +58,7 @@ All the available configurable parameters are supported, see [User configurable After authentication, the `protect` function will handle the token parsing and store it to `localStorage`. -## 4. Conf...
2
diff --git a/login.js b/login.js @@ -175,6 +175,33 @@ async function tryLogin() { loginManager.setAvatar(null); }); */ + const userName = document.getElementById('user-name'); + userName.addEventListener('click', e => { + userName.setAttribute('contenteditable', ''); + userName.focus(); + userName.addEventListener('blu...
0
diff --git a/src/js/row_manager.js b/src/js/row_manager.js @@ -48,9 +48,7 @@ var RowManager = function(table){ //initialize manager self.element.append(self.tableElement); - if(!self.table.options.fitColumns){ self.firstRender = true; - } //scroll header along with table body self.element.scroll(function(){ @@ -285,6 +...
3
diff --git a/source/themes/simple/SimpleCheckbox.scss b/source/themes/simple/SimpleCheckbox.scss // OVERRIDABLE CONFIGURATION VARIABLES $checkbox-size: 23px !default; -$checkbox-border-color: #2F496E !default; +$checkbox-border-color: #2f496e !default; $checkbox-border-disabled-color: $theme-color-disabled !default; $c...
7
diff --git a/packages/openneuro-app/src/scripts/datalad/download/download-link.jsx b/packages/openneuro-app/src/scripts/datalad/download/download-link.jsx @@ -7,15 +7,15 @@ import config from '../../../../config.js' import datalad from '../../utils/datalad' const startDownload = uri => { - ReactGA.event({ - category: '...
4
diff --git a/src/navigation/checkout/ProductOptions.js b/src/navigation/checkout/ProductOptions.js @@ -22,18 +22,47 @@ class ProductOptions extends Component { const { product } = this.props.navigation.state.params const { options } = this.state - const optionsKeys = _.keys(options) + for (let i = 0; i < product.menuAd...
9
diff --git a/react/src/base/inputs/SprkDatePicker/SprkDatePicker.js b/react/src/base/inputs/SprkDatePicker/SprkDatePicker.js @@ -103,12 +103,11 @@ SprkDatePicker.propTypes = { datePickerConfig: PropTypes.shape({ /** * What DOM element the Date Picker will be added to. This defaults - * to document.body + * to `document...
3
diff --git a/website/js/components/designer/index.vue b/website/js/components/designer/index.vue @click="header.sortable ? changeSort(header.value) : null") v-icon(v-if="tab==='questions' && header.sortable") arrow_upward span {{header.text}} - span.buttons + th.d-flex.pa-0 span(v-if="selectAll | selectedMultiple") del...
7
diff --git a/src/agent/log.js b/src/agent/log.js 'use strict'; const config = require('./config'); -const utils = require('./lib/utils'); const logs = []; const traces = {}; function traceEmit (msg) { + const { wrapStanza } = require('./lib/utils'); // Workaround fix: By some reason the reference is not obtained global...
1
diff --git a/src/functions.js b/src/functions.js @@ -420,21 +420,14 @@ _._Trap = self.Proxy? new Proxy(_, { return; } - if (Mavo.Actions.running && property in Mavo.Actions.Functions) { - return Mavo.Actions.Functions[property]; - } - - var canonicalProperty = Mavo.getCanonicalProperty(functions, property) - || Mavo.ge...
11
diff --git a/conf/evolutions/default/129.sql b/conf/evolutions/default/129.sql @@ -13,12 +13,12 @@ INSERT INTO tag (label_type_id, tag) SELECT label_type_id, 'button waist height' DELETE FROM label_tag USING tag, label_type WHERE label_tag.tag_id = tag.tag_id - AND label_tag.label_type_id = label_type.label_type_id + A...
1
diff --git a/sockets/sockets.js b/sockets/sockets.js @@ -1748,7 +1748,6 @@ module.exports = function (io) { socket.on("gameMove", function(data){ if (rooms[socket.request.user.inRoomId]) { rooms[socket.request.user.inRoomId].gameMove(socket, data); - } if(rooms[socket.request.user.inRoomId].finished === true){ deleteSa...
1
diff --git a/README.md b/README.md @@ -23,6 +23,7 @@ To do so, it starts an HTTP server that handles the request's lifecycle like API - [AWS API Gateway Features](https://github.com/dherault/serverless-offline#aws-api-gateway-features) - [Velocity nuances](https://github.com/dherault/serverless-offline#velocity-nuances...
0
diff --git a/spec/requests/carto/api/api_keys_controller_spec.rb b/spec/requests/carto/api/api_keys_controller_spec.rb @@ -351,25 +351,25 @@ describe Carto::Api::ApiKeysController do Carto::ApiKey.where(name: 'wadus').each(&:destroy) end - # context 'without enough regular api key quota' do - # before(:all) do - # @car...
2
diff --git a/packages/laconia-aws-batch/integration-test/dynamodb-batch-handler.spec.js b/packages/laconia-aws-batch/integration-test/dynamodb-batch-handler.spec.js @@ -64,7 +64,7 @@ describe("dynamodb batch process", () => { AWSMock.restore(); }); - describe("when no recursion is needed", () => { + describe("when fini...
10
diff --git a/src/components/nodes/boundaryTimerEvent/boundaryTimerEvent.vue b/src/components/nodes/boundaryTimerEvent/boundaryTimerEvent.vue @@ -48,7 +48,7 @@ export default { mixins: [boundaryEventSwitcher, portsConfig], watch: { 'node.definition.cancelActivity'(value) { - this.dashed(value); + this.renderBoundaryTime...
10
diff --git a/bin/ungit b/bin/ungit @@ -29,7 +29,7 @@ const navigate = (override) => { let pathToNavigateTo = null; if (config.forcedLaunchPath !== undefined && config.forcedLaunchPath !== '') { pathToNavigateTo = `${config.urlBase}:${config.port}${config.rootPath}/#/repository?path=${encodeURIComponent(config.forcedLau...
12
diff --git a/src/components/IOUBadge.js b/src/components/IOUBadge.js @@ -6,6 +6,7 @@ import ONYXKEYS from '../ONYXKEYS'; import styles from '../styles/styles'; import compose from '../libs/compose'; import withLocalize, {withLocalizePropTypes} from './withLocalize'; +import CONST from '../CONST'; const propTypes = { /*...
12
diff --git a/docs/http.md b/docs/http.md @@ -15,7 +15,7 @@ npm install marko --save require("marko/node-require").install(); const http = require("http"); -const server = require("http").createServer(); +const server = http.createServer(); const port = 8080; const indexTemplate = require("./index.marko");
4
diff --git a/src/components/BugBountyCards.js b/src/components/BugBountyCards.js @@ -109,8 +109,7 @@ const Text = styled.div` ` // TODO move data into array & loop through -const BugBountyCards = () => { - return ( +const BugBountyCards = () => ( <CardRow> <Card> <LowLabel> @@ -254,6 +253,5 @@ const BugBountyCards = ()...
7
diff --git a/src/pages/DetailsPage.js b/src/pages/DetailsPage.js import React from 'react'; -import {View, ScrollView, ActivityIndicator} from 'react-native'; +import {View, ScrollView} from 'react-native'; import PropTypes from 'prop-types'; import {withOnyx} from 'react-native-onyx'; import Str from 'expensify-common...
14
diff --git a/graveyard.json b/graveyard.json "type": "app" }, { - "dateClose": "2021-03-09", - "dateOpen": "2015-04-29", - "description": "Microsoft Edge is a web browser and it is the successor of Internet Explorer.", + "dateClose": "2020-05-27", + "dateOpen": "2014-11-12", + "description": "EdgeHTML was a proprietary...
14
diff --git a/packages/cx/src/widgets/overlay/Overlay.js b/packages/cx/src/widgets/overlay/Overlay.js @@ -602,7 +602,7 @@ export class OverlayComponent extends VDOM.Component { this.shadowEl, "wheel", (e) => { - if (e.deltaY == 0) return; + if (e.shiftKey) return; //check if there is a scrollable element within the shad...
11
diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -61,10 +61,13 @@ jobs: JHI_APP: vuejs-oauth2 vuejs-couchbase: JHI_APP: vuejs-couchbase + JHI_ENTITY: couchbase vuejs-mongodb-kafka-cucumber: JHI_APP: vuejs-mongodb-kafka-cucumber + JHI_ENTITY: mongodb vuejs-session-cassandra-fr: JHI_APP: vuejs-session-cassandra-...
3
diff --git a/tests/end2end/helpers/E2EGlobal.js b/tests/end2end/helpers/E2EGlobal.js @@ -71,6 +71,7 @@ export class E2EGlobal { || message.includes('Element is not clickable at point'); if (!retryMakesSense) { + console.log(`Unexpected exception: ${e}`); throw e; } }
7
diff --git a/package.json b/package.json "dev": "webpack-dev-server --config=build/webpack.dev.config.js", "start": "npm run dev", "rollup": "node build/rollup.js", - "clean": "rm -rf lib/*", + "clean": "rimraf lib/*", "prepare-package": "node build/prepare-package", "build": "npm run clean && npm run lint && npm run r...
14
diff --git a/articles/hosted-pages/login/index.md b/articles/hosted-pages/login/index.md @@ -69,9 +69,13 @@ In the [Dashboard](${manage_url}), you can enable a custom Hosted Login Page by In order to get started using the Hosted Login Page, you'll first want to choose the technology that you'd like to use to power it. ...
0
diff --git a/polyfills/HTMLPictureElement/config.json b/polyfills/HTMLPictureElement/config.json { "browsers": { - "ie": "7 - *", + "ie": "7 - 12", "ie_mob": "10 - *", "firefox": "4 - 37", "opera": "11.6 - 29", - "safari": "6 - *", + "safari": "6 - 9", "chrome": "* - 38", - "ios_saf": "*", + "ios_saf": "* - 9.2", "fire...
3
diff --git a/edit.js b/edit.js @@ -407,6 +407,11 @@ const [ meshQuaternion: allocator.alloc(Float32Array, 4), result: allocator.alloc(Uint32Array, 1), }; + const registerStaticGeometryArgs = { + position: allocator.alloc(Float32Array, 3), + quaternion: allocator.alloc(Float32Array, 4), + result: allocator.alloc(Uint32A...
0
diff --git a/js/webcomponents/bisweb_studypanel.js b/js/webcomponents/bisweb_studypanel.js @@ -224,11 +224,13 @@ class StudyPanel extends HTMLElement { this.updateFileTree(fileinfo.files, baseDir, fileinfo.type); if (parsedData.tasks) { - this.taskManager.setTaskData(parsedData.tasks, false); + bisweb_taskutils.parseFi...
1
diff --git a/src/content/bridges/index.md b/src/content/bridges/index.md @@ -122,8 +122,8 @@ Bridges are crucial to onboarding users onto Ethereum L2s, and even for users wh ## Further reading {#further-reading} -- [What Are Cross-Chain Bridges?](https://www.alchemy.com/overviews/cross-chain-bridges) _May 10, 2022 - Al...
5
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/UserDimensionsPieChart.js b/assets/js/modules/analytics/components/dashboard/DashboardAllTrafficWidget/UserDimensionsPieChart.js @@ -196,7 +196,7 @@ export default function UserDimensionsPieChart( props ) { `<p> <a href="${ url }" -...
2
diff --git a/aura-impl/src/main/resources/aura/Aura.js b/aura-impl/src/main/resources/aura/Aura.js @@ -39,6 +39,8 @@ Aura.bootstrapMark = function (mark, value) { // - all files required for bootstrap are loaded with sync <script> tags // - DOMContentLoaded is fired after DOM is ready, which includes executing all sync...
9
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -822,12 +822,78 @@ class Nodder { } } +const g = new THREE.BoxBufferGeometry(0.05, 0.05, 0.05); +const m = new THREE.MeshBasicMaterial({ color: 0xFF00FF }); +const testMesh = new THREE.Mesh(g, m); +scene.add(testMesh); class Looker { - update() { + constructor(ava...
0
diff --git a/src/Esquio.UI.Client/Pages/ProductsDetail.razor b/src/Esquio.UI.Client/Pages/ProductsDetail.razor </td> <td class="table-component__action"> <i title="Archive" - class="fas fa-file-archive-o" + class="fas fa-archive" @onclick="@(() => ArchiveFeature(feature.Name))" @onclick:stopPropagation> </i>
12
diff --git a/userscript.user.js b/userscript.user.js @@ -33848,13 +33848,30 @@ var $$IMU_EXPORT$$; if (domain === "img.oppaisan.com" || // http://megamich.com/lib/thumb300.php?p=L2hvbWUvb2ZsZXg5ODkxL3B1YmxpY19odG1sL19tZWdhbWkvd3AtY29udGVudC91cGxvYWRzL2ltZy9nZWlub3VfMjAxNzA4MDkvMjcuanBn&w=300&r= // http://megamich.com/l...
7
diff --git a/.github/workflows/Publish_to_Github_Pages.yml b/.github/workflows/Publish_to_Github_Pages.yml @@ -16,10 +16,6 @@ jobs: - name: Install and Build run: | cd app_web - sudo apt update - sudo apt install nodejs npm - node -v - npm -v npm install npm run build
2
diff --git a/a11y-rule-benchmark/achecker.js b/a11y-rule-benchmark/achecker.js @@ -2,6 +2,8 @@ module.exports = { // optional - Specify the rule archive // Default: latest // Run `npx aat archives` for a list of valid ruleArchive ids and policy ids + ruleServer: "https://localhost:9445/rules", + ignoreHTTPSErrors: true...
3
diff --git a/source/foundation/ObservableProps.js b/source/foundation/ObservableProps.js @@ -532,19 +532,23 @@ export default { const key = path.slice( 0, nextDot ); const value = this.get( key ); const restOfPath = path.slice( nextDot + 1 ); - const observers = meta( this ).observers[ key ]; + const observers = meta( ...
2
diff --git a/src/lib/validators/__tests__/validateFullName.js b/src/lib/validators/__tests__/validateFullName.js @@ -55,6 +55,17 @@ describe('validations', () => { // Then expect(errorMessage !== '').toBeTruthy() }) + + it(`should pass if first name and last name have more than 2 chars long and they only have character...
0
diff --git a/src/components/Visualizations/Table/HeroImage.css b/src/components/Visualizations/Table/HeroImage.css display: flex; position: relative; height: 100%; + align-items: center; } .parsed { - position: absolute; + position: relative;; left: -24px; width: 2px; height: 29px; - align-self: center; background-colo...
1
diff --git a/html/tests/ssnInput.tests.js b/html/tests/ssnInput.tests.js /* global document describe it beforeEach afterEach window */ import sinon from 'sinon'; import { expect } from 'chai'; -import { formatSSN, ssnInput, bindUIEvents } from '../base/ssnInput'; +import { formatSSN, ssnInput, bindUIEvents } from '../b...
3
diff --git a/src/og/layer/CanvasTiles.js b/src/og/layer/CanvasTiles.js * @module og/layer/CanvasTiles */ -'use strict'; +"use strict"; -import * as quadTree from '../quadTree/quadTree.js'; -import { Layer } from './Layer.js'; +import * as quadTree from "../quadTree/quadTree.js"; +import { Layer } from "./Layer.js"; /**...
2
diff --git a/package.json b/package.json "style": "dist/css/tabulator.css", "main": "dist/js/tabulator.js", "module": "dist/js/tabulator_esm.js", - "sideEffects": false, + "sideEffects": [ + "**/*.css", + "**/*.scss" + ], "scripts": { "build": "rollup -c build/rollup.js", "dev": "rollup -c build/rollup.js -w --environm...
1
diff --git a/src/controllers/orbit-controller.js b/src/controllers/orbit-controller.js /* global window */ -import React, {Component, PropTypes} from 'react'; +import {Component, PropTypes, createElement} from 'react'; import {PerspectiveViewport} from 'deck.gl'; import {vec3} from 'gl-matrix'; @@ -20,7 +20,34 @@ const...
2
diff --git a/commands/remote.js b/commands/remote.js @@ -61,8 +61,9 @@ module.exports = { _.forEach(remoteConfig.modules, function(version, module) { var repoModuleVersion = pkgJson.dependencies[module] || pkgJson.devDependencies[module]; if (repoModuleVersion && repoModuleVersion !== 'latest') { - var satisfies = semv...
7
diff --git a/server/interpreter.js b/server/interpreter.js @@ -1640,7 +1640,7 @@ Interpreter.legalArrayIndex = function(x) { Interpreter.prototype.createFunctionFromAST = function(node, scope, source) { var func = new this.Function; func.addPrototype(); - func.parentScope = scope; + func.outerScope = scope; func.node =...
10
diff --git a/modules/xmpp/ChatRoom.js b/modules/xmpp/ChatRoom.js @@ -618,6 +618,11 @@ export default class ChatRoom extends Listenable { * @param from */ onPresenceUnavailable(pres, from) { + // ignore presence + if ($(pres).find('>ignore[xmlns="http://jitsi.org/jitmeet/"]').length) { + return true; + } + // room destr...
11
diff --git a/src/scripts/index.jsx b/src/scripts/index.jsx @@ -35,7 +35,7 @@ let App = React.createClass({ return ( <span> <div className={'page' + pageClasses}> - {!bowser.chrome ? <Happybrowser /> : null } + {!bowser.chrome && !bowser.chromium ? <Happybrowser /> : null } <span className={'nav-alert-state-' + alertSta...
11
diff --git a/README.md b/README.md @@ -50,3 +50,54 @@ Running slow (overnight) tests: ``` make runslow | tee raport.txt ``` + + +# Deploying with truffle +### Installation +Requires node.js >= 8 + +Install dependencies: +``` +npm install +``` + + +### Deploying +Deploying the contracts requires three accounts: +1. `DEP...
0
diff --git a/content/questions/inceptionloop/index.md b/content/questions/inceptionloop/index.md @@ -13,7 +13,7 @@ answers: In which direction will the following code scan an image? ```javascript -const image = new Image; +const image = new Image(); const maxHeight = image.height + 1; const maxWidth = image.width + 1; ...
0
diff --git a/config/cards.yml b/config/cards.yml articles: - title: "Lock for Web" - url: "/libraries/lock" + url: "/libraries/lock/v11" - title: "Lock for iOS" - url: "/libraries/lock-ios" + url: "/libraries/lock-ios/v2" - title: "Lock for Android" - url: "/libraries/lock-android" + url: "/libraries/lock-android/v2" -...
3
diff --git a/edit.js b/edit.js @@ -1248,7 +1248,7 @@ loginManager.addEventListener('avatarchange', async e => { const _changeInventory = inventory => { inventorySubtabContent.innerHTML = inventory.map(item => `\ - <div class=item> + <div class=item draggable=true> <img class=screenshot> <div class=name>${item.name}</di...
0
diff --git a/dual-contouring.js b/dual-contouring.js @@ -26,9 +26,11 @@ w.free = address => { }; let chunkSize = defaultChunkSize; +let inst = null; w.initialize = (newChunkSize, seed) => { Module._initialize(newChunkSize, seed); chunkSize = newChunkSize; + inst = Module._createInstance(); }; const cubeDamage = damageF...
0
diff --git a/lib/plugins/interactiveCli/setupAws.js b/lib/plugins/interactiveCli/setupAws.js @@ -83,7 +83,9 @@ const steps = { process.stdout.write( `\n${chalk.green( `AWS credentials saved on your machine at ${chalk.bold( - '~/.aws/credentials' + process.platform === 'win32' + ? '%userprofile%\\.aws\\credentials' + : ...
7
diff --git a/src/components/FormComponents/phoneNumber.spec.js b/src/components/FormComponents/phoneNumber.spec.js @@ -131,17 +131,17 @@ describe('phoneNumber', function () { done(); }); - it('Sets a invalid input for single phoneNumber', function(done) { - const element = render( - <PhoneNumber - component={component}...
2
diff --git a/test/jasmine/tests/legend_scroll_test.js b/test/jasmine/tests/legend_scroll_test.js var Plotly = require('@lib/index'); var Lib = require('@src/lib'); +var Drawing = require('@src/components/drawing'); var constants = require('@src/components/legend/constants'); var DBLCLICKDELAY = require('@src/plot_api/p...
0
diff --git a/src/server/service/config-pubsub/nchan.js b/src/server/service/config-pubsub/nchan.js @@ -123,6 +123,7 @@ class NchanDelegator extends ConfigPubsubDelegator { const url = this.constructUrl(this.publishPath).toString(); const socket = new ReconnectingWebSocket(url, [], { WebSocket, + maxRetries: 3, startClo...
12
diff --git a/.travis.yml b/.travis.yml @@ -62,6 +62,13 @@ matrix: GITHUB_USERNAME=camptocamp API=TRUE APPS_GMF=TRUE + allow_failures: + - node_js: "6" + env: > + DO_EXAMPLES_DEPLOY=TRUE + GIT_REMOTE_NAME=origin + GITHUB_USERNAME=camptocamp + EXAMPLES_NGEO=TRUE cache: apt: true
11
diff --git a/packages/app/test/integration/service/user-groups.test.ts b/packages/app/test/integration/service/user-groups.test.ts @@ -151,10 +151,10 @@ describe('UserGroupService', () => { const updatedUserGroup = await crowi.userGroupService.updateGroup( userGroup4._id, userGroup4.name, userGroup4.description, groupI...
10
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js @@ -27,7 +27,7 @@ RED.utils = (function() { level: 'block', // Is this a block-level or inline-level tokenizer? start(src) { if (!src) { return null; } - let m = src.match(/:[...
7
diff --git a/articles/api-auth/tutorials/verify-access-token.md b/articles/api-auth/tutorials/verify-access-token.md @@ -15,10 +15,6 @@ This document lists all the validations that your API should perform: <div class="alert alert-info"><a href="https://jwt.io/">JWT.io</a> provides a list of libraries that can do most o...
2
diff --git a/examples/poc-gui-editor.html b/examples/poc-gui-editor.html @@ -241,9 +241,6 @@ function startApp() { attributesString += ' "' + name + '"="' + attributes[name] + '"'; } } - if (shape) { - attributesString += ' shape=' + shape; - } var newNodeString = ' ' + nodeName + ' [' + attributesString + ']'; dotSrcL...
12
diff --git a/test-complete/nodejs-optic-from-triples.js b/test-complete/nodejs-optic-from-triples.js @@ -472,5 +472,47 @@ describe('Node.js Optic from triples test', function(){ }, done); }); + it('TEST 12 - empty results', function(done){ + const bb = op.prefixer('http://marklogic.com/baseball/players/foo'); + const t...
0
diff --git a/src/WebformBuilder.js b/src/WebformBuilder.js @@ -966,7 +966,7 @@ export default class WebformBuilder extends Component { (Array.isArray(component.columns) && component.columns.length) ); - if (this.options.askForComponentsRemoval || removingComponentsGroup) { + if (this.options.alwaysConfirmComponentRemov...
10
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editors/monaco.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editors/monaco.js @@ -648,6 +648,7 @@ RED.editor.codeEditor.monaco = (function() { strictPropertyInitialization: true, strictFunctionTypes: true, str...
11
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -218,7 +218,7 @@ jobs: docker run --volumes-from configs --network net0 -e API_SERVER -e AUTH_SERVER --workdir /usr/src/app kindlyops/apitest cucumber echo $WEBUI_TEST_CERT|base64 -d - > fullchain.pem echo $WEBUI_TEST_KEY|base64 -d - > privkey.pem - docker run...
4
diff --git a/test/net/networking_engine_unit.js b/test/net/networking_engine_unit.js @@ -285,6 +285,23 @@ describe('NetworkingEngine', /** @suppress {accessControls} */ function() { done(); }); }); + + it('fills in defaults for partial request objects', function(done) { + var originalRequest = { + uris: ['resolve://foo...
7
diff --git a/app/features/utils.js b/app/features/utils.js @@ -22,14 +22,14 @@ export function rgb2hex(rgb) { } let timeoutMap = {} -export function showHideSelected(el) { +export function showHideSelected(el, duration = 750) { el.setAttribute('data-selected-hide', true) if (timeoutMap[el]) clearTimeout(timeoutMap[el])...
11
diff --git a/.travis.yml b/.travis.yml @@ -12,6 +12,9 @@ addons: packages: - unzip - g++-4.8 +before_install: + - git config --global user.name "Travis CI" + - git config --global user.email "travis@flowtyped.com" script: ./travis.sh cache: directories:
12
diff --git a/src/Cart.js b/src/Cart.js import _ from 'underscore'; class CartItem { - constructor(cart, offer) { + constructor(cart, menuItem) { this.cart = cart; - this.offer = offer; + this.menuItem = menuItem; this.quantity = 1; - this.deliveryAddress = null; } decrement() { if (this.quantity > 0) { @@ -18,11 +17,14...
4
diff --git a/test/reducers/__snapshots__/payment.spec.js.snap b/test/reducers/__snapshots__/payment.spec.js.snap @@ -6,6 +6,7 @@ Object { "paymentLoading": true, "payments": Array [], "sendingPayment": false, + "showSuccessPayScreen": false, } `; @@ -15,6 +16,7 @@ Object { "paymentLoading": false, "payments": Array [],...
1
diff --git a/src/components/Combos/Combos.jsx b/src/components/Combos/Combos.jsx @@ -104,17 +104,28 @@ SelectedHeroes.propTypes = { teamB: PropTypes.arrayOf(PropTypes.number), }; +function asArray(value) { + if (Array.isArray(value)) { + return value; + } + if (!value) { + return []; + } + return [value]; +} + class Co...
1
diff --git a/lib/assets/core/locale/en.json b/lib/assets/core/locale/en.json "icons": "Icons", "modal-desc": "or just use our nice selection", "modal-title": "Select marker image", - "pin-icons": "Pin Icons", "set-image": "Set image", - "simple-icons": "Simple Icons", "upload-file": "Upload file", "upload-asset": "Uplo...
2
diff --git a/packages/app/src/components/PageRenameModal.jsx b/packages/app/src/components/PageRenameModal.jsx @@ -65,8 +65,7 @@ const PageRenameModal = (props) => { const updateSubordinatedList = useCallback(async() => { try { const res = await apiv3Get('/pages/subordinated-list', { path }); - const { subordinatedPath...
10
diff --git a/lib/index.js b/lib/index.js @@ -168,7 +168,8 @@ var Embark = (function () { } function initTests () { - return require('./core/test.js'); + var Test = require('./core/test.js'); + return new Test(options); } // TODO: should deploy if it hasn't already
13
diff --git a/tests/test_Issuance.py b/tests/test_Issuance.py @@ -87,8 +87,7 @@ class TestIssuance(HavvenTestCase): mine_tx(self.havven_contract.functions.updatePrice(price, time).transact({'from': sender}), 'updatePrice', 'Havven') def test_issue(self): - tx = self.havven.endow(MASTER, MASTER, 1000 * UNIT) - self.asser...
2
diff --git a/Source/Scene/Camera.js b/Source/Scene/Camera.js @@ -370,6 +370,9 @@ Camera.prototype._updateCameraChanged = function () { var headingChangedPercentage = Math.abs(camera._changedHeading - currentHeading) / Math.PI; + if (headingChangedPercentage > 1.98) { + headingChangedPercentage = 0.00555556; + } if (hea...
9
diff --git a/packages/bitcore-client/src/encryption.ts b/packages/bitcore-client/src/encryption.ts -import { createHash, createCipheriv, createDecipheriv, randomBytes } from 'crypto'; -import bitcore from 'bitcore-lib' +import { + createHash, + createCipheriv, + createDecipheriv, + randomBytes +} from 'crypto'; +import...
3