code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/assets/js/modules/idea-hub/datastore/new-ideas.test.js b/assets/js/modules/idea-hub/datastore/new-ideas.test.js @@ -141,6 +141,25 @@ describe( 'modules/idea-hub new-ideas', () => { expect( newIdeas ).toEqual( fixtures.newIdeas.slice( 0, 3 ) ); } ); + it( 'only fetches once even with different options passe...
11
diff --git a/src/inner-slider.js b/src/inner-slider.js @@ -154,6 +154,15 @@ export class InnerSlider extends React.Component { Array.from(images).forEach(image => { const handler = () => ++loadedCount && (loadedCount >= imagesCount) && this.onWindowResized() + if (!image.onclick) { + image.onclick = () => image.parentN...
0
diff --git a/includes/Core/Util/Tracking.php b/includes/Core/Util/Tracking.php @@ -126,14 +126,15 @@ final class Tracking { } /** - * Is tracking active for this plugin install? + * Is tracking active for the current user? * * @since 1.0.0 + * @since n.e.x.t Tracking is now user-specific. * * @return bool True if track...
12
diff --git a/src/App.js b/src/App.js @@ -15,6 +15,8 @@ import Control from './components/Control.jsx'; import Menu from './components/Menu.jsx'; import Barter from './components/Barter.jsx'; +import rawMapData from './map-data.json'; + const makeID = function makeID(length) { let result = ''; const characters = 'ABCDEF...
9
diff --git a/helpers/peer-frontend/contracts/PeerFrontend.sol b/helpers/peer-frontend/contracts/PeerFrontend.sol @@ -43,10 +43,10 @@ contract PeerFrontend { * @dev if no suitable Peer found, defaults to 0x0 peerLocator * @param _senderAmount uint256 The amount of ERC-20 token the peer would send * @param _senderToken a...
2
diff --git a/docs/docs/caching.md b/docs/docs/caching.md @@ -20,7 +20,7 @@ The `cache-control` header should be `cache-control: public,max-age=31536000,imm ## JavaScript -Other files e.g. JavaScript files are _not_ (yet) cachable. Gatsby v1 is using webpack 1 which doesn't make it possible to produce paths tied directl...
14
diff --git a/edit.js b/edit.js @@ -1233,14 +1233,6 @@ const _resetCamera = () => { pe.camera.updateMatrixWorld(); pe.setCamera(camera); }; -planet.addEventListener('unload', () => { - const oldChunkMesh = _getCurrentChunkMesh(); - if (oldChunkMesh) { - chunkMeshContainer.remove(oldChunkMesh); - chunkMeshes.splice(chunk...
0
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -117,3 +117,17 @@ If you want this to be automatic you can set up some aliases: git config --add alias.amend "commit -s --amend" git config --add alias.c "commit -s" ``` + +# Style Guide + +Prefer to use [flow](https://flow.org/) for new code. + +We use [`prettier`](htt...
0
diff --git a/Source/DataSources/PolylineVolumeGraphics.js b/Source/DataSources/PolylineVolumeGraphics.js @@ -151,7 +151,7 @@ Object.defineProperties(PolylineVolumeGraphics.prototype, { outlineColor: createPropertyDescriptor("outlineColor"), /** - * Gets or sets the numeric Property specifying the width of the outline. ...
3
diff --git a/README.md b/README.md @@ -468,7 +468,7 @@ Also check out [No Whiteboards](https://nowhiteboards.io) to search for jobs at - [numberly](https://www.numberly.com) | Paris, France | Series of interviews, that go over technical background, past experiences and cultural knowledge - [numer.ai](https://angel.co/n...
1
diff --git a/kamu/common_settings.py b/kamu/common_settings.py @@ -89,7 +89,6 @@ REST_FRAMEWORK = { 'rest_framework.permissions.IsAuthenticated', ], 'DEFAULT_PAGINATION_CLASS': ('rest_framework.pagination.PageNumberPagination'), - # TODO lmonteir: reduce pagination 'PAGE_SIZE': 50 }
2
diff --git a/views/recipes.blade.php b/views/recipes.blade.php </th> <th>{{ $__t('Name') }}</th> <th>{{ $__t('Desired servings') }}</th> - <th class="@if(!GROCY_FEATURE_FLAG_STOCK) d-none @endif">{{ $__t('Requirements fulfilled') }}</th> + <th data-shadow-rowgroup-column="7" + class="@if(!GROCY_FEATURE_FLAG_STOCK) d-no...
7
diff --git a/javascript/components/Camera.js b/javascript/components/Camera.js @@ -291,7 +291,7 @@ class Camera extends React.Component { ...pad, }, animationDuration, - animationMode: Camera.Mode.Move, + animationMode: animationDuration === 0.0 ? Camera.Mode.Move : Camera.Mode.Ease, }); }
1
diff --git a/.github/no-response.yml b/.github/no-response.yml # Number of days of inactivity before an Issue is closed for lack of response daysUntilClose: 10 # Label requiring a response -responseRequiredLabel: STATE: Need clarification +responseRequiredLabel: "STATE: Need clarification" # Comment to post when closin...
1
diff --git a/scenes/treehouse.scn b/scenes/treehouse.scn "start_url": "https://webaverse.github.io/silkworm/", "dynamic": true }, - { - "position": [ - 2, - 1, - 0 - ], - "quaternion": [ - 0, - 0, - 0, - 1 - ], - "physics": false, - "start_url": "https://webaverse.github.io/particle-mesh/", - "dynamic": true - }, { "po...
2
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -178,7 +178,7 @@ jobs: docker build -t kindlyops/havenapitest -f havenapi/Dockerfile-hotreload . docker run --volumes-from configs --network container:db -e TEST_DATABASE_URL -e HAVEN_JWK_PATH kindlyops/havenapitest /go/bin/buffalo test docker build -t kindlyo...
12
diff --git a/src/parser.coffee b/src/parser.coffee @@ -50,8 +50,8 @@ class VASTParser @parseXmlDocument(null, [], options, xml, cb) @vent = new EventEmitter() - @track: (templates, errorCode, emittedData) -> - @vent.emit 'VAST-error', VASTUtil.merge(DEFAULT_EVENT_DATA, errorCode, emittedData) + @track: (templates, erro...
0
diff --git a/token-metadata/0xa8892bfc33FA44053a9E402B1839966f4FEc74A4/metadata.json b/token-metadata/0xa8892bfc33FA44053a9E402B1839966f4FEc74A4/metadata.json "symbol": "CUB", "address": "0xa8892bfc33FA44053a9E402B1839966f4FEc74A4", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED" ...
3
diff --git a/accessibility-checker-engine/help-v4/en-US/WCAG20_Elem_Lang_Valid.html b/accessibility-checker-engine/help-v4/en-US/WCAG20_Elem_Lang_Valid.html @@ -63,14 +63,6 @@ For example: </blockquote> ``` -Another example: - -``` -<div> - <p>this is testing if I can add a second copyable example in Help</p> -</div> -...
2
diff --git a/dapps/marketplace/src/components/WaitForTransaction.js b/dapps/marketplace/src/components/WaitForTransaction.js @@ -10,6 +10,8 @@ import withWallet from 'hoc/withWallet' import withConfig from 'hoc/withConfig' import Sentry from 'utils/sentry' +const INVALID_JSON_RPC = 'Invalid JSON RPC response' + const W...
8
diff --git a/src/kite.js b/src/kite.js @@ -636,7 +636,11 @@ const Kite = { } else if (resp.statusCode === 403) { return null; } else if (resp.statusCode === 404) { - return vscode.workspace.rootPath || os.homedir(); + return ( + vscode.workspace.workspaceFolders + ? vscode.workspace.workspaceFolders[0].uri.fsPath + : v...
11
diff --git a/articles/api/management/v2/changes.md b/articles/api/management/v2/changes.md @@ -96,7 +96,8 @@ Auth0's API v2 requires sending an Access Token with specific scope(s). To perfo To use an endpoint, at least one of its available scopes (as listed in [Management API v2 explorer](/api/v2)) must be specified fo...
2
diff --git a/per-seat-subscriptions/client/script.js b/per-seat-subscriptions/client/script.js @@ -445,7 +445,6 @@ function createSubscription(customerId, paymentMethodId, priceId, quantity) { subscription: result, paymentMethodId: paymentMethodId, priceId: priceId, - foo: 'bar', }; }) // Some payment methods require a...
2
diff --git a/articles/support/tickets.md b/articles/support/tickets.md @@ -46,3 +46,7 @@ If you are an existing Appliance customer, you will need to create an Auth0 clou 1. Enter any additional details into the text box and then click the **REPLY** button. If you are the ticket requester and the ticket is assigned to a...
0
diff --git a/sirepo/package_data/static/js/sirepo.js b/sirepo/package_data/static/js/sirepo.js @@ -1615,22 +1615,31 @@ SIREPO.app.factory('requestSender', function(cookieService, errorService, localR if (u.indexOf('/') < 0) { u = self.formatUrl(u, params); } - $window.location.href = u; - if (reload) { - // need to rel...
1
diff --git a/src/plots/polar/polar.js b/src/plots/polar/polar.js @@ -245,6 +245,10 @@ proto.updateLayout = function(fullLayout, polarLayout) { _this.clipPaths.circle.select('path') .attr('d', pathSectorClosed(radius, sector)) .attr('transform', strTranslate(cx - xOffset2, cy - yOffset2)); + + // remove crispEdges - all...
2
diff --git a/util.js b/util.js @@ -141,7 +141,17 @@ const _makeAtlas = (size, images) => { export function mergeMeshes(meshes, geometries, textures) { const size = 512; const images = textures.map(texture => texture && texture.image); - const {atlasCanvas, rects} = _makeAtlas(size, images); + const colorsImage = docume...
0
diff --git a/README.md b/README.md @@ -45,7 +45,7 @@ You can find detailed API reference docs under [Reference > Waterline ORM](http: #### Help -Check out the recommended [community support options](http://sailsjs.com/support) for tutorials and other resources. If you have a specific question, or just need to clarify h...
0
diff --git a/src/docs/data-configuration.md b/src/docs/data-configuration.md @@ -20,6 +20,6 @@ There are a few special data keys you can assign in your data to control how tem ## Advanced -* `eleventyImportCollections`: {% addedin "2.0.0-canary.20" %}Used to inform template dependencies for incremental builds and to re...
10
diff --git a/app/addons/documents/mango/components/ExecutionStats.js b/app/addons/documents/mango/components/ExecutionStats.js // License for the specific language governing permissions and limitations under // the License. import React from 'react'; +import PropTypes from 'prop-types'; import { Popover, OverlayTrigger...
2
diff --git a/server/preprocessing/other-scripts/test/params_pubmed.json b/server/preprocessing/other-scripts/test/params_pubmed.json -{"article_types":["autobiography","bibliography","biography","book illustrations","case reports","classical article","clinical conference","clinical study","clinical trial","clinical tri...
3
diff --git a/smart-contract-extensions/test/hooks/codeRequiredHook.js b/smart-contract-extensions/test/hooks/codeRequiredHook.js @@ -50,6 +50,24 @@ contract('CodeRequiredHook', accounts => { ) }) + it('reverts if adding a zero code', async () => { + await reverts( + hookContract.addCodes(lock.address, [constants.ZERO_A...
7
diff --git a/bin/multielasticdump b/bin/multielasticdump @@ -162,7 +162,7 @@ var dump = function () { indexCounter++ - var input = options.input + '/' + encodeURIComponent(index) + var input = options.input + '/' + encodeURIComponent(index).toLowerCase() var outputData = options.output + '/' + index + '.json' var outpu...
11
diff --git a/README.md b/README.md @@ -102,12 +102,13 @@ For front-end applications and node <v4, please use `require('fluture/es5')`. [<img src="https://raw.github.com/fantasyland/fantasy-land/master/logo.png" align="right" width="82" height="82" alt="Fantasy Land" />][FL] [<img src="https://raw.githubusercontent.com/...
7
diff --git a/package.json b/package.json "start": "electron ./local_modules/electron_main/electron_main.js", "dev": "cross-env NODE_ENV=development electron --no-sandbox ./local_modules/electron_main/electron_main.js", "postinstall": "electron-builder install-app-deps && npm run submodules", - "submodules": "git submod...
3
diff --git a/articles/api-auth/faq.md b/articles/api-auth/faq.md @@ -13,3 +13,12 @@ description: API Authentication and Authorization FAQ **A:** If a single Client needs access tokens for different resource servers, then multiple calls to `/authorize` (that is, multiple executions of the same or different Authorization...
0
diff --git a/CHANGELOG.md b/CHANGELOG.md -------------------------------------------------- <a name="0.13.5"></a> -# [0.13.5](https://github.com/moleculerjs/moleculer/compare/v0.13.4...v0.13.5) (2018-xx-xx) +# [0.13.5](https://github.com/moleculerjs/moleculer/compare/v0.13.4...v0.13.5) (2018-12-09) # New
3
diff --git a/js/background.js b/js/background.js @@ -115,8 +115,12 @@ function Background() { chrome.tabs.query({ 'currentWindow': true, 'active': true - }, function(tabs) { - var tabId = tabs[0].id; + }, function(currentTabs) { + var tabId = currentTabs[0].id; + if (!tabs[tabId]) { + tabs[tab.id] = {'trackers': {}, "t...
9
diff --git a/index.js b/index.js -var app = require('express')(); +var express = require('express'); +var app = express(); var http = require('http').Server(app); var io = require('socket.io')(http); var cryptico = require('cryptico'); +// Server static files +app.use(express.static("tests")); + // The modulos to be us...
11
diff --git a/bin/enforcers/Responses.js b/bin/enforcers/Responses.js const EnforcerRef = require('../enforcer-ref'); const rxCode = /^[1-5]\d{2}$/; -const rxRange = /^[1-5](?:\d|X){2}$/; +const rxRange = /^[1-5]X{2}$/; module.exports = { init: function (data) { @@ -28,15 +28,14 @@ module.exports = { prototype: {}, vali...
1
diff --git a/package.json b/package.json "prepare": "npm run build", "prepublishOnly": "npm run lint && npm run build && npm test", "test": "jest --verbose --silent --runInBand", - "test:cov": "jest --coverage --silent --runInBand", + "test:cov": "jest --coverage --silent --runInBand --collectCoverageFrom=src/**/*.js",...
2
diff --git a/js/feature/textFeatureSource.js b/js/feature/textFeatureSource.js @@ -313,7 +313,7 @@ function packFeatures(features, maxRows) { */ function fixFeatures(features, genome) { - if (!features || features.length === 0) return; + if (!features || features.length === 0) return []; const isBedPE = features[0].chr...
1
diff --git a/physics-manager.js b/physics-manager.js @@ -113,8 +113,9 @@ physicsManager.getRigTransforms = () => rigManager.getRigTransforms(); const animals = []; physicsManager.animals = animals; */ +const gravity = new THREE.Vector3(0, -9.8, 0); const _applyGravity = timeDiff => { - localVector.set(0, -9.8, 0); + lo...
0
diff --git a/spec/models/user_shared_examples.rb b/spec/models/user_shared_examples.rb @@ -795,59 +795,74 @@ shared_examples_for "user models" do end end - describe '#google_maps_api_key' do - it 'overrides organization if organization is nil or blank' do - user = create_user - user.google_maps_api_key.should eq nil - ...
7
diff --git a/src/lib/notifications/backgroundFetch.native.js b/src/lib/notifications/backgroundFetch.native.js @@ -5,7 +5,6 @@ import { useCallback, useEffect } from 'react' import logger from '../logger/js-logger' import { useUserStorage, useWallet } from '../wallet/GoodWalletProvider' import { fireEvent, NOTIFICATION...
0
diff --git a/lib/classes/PluginManager.test.js b/lib/classes/PluginManager.test.js @@ -387,6 +387,7 @@ describe('PluginManager', () => { } let restoreEnv; + let servicePath; beforeEach(() => { ({ restoreEnv } = overrideEnv({ whitelist: ['APPDATA', 'PATH'] })); @@ -394,7 +395,7 @@ describe('PluginManager', () => { serve...
7
diff --git a/environment/core/hlt.hpp b/environment/core/hlt.hpp @@ -111,18 +111,17 @@ namespace hlt { float getDistance(Location l1, Location l2) const { short dx = l1.x - l2.x; short dy = l1.y - l2.y; - return sqrt((dx*dx) + (dy*dy)); + return sqrtf((dx*dx) + (dy*dy)); } float getAngle(Location l1, Location l2) const...
1
diff --git a/generators/server/templates/src/main/java/package/config/WebConfigurer.java.ejs b/generators/server/templates/src/main/java/package/config/WebConfigurer.java.ejs @@ -55,8 +55,10 @@ import org.springframework.core.annotation.Order; <%_ if (!reactive) { _%> import org.springframework.core.env.Environment; im...
2
diff --git a/assets/js/modules/adsense/index.js b/assets/js/modules/adsense/index.js @@ -39,7 +39,6 @@ import { SettingsSetupIncomplete, SettingsView, } from './components/settings'; -import { AdBlockerWarning } from './components/common'; import { DashboardZeroData, DashboardSummaryWidget, @@ -63,18 +62,6 @@ addFilter...
2
diff --git a/src/article/shared/FigureComponent.js b/src/article/shared/FigureComponent.js @@ -29,16 +29,23 @@ export default class FigureComponent extends NodeComponent { _renderCurrentPanel ($$) { let panel = this._getCurrentPanel() return renderModelComponent(this.context, $$, { - model: panel + model: panel, + mode...
7
diff --git a/tutorials/5-binarysearch.md b/tutorials/5-binarysearch.md @@ -194,18 +194,3 @@ function binary_search(array, element) { return binary_search(nArray, element); } ``` ----------------------------------------------------------- -We have now implemented linear and binary search. <br> -As a last step, we need t...
8
diff --git a/src/utils/unescape-html.js b/src/utils/unescape-html.js @@ -9,8 +9,5 @@ module.exports = function (encodedString) { }; return encodedString.replace(translateRe, (match, entity) => { return translate[entity]; - }).replace(/&#(\d+);/gi, (match, numStr) => { - const num = parseInt(numStr, 10); - return String...
2
diff --git a/3.0/resources/fields.md b/3.0/resources/fields.md @@ -504,6 +504,10 @@ DateTime::make('Updated At')->hideFromIndex(), You may customize the display format of your `DateTime` fields using the `format` method. The format must be a format supported by [Moment.js](https://momentjs.com/docs/#/parsing/string-for...
5
diff --git a/codegens/java-okhttp/lib/okhttp.js b/codegens/java-okhttp/lib/okhttp.js @@ -6,7 +6,7 @@ var _ = require('./lodash'), sanitizeOptions = require('./util').sanitizeOptions; // Since Java OkHttp requires to add extralines of code to handle methods with body -const METHODS_WITHOUT_BODY = ['GET', 'HEAD', 'COPY',...
11
diff --git a/docs/api/README.md b/docs/api/README.md @@ -171,6 +171,8 @@ In the case a Saga is cancelled (either manually or using the provided Effects), Creates an Effect description that instructs the middleware to wait for a specified action on the Store. The Generator is suspended until an action that matches `patt...
3
diff --git a/portal/src/components/ProgramOverview/index.js b/portal/src/components/ProgramOverview/index.js @@ -84,7 +84,7 @@ export default function ProgramOverview() { function displayProgramDetails(data) { - const selectedProgram = programsList.find((program) => program.name.toLowerCase() === data.programId.toLower...
9
diff --git a/404.js b/404.js @@ -48,6 +48,7 @@ const _setStoreHtml = async () => { </div> </li> </ul> + <a href="edit.html" class=big-button>Goto HomeSpace</a> <button class=big-button>Mint NFT...</button> </div> <div class=content>
0
diff --git a/src/plugins/submenu/table.js b/src/plugins/submenu/table.js @@ -611,31 +611,85 @@ export default { const vertical = direction === 'vertical'; const contextTable = this.context.table; const currentCell = contextTable._tdElement; + const rows = contextTable._trElements; + const currentRow = contextTable._trE...
3
diff --git a/diorama.js b/diorama.js @@ -1775,6 +1775,46 @@ const createPlayerDiorama = (player, { dioramas.push(diorama); return diorama; }; +function fitCameraToBoundingBox(camera, box, fitOffset = 1.2) { + // const box = new THREE.Box3(); + + // for( const object of selection ) box.expandByObject( object ); + + cons...
0
diff --git a/src/libs/OptionsListUtils.js b/src/libs/OptionsListUtils.js @@ -175,6 +175,7 @@ function getSearchText(report, personalDetailList, isChatRoomOrPolicyExpenseChat _.each(personalDetailList, (personalDetail) => { searchTerms.push(personalDetail.displayName); searchTerms.push(personalDetail.login); + searchTer...
8
diff --git a/test/jasmine/tests/select_test.js b/test/jasmine/tests/select_test.js @@ -62,6 +62,11 @@ function resetEvents(gd) { selectedPromise = new Promise(function(resolve) { gd.on('plotly_selecting', function(data) { + // note that since all of these events test node counts, + // and all of the other tests at some...
2
diff --git a/kamu/prod_settings.py b/kamu/prod_settings.py @@ -9,7 +9,7 @@ if os.environ['ENV'] == 'staging': else: DEBUG = False -ALLOWED_HOSTS = ['staging-kamu.herokuapp.com', 'kamu.herokuapp.com'] +ALLOWED_HOSTS = ['staging-kamu.herokuapp.com', 'kamu.herokuapp.com', 'kamu.thoughtworks-labs.net'] SECRET_KEY = os.envi...
0
diff --git a/package.json b/package.json "test-widgets-pages": "node test/browser-tests-runner/cli.js --pages --automated", "test-widgets-pages-deprecated": "node test/browser-tests-runner/cli.js --pagesDeprecated --automated", "test-widgets-browser-dev": "browser-refresh test/browser-tests-runner/cli.js test/widgets-b...
7
diff --git a/documentation/assertions/any/to-satisfy.md b/documentation/assertions/any/to-satisfy.md @@ -20,7 +20,41 @@ against the corresponding values in the subject: expect({ bar: 'quux', baz: true }, 'to satisfy', { bar: /QU*X/i }); ``` -Can be combined with `expect.it` or functions to create complex +Arrays in the...
3
diff --git a/Tests/web3swiftTests/localTests/BIP44Tests.swift b/Tests/web3swiftTests/localTests/BIP44Tests.swift @@ -57,7 +57,7 @@ final class BIP44Tests: XCTestCase { } private var mockTransactionChecker: MockTransactionChecker = .init() - func testDeriveNoWarn() async throws { + func testDeriveWithoutThrowOnError() a...
7
diff --git a/src/components/Theme.js b/src/components/Theme.js @@ -9,10 +9,10 @@ const { themeShape } = require('../constants/App'); */ export class ThemeProvider extends React.Component { static propTypes = { theme: themeShape } - static childContextTypes = { theme: themeShape } + static childContextTypes = { mxTheme:...
10
diff --git a/controllers/BaseController.php b/controllers/BaseController.php @@ -229,12 +229,12 @@ class BaseController if (!is_bool($value) && !is_array($value)) { $value = self::$htmlPurifierInstance->purify($value); - } // Allow some special chars - if (!is_array($value)) - { + // Maybe also possible through HTMLPur...
11
diff --git a/docs/README.md b/docs/README.md @@ -90,6 +90,6 @@ Cache can be cleared with the following endpoint: Includes raw orbit data from [Space Track](https://www.space-track.org/auth/login), updated hourly. -Space Track data adheres to the standard for [Orbit Data Messages](https://public.ccsds.org/pubs/502x0b2c1...
3
diff --git a/app/components/Registration/AccountRegistrationConfirm.jsx b/app/components/Registration/AccountRegistrationConfirm.jsx @@ -5,12 +5,13 @@ import Clipboard from "react-clipboard.js"; import AccountActions from "actions/AccountActions"; import AccountStore from "stores/AccountStore"; import WalletDb from "st...
14
diff --git a/src/scene/materials/standard-material.js b/src/scene/materials/standard-material.js @@ -408,7 +408,7 @@ class StandardMaterial extends Material { } transform = transform || new Vec4(); - transform.set(tiling.x, tiling.y, offset.x, offset.y); + transform.set(tiling.x, tiling.y, offset.x, 1.0 - tiling.y - of...
9
diff --git a/lib/cartodb/central.rb b/lib/cartodb/central.rb @@ -138,15 +138,6 @@ module Cartodb send_request("api/organizations/#{ organization_name }", nil, :get, [200]) end - # Returns remote organization attributes if response code is 201 - # otherwise returns nil - # luisico asks: Not sure why organization_name is...
2
diff --git a/js/therock.js b/js/therock.js @@ -64,41 +64,40 @@ module.exports = class therock extends Exchange { 'api': { 'public': { 'get': { - // weight of 1 errors - 'funds': 1.05, - 'funds/{id}': 1.05, - 'funds/{id}/orderbook': 1.05, - 'funds/{id}/ticker': 1.05, - 'funds/{id}/trades': 1.05, - 'funds/tickers': 1.05,...
13
diff --git a/src/store/factory/client.js b/src/store/factory/client.js @@ -160,7 +160,7 @@ export const createClient = (network, mnemonic) => { } const AdditionalSwapArgs = { - BTC: rpc.BTC[NetworkArgs.BTC], + BTC: [isTestnet ? 'https://liquality.io/testnet/electrs' : 'https://liquality.io/electrs'], ETH: [isTestnet ? ...
1
diff --git a/app/classifier/tasks/combo/index.cjsx b/app/classifier/tasks/combo/index.cjsx @@ -72,7 +72,7 @@ ComboTask = React.createClass allComboAnnotations.push annotation.value... <g className="combo-task-persist-inside-subject-container"> - {Object.keys(props.taskTypes).map (taskType, idx) -> + {Object.keys(props....
4
diff --git a/lib/core/events.js b/lib/core/events.js @@ -40,9 +40,12 @@ EventEmitter.prototype.request = function() { EventEmitter.prototype.setCommandHandler = function(requestName, cb) { log("setting command handler for: ", requestName); - return this.on('request:' + requestName, function(_cb) { + let listener = func...
2
diff --git a/userscript.user.js b/userscript.user.js @@ -56479,7 +56479,9 @@ var $$IMU_EXPORT$$; // https://www.turboimagehost.com/p/11906711/Asia_2.jpg.html# // http://s5d3.turboimagehost.com/t1/22255196_Margot-Robbie-FocPr5.jpg // http://s5d3.turboimg.net/sp/d00f885d238cb0ecea6f522e9af6b124/Margot-Robbie-FocPr5.jpg -...
7
diff --git a/app/components/Account/CreateAccountPassword.jsx b/app/components/Account/CreateAccountPassword.jsx @@ -381,7 +381,7 @@ class CreateAccountPassword extends React.Component { return ( <div> - <p style={{fontWeight: "bold"}}><Translate content="wallet.congrat" /></p> + <p style={{fontWeight: "normal", fontFa...
14
diff --git a/node/lib/util/repo_ast.js b/node/lib/util/repo_ast.js @@ -530,7 +530,6 @@ in commit ${id}.`); const workdir = args.workdir; assert.isObject(workdir); for (let path in workdir) { - assert.isNotNull(this.d_head); assert.isFalse(this.d_bare); const change = workdir[path]; if (null !== change) {
2
diff --git a/sirepo/package_data/static/js/sirepo-plotting.js b/sirepo/package_data/static/js/sirepo-plotting.js @@ -3345,6 +3345,7 @@ SIREPO.app.directive('particle', function(plotting, plot2dService) { }; $scope.load = function(json) { + $scope.aspectRatio = plotting.getAspectRatio($scope.modelName, json, 4.0 / 7); a...
11
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -173,7 +173,7 @@ npm run regl-codegen to regenerate the regl code. This opens a browser window, runs through all traces with 'regl' in the tags, and stores the captured code into -src/generated/regl-codegen. If no updates are necessary, it would be a no-op, but +[src/ge...
0
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -12,6 +12,14 @@ Additionally, the default Open Graph image URL meta tag will now only be include This change was introduced in [pull request #2673: Allow Open Graph image URL to be customised](https://github.com/alphagov/govuk-frontend/pull/2673). +#### Localise the content l...
11
diff --git a/js/modules/invertTransformation.js b/js/modules/invertTransformation.js 'use strict'; -const biswrap = require('libbiswasm_wrapper'); const baseutils=require("baseutils"); const BaseModule = require('basemodule.js'); const BisWebLinearTransformation = require('bisweb_lineartransformation.js'); @@ -175,7 +1...
2
diff --git a/src/util/camera.js b/src/util/camera.js @@ -7,7 +7,8 @@ var key = require('key-pressed') const panSpeed = 0.4 const scaleSpeed = 0.5 const scaleMax = 3 -const scaleMin = 1.15 +// const scaleMin = 1.15 +const scaleMin = 1.03 function attachCamera(canvas, opts) { opts = opts || {}
11
diff --git a/src/App/components/StoryCard/index.js b/src/App/components/StoryCard/index.js @@ -26,7 +26,7 @@ class Story extends Component { render() { const story = this.props.data; - const storyFrequencyName = helpers.getCurrentFrequency(story.frequency, this.props.frequencies.frequencies).name + const frequency = he...
1
diff --git a/examples/layer-browser/src/utils/grid-aggregator.js b/examples/layer-browser/src/utils/grid-aggregator.js @@ -27,7 +27,7 @@ export function pointsToWorldGrid(points, worldUnitSize) { return accu; }, {}); - const maxHeight = Math.max.apply(null, Object.values(gridHash)); + const maxHeight = Math.max.apply(n...
14
diff --git a/package.json b/package.json { "name": "prettier-atom", "main": "./dist/main.js", - "version": "0.57.3", + "version": "0.58.0", "description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration", "keywords": [ "atom",
6
diff --git a/apiserver/apiserver/web/views.py b/apiserver/apiserver/web/views.py @@ -757,7 +757,7 @@ def get_user_match(intended_user, match_id, *, user_id): model.games.c.map_height, model.games.c.time_played, ]).where( - model.games.c.gameID == match_id + model.games.c.id == match_id )).first() result = { @@ -878,7 +...
1
diff --git a/src/components/signup/SignupState.js b/src/components/signup/SignupState.js @@ -82,6 +82,10 @@ const Signup = ({ navigation, screenProps }: { navigation: any, screenProps: any log.info('Sending new user data', state) saveProfile() try { + // After sending email to the user for confirmation (transition betw...
0
diff --git a/www/tablet/js/widget_knob.js b/www/tablet/js/widget_knob.js @@ -166,10 +166,9 @@ var Modul_knob = function () { return elem; } - function update_lock(dev, par) { - me.elements.filterDeviceReading('lock', dev, par) - .each(function (idx) { - var elem = $(this); + function updateLock(elem, dev, par) { + $.ea...
1
diff --git a/.storybook/storybook-data.js b/.storybook/storybook-data.js @@ -107,19 +107,6 @@ module.exports = [ }, }, }, - { - id: 'dashboard--module-header', - kind: 'Dashboard', - name: 'Module Header', - story: 'Module Header', - parameters: { - fileName: './stories/dashboard.stories.js', - options: { - hierarchyRo...
2
diff --git a/src/core/Core.js b/src/core/Core.js @@ -452,6 +452,24 @@ class Uppy { }) } + /** + * Uninstall and remove a plugin. + * + * @param {Plugin} instance The plugin instance to remove. + */ + removePlugin (instance) { + const list = this.plugins[instance.type] + + if (instance.uninstall) { + instance.uninstall(...
0
diff --git a/src/button/orders.js b/src/button/orders.js @@ -37,11 +37,11 @@ export function validateOrder(orderID : string, { clientID, merchantID, expected const currency = cart.amounts && cart.amounts.total.currencyCode; if (intent !== expectedIntent) { - throw new Error(`Expected intent from order api call to be ${...
7
diff --git a/bin/test b/bin/test @@ -6,15 +6,18 @@ export PATH="$PWD/node_modules/.bin:$PATH" function test_package() { pushd "$1" > /dev/null + shift npm i - npm run travis-test + npm run "$@" popd > /dev/null } -if [[ -n "$1" ]]; then - test_package "$1" +dir="$1" +if [[ -n "$dir" ]]; then + shift + test_package "$di...
7
diff --git a/README.md b/README.md @@ -145,7 +145,7 @@ The component accepts the following props: |:--:|:-----|:-----| |**`title`**|array|Title used to caption table |**`columns`**|array|Columns used to describe table. Must be either an array of simple strings or objects describing a column -|**`data`**|array|Data used...
2
diff --git a/layouts/partials/fragments/copyright.html b/layouts/partials/fragments/copyright.html <ul class="nav ml-lg-auto"> {{- range sort .Site.Menus.copyright_footer }} <li class="nav-item"> - <a class="nav-link py-0 - {{- partial "helpers/text-color.html" (dict "self" $self "light" "white" "dark" "black-50") -}} ...
2
diff --git a/README.md b/README.md @@ -23,6 +23,8 @@ Also install slick-carousel for css and font ```bash npm install slick-carousel +@import "~slick-carousel/slick/slick.css"; +@import "~slick-carousel/slick/slick-theme.css"; ``` or add cdn link in your html @@ -186,4 +188,3 @@ open http://localhost:8080 ### Polyfills...
0
diff --git a/.travis.yml b/.travis.yml +sudo: required +addons: + chrome: stable + language: node_js +node_js: + - "8" install: - npm install - npm install --prefix ./packages/spark-core - npm install --prefix ./packages/spark-extras/components/highlight-board +- npm install -g @angular/cli before_script: - npm run tes...
3
diff --git a/README.md b/README.md @@ -38,7 +38,7 @@ Table of Contents Installation ====== -Requirements: geth (1.5.5 or higher), node (5.0.0) and npm +Requirements: geth (1.5.8 or higher), node (6.9.1 or higher is recommended) and npm Optional: serpent (develop) if using contracts with Serpent, testrpc or ethersim if ...
3
diff --git a/_data/conferences.yml b/_data/conferences.yml place: Sorrento, Italy sub: DM -- title: ICDM - year: 2020 - id: icdm20 - link: http://icdm2020.bigke.org/ - deadline: '2020-06-02 23:59:59' - timezone: UTC-7 - date: November 17-20, 2020 - place: Sorrento, Italy - sub: DM - - title: AACL-IJCNLP year: 2020 id: ...
2
diff --git a/exportutils/export to Foundry VTT.gce b/exportutils/export to Foundry VTT.gce 'By Brian Ronnle, enhanced for Foundry VTT by Chris Normand/Nose66 'Based on the original export filter by Graham Brand (Spyke) ' -Const LastUpdated = 20211129 +Const LastUpdated = 20210609 ' Last Updated: June 9, 2021 ' v1 ' @@ ...
3