code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/articles/libraries/lock/v10/customization.md b/articles/libraries/lock/v10/customization.md @@ -50,7 +50,8 @@ var lock = new Auth0Lock('clientID', 'account.auth0.com', options);
| Option | Description |
| --- | --- |
| [auth](#auth-object-) | The auth object contains the below auth options |
-| [autoParseH... | 0 |
diff --git a/config/bis_createutil.js b/config/bis_createutil.js @@ -122,7 +122,7 @@ let initialize=function(DIR) {
copyFileSync2(WASMDIR, `libbiswasm.wasm`, DIR, `wasm`);
copyFileSync2(WASMDIR, `libbiswasm_nongpl.wasm`, DIR, `wasm`);
copyFileSync2(WASMDIR, `libbiswasm_wrapper.js`, DIR, `wasm`);
-}
+};
module.exports =... | 1 |
diff --git a/create-snowpack-app/cli/README.md b/create-snowpack-app/cli/README.md @@ -37,4 +37,5 @@ npx create-snowpack-app new-dir --template @snowpack/app-template-NAME [--use-ya
- [snowpack-template-tailwind](https://github.com/jonalvarezz/snowpack-template-tailwind) (Snowpack + TailwindCSS + Autopublish to GitHub ... | 0 |
diff --git a/src/interfaces/plugins.ts b/src/interfaces/plugins.ts @@ -276,6 +276,9 @@ module.exports = (theApp: any) => {
debug('Plugins disabled by configuration')
options.enabled = false
}
+ if (!options.configuration) {
+ options.configuration = {}
+ }
debug(optionsAsString)
return options
} catch (e) {
| 1 |
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 @@ -97,8 +97,8 @@ RED.editor.codeEditor.monaco = (function() {
}
const defaultServerSideTypes = [ knownModules["node-red-util"], kn... | 2 |
diff --git a/assets/sass/components/adminbar/_googlesitekit-adminbar.scss b/assets/sass/components/adminbar/_googlesitekit-adminbar.scss @include shadow;
background: $c-base;
color: $c-black;
- display: none;
left: 0;
padding: 0;
position: absolute;
}
}
- // Display sub menu on hover.
- &:not(.nojs) .googlesitekit-wp-a... | 2 |
diff --git a/test/jasmine/tests/mock_test.js b/test/jasmine/tests/mock_test.js @@ -1313,6 +1313,7 @@ figs['date_axes_period_breaks_automargin'] = require('@mocks/date_axes_period_br
figs['date_histogram'] = require('@mocks/date_histogram');
// figs['dendrogram'] = require('@mocks/dendrogram');
figs['display-text_zero-n... | 0 |
diff --git a/articles/multifactor-authentication/factors/email.md b/articles/multifactor-authentication/factors/email.md @@ -9,25 +9,22 @@ contentType:
---
# MFA with Email
-Using email as an MFA factor is useful when you want to provide users a way to perform MFA when they don't have a mobile device.
+Using email as a... | 3 |
diff --git a/apps.json b/apps.json "name": "Test User Input",
"shortName":"Test User Input",
"icon": "app.png",
- "version":"0.02",
- "description": "Basic app to test the bangle.js input interface. It displays the result in text or a switch on/off image.",
+ "version":"0.03",
+ "description": "Basic app to test the ba... | 3 |
diff --git a/docs/api/helper.md b/docs/api/helper.md @@ -46,9 +46,3 @@ Performs a shallow lexical comparison between two arrays. Returns `-1` iff `a <
* `input` `<String>`
Converts `'\r\n'`, `'\n\r'`, and `'\r'` into simple linebreaks `'\n'`.
-
-### helper.markdown(input)
-
-* `input` `<String>`
-
-Returns the HTML acc... | 2 |
diff --git a/src/components/Timeline.js b/src/components/Timeline.js @@ -167,8 +167,19 @@ function Timeline({date, setDate, dates, isTimelineMode, setIsTimelineMode}) {
};
const transitions = useTransition(showCalendar, {
- from: {paddingTop: 0, marginBottom: 0, height: 0, opacity: 0},
- enter: {paddingTop: 36, marginB... | 1 |
diff --git a/packages/idyll-document/src/index.js b/packages/idyll-document/src/index.js @@ -143,7 +143,7 @@ class Wrapper extends React.PureComponent {
}
const { __expr__, __vars__, hasError, ...state } = this.state
- const { children, ...passThruProps } = this.props
+ const { children, __expr__: _e, __vars__: _v, ...... | 2 |
diff --git a/packages/idyll-cli/test/multiple-component-dirs/expected-output/build/index.html b/packages/idyll-cli/test/multiple-component-dirs/expected-output/build/index.html <link rel="stylesheet" href="static/__idyll_styles.css">
</head>
<body>
- <div id="idyll-mount"><div data-reactroot=""><div class="idyll-root">... | 3 |
diff --git a/content/specs/machine-type.md b/content/specs/machine-type.md @@ -16,6 +16,8 @@ For Flutter projects configured via the Flutter workflow editor, the build machi
Codemagic offers two types of macOS machines for running builds: Mac mini (macOS standard VM, default) and Mac Pro (macOS premium VM). Specificati... | 3 |
diff --git a/components/admin/data/widgets/table/component.js b/components/admin/data/widgets/table/component.js @@ -39,38 +39,7 @@ class WidgetsTable extends PureComponent {
}
componentDidMount() {
- const { dataset, user: { token } } = this.props;
- const { pagination } = this.state;
-
- fetchWidgets({
- includes: 'u... | 7 |
diff --git a/src/sweetalert2.js b/src/sweetalert2.js @@ -418,7 +418,7 @@ const sweetAlert = (...args) => {
if (params.input === 'email' && params.inputValidator === null) {
const inputValidator = (email) => {
return new Promise((resolve, reject) => {
- const emailRegex = /^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}... | 11 |
diff --git a/renderer/components/test-info.js b/renderer/components/test-info.js @@ -43,14 +43,6 @@ const renderWebsitesSummary = (summary) => {
}
const DescriptionContainer = styled.div`
-a {
- color: ${props => props.theme.colors.blue5};
- text-decoration: none;
-}
-
-a:hover {
- color: ${props => props.theme.colors.... | 2 |
diff --git a/src/content/developers/tutorials/create-and-deploy-a-defi-app/index.md b/src/content/developers/tutorials/create-and-deploy-a-defi-app/index.md @@ -26,3 +26,23 @@ In this tutorial we will build a DeFi Application with Solidity where users can
If this is the first time you are writing a smart contract, you ... | 7 |
diff --git a/tests/test_IssuanceController.py b/tests/test_IssuanceController.py @@ -164,7 +164,6 @@ class TestIssuanceController(HavvenTestCase):
def test_cannotUpdatePricesIfUnauthorised(self):
randomUser = fresh_accounts(1)[0]
self.assertReverts(self.issuanceController.updatePrices, randomUser, self.usdToEthPrice, s... | 2 |
diff --git a/helpers/peer-frontend/contracts/PeerFrontend.sol b/helpers/peer-frontend/contracts/PeerFrontend.sol */
pragma solidity 0.5.10;
+pragma experimental ABIEncoderV2;
+import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "@airswap/indexer/contracts/interfaces/IIndexer.sol";
-import "@airswap/... | 3 |
diff --git a/src/libs/actions/User.js b/src/libs/actions/User.js @@ -241,19 +241,19 @@ function validateLogin(accountID, validateCode) {
* Checks the blockedFromConcierge object to see if it has an expiresAt key,
* and if so whether the expiresAt date of a user's ban is before right now
*
- * @param {Object} blockedFro... | 10 |
diff --git a/components/component-docs.json b/components/component-docs.json {
"value": "'checkbox'",
"computed": false
+ },
+ {
+ "value": "'list'",
+ "computed": false
}
]
},
{
"value": "'learnMore'",
"computed": false
+ },
+ {
+ "value": "'list-item'",
+ "computed": false
}
]
},
| 3 |
diff --git a/src/registry/domain/storage-adapter.ts b/src/registry/domain/storage-adapter.ts @@ -13,9 +13,12 @@ type LegacyStorageAdapter = {
};
const officialAdapters = {
- s3: { name: 'oc-s3-storage-adapter', version: '1.2.0' },
- gs: { name: 'oc-gs-storage-adapter', version: '1.1.0' },
- 'azure-blob-storage': { name... | 10 |
diff --git a/src/server/routes/search.js b/src/server/routes/search.js @@ -50,7 +50,7 @@ module.exports = function(crowi, app) {
*
* /_api/search:
* get:
- * tags: [Pages, CrowiCompatibles]
+ * tags: [Search, CrowiCompatibles]
* operationId: searchPages
* summary: /_api/search
* description: Search pages
| 10 |
diff --git a/packages/bitcore-node/src/routes/api/block.ts b/packages/bitcore-node/src/routes/api/block.ts @@ -52,16 +52,14 @@ router.get('/:blockId', async function(req: Request, res: Response) {
}
});
-router.get('before-time/:time', async function(req: Request, res: Response) {
+router.get('/before-time/:time', asyn... | 1 |
diff --git a/lib/queryBuilder/operations/eager/RelationJoinBuilder.js b/lib/queryBuilder/operations/eager/RelationJoinBuilder.js @@ -131,7 +131,7 @@ class RelationJoinBuilder {
const id = pInfo.idGetter(row);
let model;
- if (!id) {
+ if (id === null) {
continue;
}
@@ -521,7 +521,7 @@ function createSingleIdGetter(idCo... | 11 |
diff --git a/app-manager.js b/app-manager.js @@ -30,6 +30,7 @@ class AppManager extends EventTarget {
this.pendingAddPromise = null;
this.pushingLocalUpdates = false;
+ this.lastTimestamp = performance.now();
}
pretick(timestamp, frame) {
localData.timestamp = timestamp;
| 0 |
diff --git a/packages/@uppy/aws-s3-multipart/types/index.d.ts b/packages/@uppy/aws-s3-multipart/types/index.d.ts @@ -10,6 +10,7 @@ declare module AwsS3Multipart {
}
interface AwsS3MultipartOptions extends Uppy.PluginOptions {
+ companionHeaders?: { [type: string]: string }
companionUrl?: string
getChunkSize?: (file: Up... | 0 |
diff --git a/test/nodejs/systemHandlerTests.js b/test/nodejs/systemHandlerTests.js @@ -34,8 +34,6 @@ describe('systemHandler', () => {
let dataSent;
let bigIpMock;
let activeCalled;
- let dnsStub = null;
- let stubs = [];
before(() => {
cloudUtilMock = require('@f5devcentral/f5-cloud-libs').util;
@@ -58,10 +56,7 @@ des... | 7 |
diff --git a/website/src/_posts/2019-04-liftoff-23.md b/website/src/_posts/2019-04-liftoff-23.md @@ -37,7 +37,7 @@ var uppy = Uppy.Core({
<script>
```
-While the new locale packs weren't finished, we had to reject updates to the old locales, and quickly [became outdated](https://github.com/transloadit/uppy/tree/master/... | 2 |
diff --git a/index.js b/index.js @@ -2,9 +2,9 @@ import * as THREE from 'three';
// import * as BufferGeometryUtils from 'three/examples/jsm/utils/BufferGeometryUtils.js';
// import easing from './easing.js';
import metaversefile from 'metaversefile';
-const {useApp, useLocalPlayer, useInternals, useGeometries, useMate... | 0 |
diff --git a/README.md b/README.md [](https://nodei.co/npm/vue-gl/)
[](https://greenkeeper.io/)
[](https://circleci.com/gh/vue-gl/vue-g... | 4 |
diff --git a/magefile/doc.go b/magefile/doc.go +/**Package magefile exposes Mage (https://magefile.org) compatible
+functions that can be re-used by embedding applications. See https://github.com/mweagle/SpartaHelloWorld/blob/master/magefile.go
+for an example.
+**/
+
package magefile
| 0 |
diff --git a/packages/inferno/src/DOM/mounting.ts b/packages/inferno/src/DOM/mounting.ts @@ -109,6 +109,19 @@ export function mountElement(
const dom = documentCreateElement(vNode.type, isSVG);
vNode.dom = dom;
+
+ if (!isNullOrUndef(className) && className !== '') {
+ if (isSVG) {
+ dom.setAttribute('class', className... | 7 |
diff --git a/test/shared/testHelpers.js b/test/shared/testHelpers.js @@ -94,6 +94,12 @@ export function doesNotThrowInNodejs (t, fn, descr) {
if (platform.inNodeJS) {
t.doesNotThrow(fn, descr)
} else {
+ let success = false
+ try {
fn()
+ success = true
+ } finally {
+ t.ok(success, descr)
+ }
}
}
| 7 |
diff --git a/app/src/renderer/connectors/lcdClientMock.js b/app/src/renderer/connectors/lcdClientMock.js @@ -980,53 +980,41 @@ module.exports = {
// ============= TOTAL PROPOSAL's DEPOSIT =============
// Increment total deposit of the proposal
- let depositIndex = proposal.total_deposit.findIndex(
+ let deposit = prop... | 14 |
diff --git a/lib/jiff-client.js b/lib/jiff-client.js for (var i = 1; i <= jiff.party_count; i++) {
holders.push(i);
}
+ if (id_list == null) {
+ id_list = [];
+ }
for (i = 0; i < count; i++) {
var id = id_list[i];
if (id == null) {
| 9 |
diff --git a/src/display/svg.js b/src/display/svg.js @@ -903,7 +903,9 @@ SVGGraphics = (function SVGGraphicsClosure() {
// Path properties
setLineWidth: function SVGGraphics_setLineWidth(width) {
+ if (width > 0) {
this.current.lineWidth = width;
+ }
},
setLineCap: function SVGGraphics_setLineCap(style) {
this.current.... | 9 |
diff --git a/source/package.json b/source/package.json "@rollup/plugin-node-resolve": "^11.1.0",
"concurrently": "^5.1.0",
"eslint": "^6.8.0",
- "rollup": "^2.30.0",
+ "rollup": "^2.37.0",
"rollup-plugin-glslify": "^1.2.0",
"rollup-plugin-terser": "^7.0.2",
"serve": "^11.3.0"
| 3 |
diff --git a/contracts/consumer/test/Consumer.unit.js b/contracts/consumer/test/Consumer.unit.js @@ -77,13 +77,6 @@ contract('Consumer Unit Tests', async () => {
indexer_getIntents = indexerTemplate.contract.methods
.getIntents(EMPTY_ADDRESS, EMPTY_ADDRESS, 0)
.encodeABI()
- await mockIndexer.givenMethodReturn(
- index... | 2 |
diff --git a/data/repositories.yml b/data/repositories.yml - group: Smart Contracts
items:
- - name: ocean-contracts
+ - name: contracts
-- group: Ocean Market & Services
+- group: Ocean Market
items:
- name: market
+
+- group: Services
+ items:
+ - name: barge
- name: aquarius
links:
- name: API reference
url: /refere... | 10 |
diff --git a/sirepo/comsol_register.py b/sirepo/comsol_register.py @@ -18,7 +18,9 @@ _mail = None
@api_perm.allow_visitor
def api_comsol():
- return http_reply.gen_redirect_for_anchor('/old#/comsol')
+ return http_reply.gen_redirect(
+ 'https://www.radiasoft.net/services/comsol-certified-consulting/',
+ )
@api_perm.all... | 1 |
diff --git a/src/components/character-count/_character-count.scss b/src/components/character-count/_character-count.scss @include govuk-exports("govuk/component/character-count") {
.govuk-character-count {
+ @include govuk-responsive-margin(6, "bottom");
+
.govuk-form-group,
.govuk-textarea {
margin-bottom: govuk-spaci... | 12 |
diff --git a/index.js b/index.js @@ -132,11 +132,13 @@ http.listen(3000, function(){
// Mod instead of javascript's remainder (%)
function mod(x, y) {
+ return x;
+ /*
if (x < 0) {
return ((x%y)+y)%y;
}
- return x%y;
+ return x%y;*/
}
/*
| 8 |
diff --git a/contribs/gmf/src/directives/print.js b/contribs/gmf/src/directives/print.js @@ -137,7 +137,7 @@ gmf.printComponent = {
'rotateMask': '<?gmfPrintRotatemask',
'fieldValues': '<?gmfPrintFieldvalues',
'hiddenAttributeNames': '<?gmfPrintHiddenattributes',
- 'attributesOut': '<?gmfPrintAttributesOut'
+ 'attribut... | 12 |
diff --git a/package.json b/package.json "devtools-protocol": "0.0.678506",
"dom-walk": "^0.1.1",
"escape-string-regexp": "^4.0.0",
- "eslint-plugin-hammerhead": "0.3.1",
+ "eslint-plugin-hammerhead": "0.4.0",
"eslint-plugin-no-only-tests": "^2.0.1",
"express": "^4.13.3",
"express-ntlm": "2.4.0",
| 3 |
diff --git a/config/application.rb b/config/application.rb @@ -174,11 +174,7 @@ module CartoDB
frontend_assets_version = JSON::parse(File.read(Rails.root.join('package.json')))['version']
config.action_controller.relative_url_root = "/assets/#{frontend_assets_version}"
- custom_views_path = Cartodb.get_config(:paths, '... | 4 |
diff --git a/README.md b/README.md @@ -82,7 +82,7 @@ Or, you can install it locally and use the API:
```js
'use strict';
-const { Agent, Realm } = require('engine262');
+const { Agent, Realm, Abstract, Value, inspect } = require('engine262');
const agent = new Agent({
// onDebugger() {},
@@ -101,6 +101,13 @@ const real... | 3 |
diff --git a/assets/js/googlesitekit/datastore/user/user-info.test.js b/assets/js/googlesitekit/datastore/user/user-info.test.js @@ -376,7 +376,6 @@ describe( 'core/user userInfo', () => {
global[ userDataGlobal ] = userData;
const testURL = 'https://analytics.google.com/dashboard/';
- const userEmail = global[ userDat... | 4 |
diff --git a/src/pages/RequestCallPage.js b/src/pages/RequestCallPage.js @@ -51,12 +51,11 @@ class RequestCallPage extends React.Component {
const [firstName, lastName] = props.myPersonalDetails.displayName !== props.myPersonalDetails.login
? props.myPersonalDetails.displayName.split(' ')
: [];
-
- //
this.state = {
fi... | 9 |
diff --git a/lib/carto/connector/providers.rb b/lib/carto/connector/providers.rb @@ -42,12 +42,13 @@ module Carto
name: 'Hive',
class: HiveProvider,
public: true
- },
- 'bigquery' => {
- name: 'Google BigQuery 64',
- class: BigQueryProvider,
- public: true
}
+ #,
+ # 'bigquery' => {
+ # name: 'Google BigQuery 64',
+ # ... | 2 |
diff --git a/articles/protocols/oauth2/index.md b/articles/protocols/oauth2/index.md @@ -156,6 +156,8 @@ The [OAuth 2.0 Multiple Response Type Encoding Practices](https://openid.net/spe
</html>
```
+- `web_message`: This response mode is defined by the [OAuth 2.0 Web Message Response Mode specification](https://tools.i... | 0 |
diff --git a/src/extensions/default/CSSPseudoSelectorHints/main.js b/src/extensions/default/CSSPseudoSelectorHints/main.js @@ -27,18 +27,20 @@ define(function (require, exports, module) {
// Load dependent modules
var AppInit = brackets.getModule("utils/AppInit"),
CodeHintManager = brackets.getModule("editor/CodeHintMa... | 9 |
diff --git a/src/sections/Meshery/Meshery-platforms/index.js b/src/sections/Meshery/Meshery-platforms/index.js @@ -39,7 +39,9 @@ const supported_platforms = [
steps: (
<>
<h2>Docker User</h2>
- <Code codeString={dedent`mesheryctl system start`}
+ <Code codeString={dedent`curl -L https://git.io/meshery | PLATFORM=docker... | 1 |
diff --git a/config.js b/config.js @@ -48,10 +48,13 @@ function getConfig(env) {
case 'localnet':
return {
networkId: 'local',
- nodeUrl: 'http://localhost:3030',
+ nodeUrl: process.env.NEAR_NODE_URL || 'http://localhost:3030',
keyPath: `${process.env.HOME}/.near/validator_key.json`,
- walletUrl: 'http://localhost:4000... | 7 |
diff --git a/runtime.js b/runtime.js @@ -299,6 +299,31 @@ const _loadMetaversefile = async (file, {contentId = null, instanceId = null, au
monetizationPointer,
});
};
+// Error.stackTraceLimit = 300;
+class ErrorBoundary extends React.Component {
+ constructor(props) {
+ super(props);
+ this.state = { hasError: false }... | 0 |
diff --git a/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/control_bar.scss b/app/assets/stylesheets/pageflow/themes/default/player_controls/slim/control_bar.scss @@ -151,7 +151,7 @@ $slim-player-controls-progress-bar-load-progress-color: rgba(255, 255, 255, 0.2)
&-load_progress {
position: absolu... | 7 |
diff --git a/src/geo/ui/overlays-view.js b/src/geo/ui/overlays-view.js @@ -105,8 +105,8 @@ var OverlaysView = View.extend({
},
_getOverlayViewByType: function (type) {
- return _.find(this._overlayViews, function (overlay) {
- return overlay.type === type;
+ return _.find(this._overlayViews, function (overlayView) {
+ ... | 10 |
diff --git a/changelog/55_UNRELEASED_2019-xx-xx.md b/changelog/55_UNRELEASED_2019-xx-xx.md - A huge THANK YOU goes to @kriddles for the work on this feature
### New feature: Scan mode
+- Just scan one product after another, no manual input required and audio feedback is provided
- New switch-button on the purchase and ... | 0 |
diff --git a/src/components/SimpleInput.js b/src/components/SimpleInput.js @@ -49,20 +49,12 @@ const Input = React.createClass({
},
_onFocus () {
- if (this.input) {
- this.input.focus();
- }
-
this.setState({
focus: true
});
},
_onBlur () {
- if (this.input) {
- this.input.blur();
- }
-
this.setState({
focus: false
})... | 1 |
diff --git a/tests/helpers/setup-no-deprecations.js b/tests/helpers/setup-no-deprecations.js @@ -4,12 +4,17 @@ import { registerDeprecationHandler } from '@ember/debug';
let isRegistered = false;
let deprecations;
+// Ignore deprecations that are not caused by our own code, and which we cannot fix easily.
+const ignore... | 8 |
diff --git a/src/functionHelper.js b/src/functionHelper.js @@ -13,7 +13,7 @@ module.exports = {
funName,
handlerName, // i.e. run
handlerPath: `${servicePath}/${handlerPath}`,
- funTimeout: (fun.timeout || 6) * 1000,
+ funTimeout: (fun.timeout || 30) * 1000,
babelOptions: ((fun.custom || {}).runtime || {}).babel,
};
},... | 12 |
diff --git a/packages/bpk-component-theme-toggle/src/BpkThemeToggle.js b/packages/bpk-component-theme-toggle/src/BpkThemeToggle.js @@ -71,8 +71,10 @@ class BpkThemeToggle extends React.Component {
: 0;
if (selectedIndex >= availableThemes.length) {
selectedIndex = 0;
- }
+ selectedTheme = null;
+ } else {
selectedTheme... | 11 |
diff --git a/src/pages/ReimbursementAccount/CompanyStep.js b/src/pages/ReimbursementAccount/CompanyStep.js @@ -70,6 +70,10 @@ class CompanyStep extends React.Component {
// These fields need to be filled out in order to submit the form
this.requiredFields = [
'companyName',
+ 'addressStreet',
+ 'addressCity',
+ 'addres... | 12 |
diff --git a/articles/security/bulletins/2020-03-31_wpauth0.md b/articles/security/bulletins/2020-03-31_wpauth0.md ---
-title: Auth0 Security Bulletin CVE 2019-20173
-description: Security Update for WordPress Plugin for Auth0 (CVE 2019-20173)
+title: Auth0 Security Bulletin CVE-2020-5391, CVE-2020-5392, CVE-2020-6753,... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -3647,6 +3647,9 @@ var $$IMU_EXPORT$$;
};
var mediainfo_api = function(id, cb) {
+ if (!use_app_api)
+ return cb(null);
+
var cache_key = "instagram_mediainfo:" + id;
api_cache.fetch(cache_key, cb, function (done) {
var url = "https://i.instagram.com/api/v1/media/... | 4 |
diff --git a/js/core/bis_bidsutils.js b/js/core/bis_bidsutils.js 'use strict';
const bis_genericio = require('bis_genericio');
+const colors=bis_genericio.getcolorsmodule();
// DICOM2BIDS
/**
@@ -40,7 +41,7 @@ let dicom2BIDS = async function (opts) {
console.log('opts=', opts);
- console.log('Conversion done, now conve... | 2 |
diff --git a/src/components/listing-detail.js b/src/components/listing-detail.js @@ -11,6 +11,14 @@ import UserCard from './user-card'
// not using a global singleton
import origin from '../services/origin'
+/* linking to contract Etherscan requires knowledge of which network we're on */
+const etherscanDomains = {
+ 1... | 9 |
diff --git a/src/components/nodes/sequenceFlow/sequenceFlow.vue b/src/components/nodes/sequenceFlow/sequenceFlow.vue @@ -23,8 +23,6 @@ import linkConfig from '@/mixins/linkConfig';
import get from 'lodash/get';
import { id as laneId } from '../poolLane';
import { namePosition } from './sequenceFlowConfig';
-import stor... | 2 |
diff --git a/views/email/add_new_user.hbs b/views/email/add_new_user.hbs @@ -6,5 +6,11 @@ Hello {{new_user.name}},
Please contact {{admin_user.name}} about your new password and login at http://timeoff.management
+Alternatively follow link below to set new password:
+
+{{# with new_user ~}}
+http://app.timeoff.manageme... | 11 |
diff --git a/src/js/modules/Edit/List.js b/src/js/modules/Edit/List.js @@ -27,6 +27,8 @@ export default class Edit{
this.values = [];
this.popup = null;
+ this.listIteration = 0;
+
this.blurable = true;
this.actions = {
@@ -200,11 +202,10 @@ export default class Edit{
}
}
- if(params.filterRemote && !(typeof params.val... | 3 |
diff --git a/src/components/NavBar/NavBar.jsx b/src/components/NavBar/NavBar.jsx @@ -18,7 +18,7 @@ import Modal from '../Modals/Modal';
import { VscSettingsGear } from 'react-icons/vsc'
import { FaFileExport, FaUserCircle } from 'react-icons/fa'
import { GoFileSubmodule } from 'react-icons/go'
-import { ImArrowLeft } f... | 3 |
diff --git a/src/core/util/util.js b/src/core/util/util.js @@ -70,17 +70,13 @@ let callImmediateFn, clearCallImmediateFn;
if (typeof (setImmediate) !== 'undefined') {
callImmediateFn = setImmediate;
} else {
- callImmediateFn = function (fn) {
- setTimeout(fn, 1);
- };
+ callImmediateFn = requestAnimFrame;
}
if (typeof... | 7 |
diff --git a/docker/DockerfileTmpl b/docker/DockerfileTmpl @@ -9,7 +9,7 @@ ADD ${APP_DOWNLOAD_URL}/service-ui_linux_amd64 /service-ui
ADD ${APP_DOWNLOAD_URL}/ui.tar.gz /
RUN chmod +x /service-ui
-RUN tar -zxvf ui.tar.gz -C /
+RUN tar -zxvf ui.tar.gz -C / && rm -f ui.tar.gz
ENV RP_STATICSPATH=/public
| 7 |
diff --git a/OurUmbraco.Site/config/IISRewriteMaps.config b/OurUmbraco.Site/config/IISRewriteMaps.config <add key="documentation/implementation/routing/pipeline" value="/documentation/implementation/Routing/Default-Routing/" />
<add key="documentation/implementation/routing/pipeline/ishortstringhelper" value="/document... | 2 |
diff --git a/js/index.js b/js/index.js });
}
+ i18next.on('languageChanged', function(detectedLanguage) {
+ // detected + fallbacks, e.g. ["de-DE", "de", "en"]
+ for (i = 0; i < i18next.languages.length; i++) {
+ var language = i18next.languages[i];
+
+ // set first (fallback) language, for which a bundle was found
+ i... | 12 |
diff --git a/inventory.js b/inventory.js @@ -2,6 +2,7 @@ import * as THREE from './three.module.js';
import {bindUploadFileButton} from './util.js';
import {loginManager} from './login.js';
import {planet} from './planet.js';
+import {getContractSource} from './blockchain.js';
import {renderer, scene, camera} from './a... | 0 |
diff --git a/assets/sass/components/dashboard/_googlesitekit-DashboardPageSpeed.scss b/assets/sass/components/dashboard/_googlesitekit-DashboardPageSpeed.scss line-height: 1.25rem;
}
- &.googlesitekit-pagespeed-report__row--first {
+ &--first {
padding: 12px $grid-gap-phone 8px $grid-gap-phone;
@media ( min-width: $bp-... | 2 |
diff --git a/src/graphql/mutations/CreateOrUpdateArticleReplyFeedback.js b/src/graphql/mutations/CreateOrUpdateArticleReplyFeedback.js @@ -117,6 +117,8 @@ export default {
},
_source: true,
});
+
+ /* istanbul ignore if */
if (articleReplyUpdateResult.result !== 'updated') {
throw new Error(
`Cannot article ${articleId... | 8 |
diff --git a/Model/TemplateResolver.php b/Model/TemplateResolver.php @@ -10,6 +10,7 @@ use Magento\Framework\Registry;
use Magento\Framework\View\Element\Template;
use Magento\Framework\View\Element\Template\File\Validator;
use Magento\Framework\Filesystem\Driver\File as DriverFile;
+use Magento\Framework\Filesystem\Io... | 14 |
diff --git a/drop-manager.js b/drop-manager.js @@ -83,7 +83,7 @@ const loadPromise = (async () => {
// polygonOffsetUnits: 1,
});
- const addSilk = (p, v) => {
+ const addSilk = (p, v, r) => {
const velocity = v.clone();
let grounded = false;
@@ -109,6 +109,10 @@ const loadPromise = (async () => {
grounded = true;
} el... | 0 |
diff --git a/articles/quickstart/native/xamarin-ios/01-login.md b/articles/quickstart/native/xamarin-ios/01-login.md @@ -18,6 +18,24 @@ budicon: 448
This tutorial explains how to integrate the Auth0 OIDC Client with a Xamarin iOS C# application. The NuGet package `Auth0.OidcClient.iOS` helps you authenticate users with... | 0 |
diff --git a/app/assets/stylesheets/observations/identify/observation_modal.css.scss b/app/assets/stylesheets/observations/identify/observation_modal.css.scss @@ -42,6 +42,9 @@ body > div > [role="dialog"] .ObservationModal {
}
.left-col {
padding: 15px 20px 10px;
+ .obs-modal-header {
+ margin-bottom: 12px;
+ }
}
.rig... | 1 |
diff --git a/.vscode/launch.json b/.vscode/launch.json "version": "0.2.0",
"configurations": [
{
- "type": "chrome",
- "name": "Tests",
+ "type": "node",
"request": "launch",
- "url": "http://localhost:8080/Specs/SpecRunner.html?spec=Core",
- "webRoot": "${workspaceFolder}",
+ "name": "Launch Program",
+ "cwd": "${work... | 13 |
diff --git a/frontend/imports/ui/client/widgets/chart.js b/frontend/imports/ui/client/widgets/chart.js @@ -81,23 +81,14 @@ Template.chart.viewmodel({
const tooltipEl = this.prepareTooltip(tooltip, 'market-chart-price');
if (tooltipEl && tooltip.body) {
const date = parseInt(tooltip.dataPoints[0].xLabel, 10);
- let quot... | 12 |
diff --git a/src/transformers/safeClassNames.js b/src/transformers/safeClassNames.js @@ -3,7 +3,7 @@ const { getPropValue } = require('../utils/helpers')
const safeClassNames = require('posthtml-safe-class-names')
module.exports = async (html, config) => {
- if (config.env !== 'local') {
+ if (typeof config.env === 'st... | 1 |
diff --git a/spec/requests/warden_spec.rb b/spec/requests/warden_spec.rb @@ -94,7 +94,7 @@ describe 'Warden' do
expect(response.status).to eq 302
follow_redirect!
- expect(request.fullpath).to end_with "/password_change/#{@user.username}"
+ expect(request.fullpath).to end_with "/login?error=session_expired"
Delorean.ba... | 3 |
diff --git a/src/traces/surface/convert.js b/src/traces/surface/convert.js @@ -237,9 +237,6 @@ proto.estimateScale = function(width, height) {
// console.log("yLCM=", yLCM);
var resDst = 1 + leastCommonMultiple(xLCM, yLCM);
- if(resDst === 2) {
- resDst = MIN_RESOLUTION; // remember having 120 is better than 128 in thi... | 13 |
diff --git a/magda-registry-api/src/main/scala/au/csiro/data61/magda/registry/RecordsService.scala b/magda-registry-api/src/main/scala/au/csiro/data61/magda/registry/RecordsService.scala @@ -42,22 +42,34 @@ class RecordsService(config: Config, webHookActor: ActorRef, authClient: AuthApi
@ApiImplicitParams(Array(
new Ap... | 9 |
diff --git a/src/components/lights/PointLight.js b/src/components/lights/PointLight.js @@ -2,11 +2,15 @@ import {PointLight as PointLightNative, PointLightHelper} from 'three';
import {LightComponent} from '../../core/LightComponent';
class PointLight extends LightComponent {
- // static helpers = {
- // default: [Poin... | 3 |
diff --git a/ui/src/components/time/QTime.js b/ui/src/components/time/QTime.js @@ -288,8 +288,6 @@ export default defineComponent({
defaultDateModel.value
)
- console.log({ ...model })
-
if (
model.dateHash !== innerModel.value.dateHash
|| model.timeHash !== innerModel.value.timeHash
| 2 |
diff --git a/assets/js/modules/analytics/util/calculateOverviewData.js b/assets/js/modules/analytics/util/calculateOverviewData.js @@ -37,24 +37,20 @@ const calculateOverviewData = ( reports ) => {
const lastMonth = totals[ 0 ].values;
const previousMonth = totals[ 1 ].values;
- const totalUsers = lastMonth[ 0 ];
const... | 2 |
diff --git a/src/modules/dex/directives/dexMyOrders/DexMyOrders.js b/src/modules/dex/directives/dexMyOrders/DexMyOrders.js .then((seed) => waves.matcher.getOrders(seed.keyPair))
.then((orders) => {
const active = [];
- const filled = [];
const others = [];
orders.forEach((order) => {
switch (order.status) {
case 'Accep... | 1 |
diff --git a/src/client/vivide/components/vivide-view.js b/src/client/vivide/components/vivide-view.js @@ -282,49 +282,57 @@ export default class VivideView extends Morph {
}
async computeModel(data, script) {
- let transformedData = [];
- let properties = [];
- let children = [];
- let childScript = null;
+ this.model... | 6 |
diff --git a/token-metadata/0x469eDA64aEd3A3Ad6f868c44564291aA415cB1d9/metadata.json b/token-metadata/0x469eDA64aEd3A3Ad6f868c44564291aA415cB1d9/metadata.json "symbol": "FLUX",
"address": "0x469eDA64aEd3A3Ad6f868c44564291aA415cB1d9",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/plots/gl2d/scene2d.js b/src/plots/gl2d/scene2d.js @@ -292,8 +292,9 @@ proto.updateFx = function(options) {
fullLayout.dragmode = options.dragmode;
fullLayout.hovermode = options.hovermode;
-};
+ this.graphDiv._fullLayout = fullLayout;
+};
function relayoutCallback(scene) {
var xrange = scene.xaxis.rang... | 3 |
diff --git a/_includes/head.html b/_includes/head.html <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ '/feed.xml' | prepend: site.baseurl | prepend: site.url }}">
- {% c... | 2 |
diff --git a/test-complete/nodejs-optic-from-views.js b/test-complete/nodejs-optic-from-views.js @@ -722,7 +722,7 @@ describe('Nodejs Optic from views test', function(){
.then(function(output) {
//console.log(output);
expect(output).to.contain('<plan:plan xmlns:plan=\"http:\/\/marklogic.com\/plan\">');
- expect(output)... | 3 |
diff --git a/packages/transformer-remark/lib/utils.js b/packages/transformer-remark/lib/utils.js @@ -27,8 +27,13 @@ exports.createPlugins = function (options, localOptions) {
return normalizePlugins(userPlugins || [])
}
+ if (options.processFiles !== false) {
plugins.push(require('./plugins/file'))
+ }
+
+ if (options.... | 1 |
diff --git a/src/traces/mesh3d/defaults.js b/src/traces/mesh3d/defaults.js @@ -41,13 +41,6 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
return;
}
- if(indices) {
- // otherwise, convert all face indices to ints
- indices.forEach(function(index) {
- for(var i = 0; i < index.length;... | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.