code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/packages/nexrender-provider-ftp/src/index.js b/packages/nexrender-provider-ftp/src/index.js @@ -46,7 +46,7 @@ const upload = (job, settings, src, params) => {
// Read file
try{
- const file = fs.createReadStream(src);
+ var file = fs.createReadStream(src);
}
catch(e){
throw new Error('Cloud not read file, ... | 14 |
diff --git a/publish/deployed/kovan/config.json b/publish/deployed/kovan/config.json "SynthsCNY": {
"deploy": false
},
- "SynthsSGD": {
- "deploy": false
- },
- "SynthsCAD": {
- "deploy": false
- },
- "SynthsRUB": {
- "deploy": false
- },
"SynthsINR": {
"deploy": false
},
- "SynthsBRL": {
- "deploy": false
- },
- "Synt... | 2 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -153,7 +153,7 @@ module.exports = function(grunt) {
dest: '<%= paths.build %>/',
options: {
process: function(content) {
- var scriptsRegex = /<!-- begin-scripts -->(?:.*\r?\n\s)*<!-- end-scripts -->/,
+ let scriptsRegex = /<!-- begin-scripts -->(?:.*\r?\n\s)*<!-- end-scripts... | 14 |
diff --git a/src/traces/box/cross_trace_calc.js b/src/traces/box/cross_trace_calc.js @@ -117,10 +117,6 @@ function setPositionOffset(traceType, gd, boxList, posAxis, pad) {
// autoscale the x axis - including space for points if they're off the side
// TODO: this will overdo it if the outermost boxes don't have
// thei... | 2 |
diff --git a/articles/api/management/v2/user-search.md b/articles/api/management/v2/user-search.md @@ -6,9 +6,9 @@ toc: true
---
# User Search
-Auth0 allows you, as an administrator, to search for users using [Lucene Query Syntax](http://www.lucenetutorial.com/lucene-query-syntax.html). This syntax can be used either i... | 2 |
diff --git a/assets/js/components/notifications/EnableAutoUpdateBannerNotification/index.js b/assets/js/components/notifications/EnableAutoUpdateBannerNotification/index.js @@ -207,7 +207,11 @@ const EnableAutoUpdateBannerNotification = () => {
dismiss={ __( 'Dismiss', 'google-site-kit' ) }
isDismissible
dismissExpires... | 9 |
diff --git a/src/web/InputWaiter.mjs b/src/web/InputWaiter.mjs @@ -699,12 +699,13 @@ class InputWaiter {
*/
displayFilePreview() {
const inputNum = this.getActiveTab(),
+ input = this.getInput(inputNum),
inputText = document.getElementById("input-text"),
- fileSlice = this.getInput(inputNum).slice(0, 4096),
+ fileSlice... | 0 |
diff --git a/exampleSite/content/fragments/nav/docs.md b/exampleSite/content/fragments/nav/docs.md @@ -16,6 +16,30 @@ Use one instance of this fragment per page. Running more might lead to unexpecte
- .Site.Menus.main
+ **Note:** Menus displayed in the nav fragment can be nested, in which case the nested menus are disp... | 0 |
diff --git a/src/commands/Ondemand/WhereIs.js b/src/commands/Ondemand/WhereIs.js @@ -79,14 +79,18 @@ class Whereis extends Command {
result.place = result.place.replace('Derelict/', '') // eslint-disable-line no-param-reassign
.replace('Assassinate (Assassination)', 'Assassinate')
.replace('Defense (Defense)', 'Defense... | 3 |
diff --git a/packages/emergency-response/src/components/App/index.js b/packages/emergency-response/src/components/App/index.js @@ -18,7 +18,7 @@ import firstFiveMinutesTimeline from '../../../assets/emergency-response-5min.sv
function App(props) {
return (
- <PageLayout>
+ <PageLayout header={false}>
<CivicStoryCard
ti... | 2 |
diff --git a/.github/workflows/release-rc.yml b/.github/workflows/release-rc.yml @@ -72,11 +72,9 @@ jobs:
role-session-name: SessionForReleaseGROWI-RC
- name: Run CodeBuild
- # uses: aws-actions/aws-codebuild-run-build@v1
- uses: seebees/aws-codebuild-run-build@support-batch # https://github.com/aws-actions/aws-codebui... | 13 |
diff --git a/config/bis_gulputils.js b/config/bis_gulputils.js @@ -364,7 +364,11 @@ var createZIPFile = function(baseoutput,outdir,version,distdir,done) {
outdir+"var/*",
`!${outdir}/node_modules`,
`!${outdir}/package.json`,
- `!${outdir}/*.map`
+ `!${outdir}/*.map`,
+ `!${outdir}/images/\#*`,
+ `!${outdir}/images/*~`,... | 2 |
diff --git a/app/models/carto/api_key.rb b/app/models/carto/api_key.rb @@ -431,7 +431,6 @@ module Carto
end
def drop_db_role
- db_run("REASSIGN OWNED BY \"#{db_role}\" TO postgres")
db_run("DROP OWNED BY \"#{db_role}\"")
db_run("DROP ROLE \"#{db_role}\"")
end
| 2 |
diff --git a/src/server/routes/bots.js b/src/server/routes/bots.js @@ -763,7 +763,7 @@ router.post("/new", async (req, res) => {
err = "invalid_github"; //lemme add my dank memer bot
}
if (!err && req.body.desc) {
- req.body.desc=req.body.desc.replaceAll("\r\n","\n");
+ req.body.desc=req.body.desc.replaceAll("\r\n","\n... | 14 |
diff --git a/test/contracts/FuturesMarket.js b/test/contracts/FuturesMarket.js @@ -1128,7 +1128,7 @@ contract('FuturesMarket', accounts => {
});
assert.bnEqual(await futuresMarket.marginSumMinusNotionalSkew(), toUnit('800'));
- assert.bnEqual((await futuresMarket.marketDebt())[0], toUnit('0'));
+ assert.bnEqual((await ... | 1 |
diff --git a/js/xss.js b/js/xss.js @@ -2,6 +2,7 @@ import xss from 'xss';
var whiteList = {
a: ['target', 'href', 'title', 'style'],
+ button: ['class', 'data-cohort', 'data-bookmark'],
abbr: ['title', 'style'],
address: ['style'],
area: ['shape', 'coords', 'href', 'alt', 'style'],
| 11 |
diff --git a/demos/slideshowWithPlayControls.html b/demos/slideshowWithPlayControls.html <title>Elix SlideshowWithPlayControls</title>
<link rel="stylesheet" href="demos.css">
- <script type="module" src="../src/slideshowWithPlayControls.js"></script>
+ <script type="module" src="../src/SlideshowWithPlayControls.js"></... | 1 |
diff --git a/test/spec/form.spec.js b/test/spec/form.spec.js @@ -1725,16 +1725,9 @@ describe('Form.prototype', () => {
});
describe('Missing external instances', () => {
- it('does not produce extraneous/unrelated errors', () => {
+ it('does not produce extraneous/unrelated errors when external instances are not define... | 7 |
diff --git a/articles/hooks/extensibility-points/pre-user-registration.md b/articles/hooks/extensibility-points/pre-user-registration.md @@ -6,7 +6,7 @@ description: The pre-user-registration extensibility point for use with Hooks
For [Database Connections](/connections/database), the `pre-user-registration` extensibil... | 0 |
diff --git a/react/src/components/buttons/SprkButton.stories.js b/react/src/components/buttons/SprkButton.stories.js @@ -40,11 +40,7 @@ receive interaction.
};
export const primary = () => (
- <SprkButton
- element="button"
- idString="button-1"
- analyticsString="button-1-analytics"
- >
+ <SprkButton idString="button-... | 3 |
diff --git a/data/packages/com.madsbangh.easybuttons.yml b/data/packages/com.madsbangh.easybuttons.yml @@ -8,7 +8,7 @@ licenseName: MIT License
topics:
- editor-enhancement
hunter: JesseTG
-gitTagPrefix: ''
+gitTagPrefix: 'v'
gitTagIgnore: ''
image: >-
https://github.com/madsbangh/EasyButtons/raw/49a8f08d948178480c5f43... | 12 |
diff --git a/src/struct/Command.js b/src/struct/Command.js @@ -127,7 +127,7 @@ class Command extends AkairoModule {
clientPermissions = this.clientPermissions,
userPermissions = this.userPermissions,
trigger = this.trigger,
- condition = this.condition || (() => true)
+ condition = this.condition || (() => false)
} = o... | 1 |
diff --git a/assets/js/googlesitekit/data/utils.js b/assets/js/googlesitekit/data/utils.js @@ -246,30 +246,6 @@ export const commonControls = {
[ GET_REGISTRY ]: createRegistryControl( ( registry ) => () => registry ),
};
-/**
- * An object of common selectors some store will use.
- *
- * @since n.e.x.t
- *
- * @return... | 2 |
diff --git a/test/jasmine/tests/scattermapbox_test.js b/test/jasmine/tests/scattermapbox_test.js @@ -907,8 +907,8 @@ describe('@noCI Test plotly events on a scattermapbox plot:', function() {
expect(pt.lon).toEqual(10, 'points[0].lon');
expect(pt.pointNumber).toEqual(0, 'points[0].pointNumber');
- expect(evt.clientX).t... | 13 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,51 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.26.0] -- 2017-04-18
+
+### Added
+- Carpets plots with new trace types: `carpet`, `scattercarpet` and
+ `contourcarpet` [#1595, #1596... | 3 |
diff --git a/test/integration/stream.spec.js b/test/integration/stream.spec.js @@ -541,7 +541,7 @@ describe("Test duplex streaming, result in objectMode", () => {
// this fake parser only works if each chunk is exactly one line
let line=0;
- ctx.params.on("data", msg => pass.push({line:++line,data:msg.toString().split(... | 3 |
diff --git a/OurUmbraco.Site/web.vsts.config b/OurUmbraco.Site/web.vsts.config <add key="GitHubClientSecret" value="#{GitHubClientSecret}#" />
<!-- Documentation -->
- <add key="Documentation:CurrentMajorVersion" value="8" />
+ <add key="Documentation:CurrentMajorVersion" value="9" />
<!-- Upcoming features -->
<add ke... | 3 |
diff --git a/OpenRobertaParent/OpenRobertaServer/staticResources/js/app/simulation/robertaLogic/program.eval.js b/OpenRobertaParent/OpenRobertaServer/staticResources/js/app/simulation/robertaLogic/program.eval.js @@ -1261,7 +1261,7 @@ define(['robertaLogic.actors', 'robertaLogic.memory', 'robertaLogic.program', 'r
var ... | 1 |
diff --git a/cravat/oc.py b/cravat/oc.py @@ -215,11 +215,25 @@ feedback_p = root_sp.add_parser(
def main():
- args = root_p.parse_args()
+ try:
+ # Global parser silently consumes the --debug option
+ # --debug is used below in case of exceptions
+ global_parser = argparse.ArgumentParser(add_help=False)
+ global_parser... | 7 |
diff --git a/src/reducers/tokens/index.js b/src/reducers/tokens/index.js import { handleActions } from 'redux-actions'
import reduceReducers from 'reduce-reducers'
-import { likelyContracts, tokens } from '../../actions/tokens'
+import { likelyContracts, tokens, clear } from '../../actions/tokens'
const initialState = ... | 9 |
diff --git a/ui/src/mixins/prevent-scroll.js b/ui/src/mixins/prevent-scroll.js @@ -103,15 +103,15 @@ function apply (action, is) {
body.classList.add('q-body--prevent-scroll')
if (is.ios === true) {
- window.scrollTo(0, 0)
if (hasViewport === true) {
+ window.scrollTo(0, 0)
window.visualViewport.addEventListener('resiz... | 1 |
diff --git a/assets/src/edit-story/karma/fixture/fixture.js b/assets/src/edit-story/karma/fixture/fixture.js @@ -118,7 +118,10 @@ export class Fixture {
this._editor = null;
}
- restore() {}
+ restore() {
+ window.location.hash = '#';
+ localStorage.clear();
+ }
get container() {
return this._container;
| 12 |
diff --git a/cmd/cmd_controller.js b/cmd/cmd_controller.js @@ -314,6 +314,7 @@ class EmbarkController {
web3Endpoint: web3Config.providerUrl
};
const provider = new Provider(providerOptions);
+ web3.eth.defaultAccount = web3Config.defaultAccount;
provider.startWeb3Provider(() => {
engine.events.emit("runcode:register",... | 12 |
diff --git a/src/components/SimpleInput.js b/src/components/SimpleInput.js @@ -85,7 +85,7 @@ class Input extends React.Component {
return (
<div
- style={Object.assign({}, styles.wrapper, this.state.focus ? styles.activeWrapper : null)}
+ style={this.state.focus ? { ...styles.wrapper, ...styles.activeWrapper } : styles... | 14 |
diff --git a/app/views/admin/user.scala.html b/app/views/admin/user.scala.html <tr>
<th class="col-md-2">Current Neighborhood</th>
<td class="col-md-10">
- @RegionPropertyTable.neighborhoodName(UserCurrentRegionTable.currentRegion(UUID.fromString(user.get.userId)).get)
- (Region ID: @UserCurrentRegionTable.currentRegio... | 1 |
diff --git a/components/Frame/Header.js b/components/Frame/Header.js @@ -39,6 +39,8 @@ import {
TRANSITION_MS
} from '../constants'
+const BACK_BUTTON_SIZE = 24
+
let routeChangeStarted
const Header = ({
@@ -199,7 +201,10 @@ const Header = ({
}
}}
>
- <BackIcon size={24} {...colorScheme.set('fill', 'text')} />
+ <BackI... | 1 |
diff --git a/routes/params.js b/routes/params.js @@ -56,7 +56,7 @@ module.exports = {
columnParam: {
name: 'columns',
in: 'query',
- description: 'Choose which data columns will be returned e.g. stats.Arcade.coins',
+ description: 'Choose which data columns will be returned e.g. stats.Arcade.coins. Multiple columns are... | 7 |
diff --git a/src/lib/compile-route.js b/src/lib/compile-route.js @@ -45,10 +45,6 @@ const sanitizeRoute = (route) => {
route.functionMatcher = route.matcher || route.functionMatcher;
- if(route.query && route.url){
- route.url += '?' + querystring.stringify(route.query)
- }
-
debug('Setting route.identifier...');
debug... | 13 |
diff --git a/src/components/DateRangePicker.js b/src/components/DateRangePicker.js @@ -162,6 +162,7 @@ class DateRangePicker extends React.Component {
return {
currentDate: date,
focusedDay: date,
+ selectedDefaultRange: '',
selectedBox: isLargeOrMediumWindowSize ? this._getToggledSelectBox(state.selectedBox) : state.s... | 12 |
diff --git a/src/internal/modalManager.spec.js b/src/internal/modalManager.spec.js @@ -71,5 +71,10 @@ describe('internal/modalManager', () => {
const idx = modalManager.remove(modal1);
assert.strictEqual(idx, 0, 'should be the "first" modal');
});
+
+ it('should not do anything', () => {
+ const idx = modalManager.remo... | 0 |
diff --git a/js/indexed-db.js b/js/indexed-db.js @@ -108,7 +108,7 @@ class IndexedDBClient {
// Private
function init () {
- return new Promise((resolve, reject) => {
+ return new Promise((resolve) => {
// NOTE: we aren't dealing with vendor prefixed versions
// only stable implementations of indexedDB
| 2 |
diff --git a/includes/Modules/PageSpeed_Insights.php b/includes/Modules/PageSpeed_Insights.php @@ -163,20 +163,6 @@ final class PageSpeed_Insights extends Module implements Module_With_Scopes {
);
}
- /**
- * Sets up the Google client the module should use.
- *
- * This method is invoked once by {@see Module::get_clien... | 2 |
diff --git a/CHANGES.md b/CHANGES.md ##### Additions :tada:
- Added `ScreenOverlay` support to `KMLDataSource`. [#9864](https://github.com/CesiumGS/cesium/pull/9864)
+- Added `lambertDiffuseMultiplier` property to Globe object to enhance terrain lighting. [#9878](https://github.com/CesiumGS/cesium/pull/9878)
### 1.86.1... | 3 |
diff --git a/js/gemini.js b/js/gemini.js @@ -727,6 +727,7 @@ module.exports = class gemini extends Exchange {
* @method
* @name gemini#fetchTrades
* @description get the list of most recent trades for a particular symbol
+ * @see https://docs.gemini.com/rest-api/#trade-history
* @param {string} symbol unified symbol of... | 7 |
diff --git a/package.json b/package.json {
"name": "prettier-atom",
"main": "./dist/main.js",
- "version": "0.48.0",
+ "version": "0.48.1",
"description": "Atom plugin for formatting JavaScript using prettier with (optional) prettier-eslint integration",
"keywords": [
"atom",
| 6 |
diff --git a/lib/node_modules/@stdlib/repl/presentation/bin/cli b/lib/node_modules/@stdlib/repl/presentation/bin/cli @@ -130,9 +130,9 @@ function main() {
// Check if we are receiving data from `stdin`...
if ( !process.stdin.isTTY ) {
if ( IS_WINDOWS ) {
+ process.exitCode = 1;
err = new Error( 'invalid operation. Rece... | 12 |
diff --git a/sirepo/pkcli/job_driver.py b/sirepo/pkcli/job_driver.py @@ -173,7 +173,13 @@ async def _notify_supervisor_ready_for_work(io_loop, job_tracker):
data = pkcollections.Dict({
'action': ACTION_READY_FOR_WORK,
})
+ try:
request = await _notify_supervisor(data)
+ except ConnectionRefusedError as e:
+ pkdlog('Con... | 9 |
diff --git a/generators/client/templates/angular/package.json.ejs b/generators/client/templates/angular/package.json.ejs "rimraf": "2.6.1",
"simple-progress-webpack-plugin": "1.1.2",
"style-loader": "0.20.3",
- "tapable": "1.0.0",
"terser-webpack-plugin": "1.0.0",
"thread-loader": "1.1.5",
"to-string-loader": "1.1.5",
| 2 |
diff --git a/.github/workflows/webtests.yml b/.github/workflows/webtests.yml @@ -56,7 +56,7 @@ jobs:
npm version minor -m "chore: release prod version %s [skip build]"
git push https://${{ secrets.GIT_AUTH }}@github.com/GoodDollar/GoodDAPP staging:${{ github.event.inputs.targetbranch }} --force --follow-tags
git checko... | 2 |
diff --git a/lib/exposes.js b/lib/exposes.js @@ -226,7 +226,7 @@ class Climate extends Base {
withSystemMode(modes) {
assert(!this.endpoint, 'Cannot add feature after adding endpoint');
- const allowed = ['off', 'heat', 'cool', 'auto'];
+ const allowed = ['off', 'heat', 'cool', 'auto', 'dry', 'fan_only'];
modes.forEach... | 11 |
diff --git a/README.md b/README.md @@ -33,16 +33,20 @@ Without the contributions from [all these fantastic people](https://github.com/s
## Backers
-<a href="https://opencollective.com/stylelint#backers" target="_blank"><img src="https://opencollective.com/stylelint/backers.svg?width=890"></a>
+<a href="https://opencoll... | 6 |
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb @@ -9,7 +9,6 @@ module ApplicationHelper
include TrackjsHelper
include GoogleAnalyticsHelper
include GoogleTagManagerHelper
- include HubspotHelper
include FrontendConfigHelper
include AppAssetsHelper
include MapsApiHelper
| 2 |
diff --git a/physx.js b/physx.js @@ -1025,6 +1025,16 @@ const physxWorker = (() => {
w.removeGeometryPhysics = (physics, id) => {
moduleInstance._removeGeometryPhysics(physics, id);
};
+ w.getVelocityPhysics = (physics, id, velocity) => {
+ const allocator = new Allocator();
+ const v = allocator.alloc(Float32Array, 3)... | 0 |
diff --git a/js/binance.js b/js/binance.js @@ -3467,7 +3467,7 @@ module.exports = class binance extends Exchange {
type = 'LIMIT_MAKER';
}
}
- let uppercaseType = initialUppercaseType;
+ let uppercaseType = type.toUpperCase ();
let stopPrice = undefined;
if (isStopLoss) {
stopPrice = stopLossPrice;
| 1 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -19,8 +19,8 @@ resolve your issue right then and there!
## What to work on
If you are new to the open source world or even a veteran who just wants an easy introduction to the Ranvier codebase
-check the issue list for issues with the [New Contributor](https://github.co... | 1 |
diff --git a/src/components/dashboard/styles.js b/src/components/dashboard/styles.js @@ -2,6 +2,9 @@ import normalize from 'react-native-elements/src/helpers/normalizeText'
import { StyleSheet } from 'react-native'
import { fontStyle } from '../common/styles'
+import { getScreenHeight } from '../../lib/utils/Orientatio... | 0 |
diff --git a/package.json b/package.json "mongoose": "5.11.12",
"express": "4.17.1",
"ejs": "3.1.5",
- "rovel.js": "1.1.6",
+ "rovel.js": "1.1.7",
"discord.js": "12.5.1",
"express-session": "1.17.1",
"express-fileupload": "1.2.1",
| 3 |
diff --git a/src/state/state.js b/src/state/state.js @@ -336,14 +336,14 @@ var state = {
* @memberOf me.state
* @public
* @function
- * @param {boolean} [resumeTrack=false] resume current track on screen resume
+ * @param {boolean} [music=false] resume current music track on screen resume
*/
- resume(resumeTrack=false)... | 1 |
diff --git a/src/traces/scattersmith/attributes.js b/src/traces/scattersmith/attributes.js @@ -13,13 +13,19 @@ module.exports = {
real: {
valType: 'data_array',
editType: 'calc+clearAxisTypes',
- description: 'Sets the real coordinates'
+ description: [
+ 'Sets the real component of the data, in units of normalized imp... | 7 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.component.ts b/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.component.ts @@ -310,7 +310,7 @@ export class SprkMastheadComponent implements AfterContentInit {
idString: string;
/**
* Expects an arr... | 3 |
diff --git a/lib/client.js b/lib/client.js @@ -114,7 +114,7 @@ class Client {
return;
}
const result = await proc.method(args);
- const { userId } = result;
+ const userId = result ? result.userId : undefined;
if (!session && userId && proc.access === 'public') {
session = application.auth.start(this, userId);
result.t... | 9 |
diff --git a/src/rich-text-editor.js b/src/rich-text-editor.js @@ -51,8 +51,9 @@ export const makeRichText = (answer, options, onValueChanged = () => {}) => {
math.openMathEditor($(e.target))
}
})
- .on('keyup', e => {
+ .on('keydown', e => {
if (u.isCtrlKey(e, keyCodes.E) && !$(e.target).hasClass('math-editor-latex-fi... | 1 |
diff --git a/packages/diffhtml/README.md b/packages/diffhtml/README.md @@ -36,7 +36,7 @@ how to modify the page with a minimal amount of operations.
The latest built version (but not necessarily the latest stable) is available
for quick download from the [master
-branch](https://raw.githubusercontent.com/tbranyen/diffh... | 7 |
diff --git a/src/runtime/default-filters.js b/src/runtime/default-filters.js @@ -19,7 +19,7 @@ function defaultClassFilter(source) {
return source;
}
-function defaultStyleFilterfunction(source) {
+function defaultStyleFilter(source) {
if (typeof source === 'object') {
var result = '';
for (var key in source) {
@@ -51,... | 10 |
diff --git a/contracts/mixins/FeesHelper.sol b/contracts/mixins/FeesHelper.sol @@ -86,7 +86,7 @@ contract FeesHelper is State, FeesEvents {
address feeToken,
uint256 tradingFee
) internal returns (uint256 affiliatesBonusSOVAmount, uint256 affiliatesBonusTokenAmount) {
- (affiliatesBonusSOVAmount, affiliatesBonusTokenAm... | 14 |
diff --git a/src/MUIDataTable.js b/src/MUIDataTable.js @@ -187,9 +187,9 @@ class MUIDataTable extends React.Component {
};
setTableOptions(props) {
- const optionNames = ["rowsPerPage", "page", "filterList", "rowsPerPageOptions"];
+ const optionNames = ["rowsPerPage", "page", "rowsSelected", "filterList", "rowsPerPageO... | 0 |
diff --git a/src/main/minio.js b/src/main/minio.js @@ -2036,16 +2036,11 @@ export class PostPolicy {
}
// set expiration date
- setExpires(nativedate) {
- if (!nativedate) {
+ setExpires(date) {
+ if (!date) {
throw new errrors.InvalidDateError('Invalid date : cannot be null')
}
- var date = Moment(nativedate)
-
- func... | 12 |
diff --git a/src/types/settings.ts b/src/types/settings.ts import { TomCreateFilter, TomCreate, TomLoadCallback, TomTemplates, TomOption } from './index';
import { TPluginItem, TPluginHash } from '../contrib/microplugin';
-import * as SifterTypes from '@orchidjs/sifter/lib/types';
+import * as SifterTypes from '@orchid... | 4 |
diff --git a/unit-test/ui/models/whitelist.es6.js b/unit-test/ui/models/whitelist.es6.js @@ -5,18 +5,47 @@ let whitelist
const domainTestCases = [
{
'url': 'duckduckgo.com',
+ 'whitelistedDomain': 'duckduckgo.com',
+ 'valid': true
+ },
+ {
+ 'url': 'bttf.duckduckgo.com',
+ 'whitelistedDomain': 'duckduckgo.com',
+ 'vali... | 3 |
diff --git a/packages/cx/src/widgets/grid/Grid.js b/packages/cx/src/widgets/grid/Grid.js @@ -1855,19 +1855,22 @@ class GridColumnHeader extends Widget {
if (this.header)
this.header1 = this.header;
+ if (!this.header1 && this.sortable)
+ this.header1 = { text: '' };
+
if (this.header1 && isSelector(this.header1))
this.... | 11 |
diff --git a/components/Frame/Popover/Nav.js b/components/Frame/Popover/Nav.js @@ -105,7 +105,15 @@ const Nav = ({
</div>
<hr {...styles.hr} />
<div {...styles.navSection}>
- <div {...styles.navLinks}>
+ <div
+ {...styles.navLinks}
+ {...css({
+ marginBottom: inNativeApp ? 24 : 64,
+ [mediaQueries.mUp]: {
+ marginBotto... | 1 |
diff --git a/gulpfile.js b/gulpfile.js @@ -545,20 +545,36 @@ async function pruneScriptsForZip(packageJsonPath) {
return gulp.src(noPreparePackageJson).pipe(gulpRename(packageJsonPath));
}
-export const postversion = function () {
+export const postversion = async function () {
const workspace = argv.workspace;
if (!wo... | 3 |
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js @@ -256,7 +256,7 @@ AccountDetailScreen.prototype.tabSections = function () {
h(TabBar, {
tabs: [
- { content: 'History', key: 'history' },
+ { content: 'Sent', key: 'history' },
{ content: 'Tokens', key: 'tokens' },
],
defaultTab: tabSelection || 'histor... | 10 |
diff --git a/src/definitions/modules/dropdown.less b/src/definitions/modules/dropdown.less @@ -643,6 +643,10 @@ select.ui.dropdown {
z-index: 3;
}
+.ui.clearable.dropdown .text {
+ margin-right: 1.5em;
+}
+
.ui.dropdown input[value=''] ~ .remove.icon,
.ui.dropdown input:not([value]) ~ .remove.icon,
.ui.dropdown.loading... | 1 |
diff --git a/character-controller.js b/character-controller.js @@ -17,17 +17,13 @@ const localVector2 = new THREE.Vector3();
const localMatrix = new THREE.Matrix4();
const localMatrix2 = new THREE.Matrix4();
-class BiActionInterpolant {
+class Interpolant {
constructor(fn, minValue, maxValue) {
this.fn = fn;
this.value... | 0 |
diff --git a/src/pages/eth2/get-involved/bug-bounty.js b/src/pages/eth2/get-involved/bug-bounty.js @@ -286,7 +286,7 @@ const BugBountiesPage = ({ data, location }) => {
<ButtonRow>
<StyledButton
mr={`1rem`}
- to="http://goo.gl/forms/CjPwb1Di0CGQRs2d2"
+ to="https://forms.gle/Gnh4gzGh66Yc3V7G8"
>
<Translation id="page-e... | 12 |
diff --git a/packages/spark/tests/scrollYDirection.tests.js b/packages/spark/tests/scrollYDirection.tests.js @@ -4,7 +4,7 @@ import sinon from 'sinon';
import scrollYDirection from '../utilities/scrollYDirection';
describe('scrollYDirection tests', () => {
- it('should return down if diff is greater than 0', () => {
-
... | 3 |
diff --git a/test/helpers/supportsWorker.js b/test/helpers/supportsWorker.js +const nodeVersion = process.versions.node.split(".").map(Number);
+
module.exports = function supportsWorker() {
- try {
- // eslint-disable-next-line node/no-unsupported-features/node-builtins
- return require("worker_threads") !== undefined... | 1 |
diff --git a/src/components/WalletAccounts.vue b/src/components/WalletAccounts.vue </ListItem>
<div v-else>
<ListItem
- @item-selected="toggleShowAccountAssets(account.id)"
+ @item-selected="toggleExpandedAccounts(account.id)"
>
<template #prefix>
<div class="account-color"
:style="{'background-color': account.color}">... | 7 |
diff --git a/app/screens/onboarding/paginator.tsx b/app/screens/onboarding/paginator.tsx @@ -25,6 +25,15 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({
width: DOT_SIZE / 2,
opacity: 0.25,
},
+ fixedDot: {
+ height: DOT_SIZE / 2,
+ borderRadius: 5,
+ backgroundColor: theme.buttonBg,
+ marginHorizo... | 1 |
diff --git a/articles/quickstart/webapp/aspnet-core/_includes/_login.md b/articles/quickstart/webapp/aspnet-core/_includes/_login.md @@ -195,6 +195,19 @@ Lastly, add Login and Logout links to the navigation bar. To do that, head over
Now, when you run the application you can select the Login link to log into the applic... | 0 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor/export-image-pane/export-image-pane.js b/lib/assets/core/javascripts/cartodb3/editor/export-image-pane/export-image-pane.js @@ -237,7 +237,6 @@ module.exports = CoreView.extend({
var top = height - this._attribution.height;
if (this._hasGoogleMapsBasemap()) {
-
v... | 2 |
diff --git a/edit.html b/edit.html </div>
</div>
<div class="nav icon openable" id=item-icon>
- <img class="img tertiary" src="./assets/dollarsign.jpg" id=item-monetized-icon>
+ <img class="img tertiary openable" src="./assets/dollarsign.jpg" id=item-monetized-icon>
<img class="img tertiary" src="https://preview.exokit... | 0 |
diff --git a/vault/dendron.topic.graph-view.md b/vault/dendron.topic.graph-view.md ---
id: 587e6d62-3c5b-49b0-aedc-02f62f0448e6
title: Graph View
-desc: ""
-updated: 1628800410461
+desc: ''
+updated: 1636354995456
created: 1595120707814
stub: false
---
@@ -21,31 +21,31 @@ stub: false
#### Full Note Graph
-Show graph of... | 10 |
diff --git a/magda-elastic-search/setup.sh b/magda-elastic-search/setup.sh @@ -11,6 +11,9 @@ if [[ ! -z $GOOGLE_APPLICATION_CREDENTIALS ]]; then
su-exec elasticsearch bin/elasticsearch-keystore add-file gcs.client.default.credentials_file $GOOGLE_APPLICATION_CREDENTIALS
fi
+echo "Set vm.max_map_count=262144 in host"
+s... | 12 |
diff --git a/src/shaders/pbr.frag b/src/shaders/pbr.frag @@ -226,21 +226,21 @@ MaterialInfo getClearCoatInfo(MaterialInfo info, NormalInfo normalInfo)
info.clearcoatFactor = u_ClearcoatFactor;
info.clearcoatRoughness = u_ClearcoatRoughnessFactor;
info.clearcoatF0 = vec3(0.04);
- info.clearcoatF90 = vec3(clamp(info.clea... | 12 |
diff --git a/contributingGuides/OFFLINE_UX.md b/contributingGuides/OFFLINE_UX.md @@ -60,7 +60,7 @@ This is the pattern where we queue the request to be sent when the user is onlin
- the user should be given instant feedback and
- the user does not need to know when the change is done on the server in the background
-**... | 7 |
diff --git a/test/travis-bin/sonar.sh b/test/travis-bin/sonar.sh @@ -6,11 +6,9 @@ PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $
if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
echo "Running sonar scanner"
-echo "*** SONAR TOKEN: "
-echo $(echo "${SONAR_TOKEN}" | cut -c 1-5)...
-echo ... | 8 |
diff --git a/documentation/index.md b/documentation/index.md @@ -54,8 +54,7 @@ to satisfy { name: 'Unexpected', created: 2013 }
- Node.JS ready (`require('unexpected')`)
- Supports [asynchronous assertions using promises](/api/addAssertion/#asynchronous-assertions)
- Single global with no prototype extensions or shims.... | 3 |
diff --git a/ably.d.ts b/ably.d.ts @@ -809,11 +809,13 @@ declare namespace Types {
// that returns a Promise if desired, EventEmitter uses method overloading to
// present both methods
class EventEmitter<CallbackType, ResultType, EventType, StateType> {
- on(eventOrCallback: EventType | EventType[] | CallbackType, call... | 7 |
diff --git a/articles/api-auth/tutorials/authorization-code-grant-pkce.md b/articles/api-auth/tutorials/authorization-code-grant-pkce.md @@ -4,6 +4,8 @@ description: How to execute an Authorization Code Grant flow with PKCE for a Mob
# Execute an Authorization Code Grant Flow with PKCE
+## 1. Create a Code Verifier
+
F... | 0 |
diff --git a/new-client/src/plugins/FmeServer/components/InformationWrapper.js b/new-client/src/plugins/FmeServer/components/InformationWrapper.js @@ -7,14 +7,14 @@ import { styled } from "@mui/material/styles";
const StyledGrid = styled(Grid)(({ type, theme }) => ({
background:
type === "error"
- ? theme.palette.type ... | 14 |
diff --git a/src/scripts/user/user.store.js b/src/scripts/user/user.store.js @@ -109,6 +109,12 @@ let UserStore = Reflux.createStore({
crn.verifyUser((err, res) => {
if (res.body.code === 403) {
+ // Pass only the scitran required user values to createUser
+ let newUserProfile = {
+ _id: user.profile._id,
+ firstname: ... | 1 |
diff --git a/Source/Core/CesiumTerrainProvider.js b/Source/Core/CesiumTerrainProvider.js @@ -1093,10 +1093,12 @@ define([
type : RequestType.TERRAIN
});
promise = requestTileGeometry(provider, x, y, level, layer, request);
- if (defined(promise)) {
- layer.availabilityPromiseCache[key] = promise;
+ if (!defined(promise... | 9 |
diff --git a/README.md b/README.md @@ -156,17 +156,21 @@ node CLI/polymath-cli module_manager
# Setting up Polymath Core
## KOVAN
-### v1.2.2 (TORO Release)
+### v1.3.0 (TORO Release)
| Contract | Address |
| ---------------------------------------------------------------- | --------------------------------------------... | 3 |
diff --git a/api/src/workers/og.js b/api/src/workers/og.js @@ -25,7 +25,7 @@ const schemaMap = {
}
const requestTimeout = 10000
const maxRedirects = 10
-const maxContentLengthBytes = 5 * 1024 * 1024
+const maxContentLengthBytes = 1024 * 1024
const invalidExtensions = ['mp3', 'mp4', 'mov', 'm4a', 'mpeg']
// TODO: move t... | 8 |
diff --git a/src/components/general/io-handler/IoHandler.jsx b/src/components/general/io-handler/IoHandler.jsx @@ -5,7 +5,7 @@ import ioManager from '../../../../io-manager.js';
//
-const types = [ 'keydown', 'keypress', 'keyup', 'click', 'mousedown', 'mouseup', 'mousemove', 'mouseenter', 'mouseleave', 'wheel', 'paste'... | 0 |
diff --git a/src/components/core/core-class.js b/src/components/core/core-class.js @@ -204,7 +204,7 @@ class Swiper extends SwiperClass {
startTranslate: undefined,
allowThresholdMove: undefined,
// Form elements to match
- formElements: 'input, select, option, textarea, button, video',
+ formElements: 'input, select, ... | 0 |
diff --git a/assets/js/modules/analytics/setup.js b/assets/js/modules/analytics/setup.js @@ -920,7 +920,9 @@ class AnalyticsSetup extends Component {
return (
<div>
- <h5>{ __( 'Exclude from Analytics', 'google-site-kit' ) }</h5>
+ <p className="googlesitekit-setup-module__text">
+ { __( 'Exclude from Analytics', 'goog... | 3 |
diff --git a/generators/client/templates/vue/package.json.ejs b/generators/client/templates/vue/package.json.ejs @@ -140,8 +140,8 @@ limitations under the License.
"webpack-merge": "4.2.1"
},
"engines": {
- "node": ">= 6.0.0",
- "npm": ">= 3.0.0"
+ "node": ">= 10.17.0",
+ "npm": ">= 6.13.4"
},
<%_ if (!skipCommitHook) ... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.