code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/README.md b/README.md @@ -175,7 +175,7 @@ We use [marked](https://github.com/chjj/marked) to parse Markdown. To customise
```javascript
Reveal.initialize({
// Options which are passed into marked
- // See https://github.com/chjj/marked#options-1
+ // See https://marked.js.org/#/USING_ADVANCED.md#options
ma... | 1 |
diff --git a/packages/app/src/server/models/user.js b/packages/app/src/server/models/user.js /* eslint-disable no-use-before-define */
+import { generateGravatarSrc } from '~/utils/gravatar';
import loggerFactory from '~/utils/logger';
+
const crypto = require('crypto');
const debug = require('debug')('growi:models:use... | 14 |
diff --git a/lib/editor/result-view.js b/lib/editor/result-view.js @@ -23,6 +23,8 @@ export default class ResultView {
this.lastEdWidth = -1
+ this.isVisible = true
+
// HACK: compatibility to proto-repl:
this.classList = {add() {}}
@@ -169,6 +171,7 @@ export default class ResultView {
this.isVisible = false
this.left ... | 12 |
diff --git a/lib/waterline/utils/query/deferred.js b/lib/waterline/utils/query/deferred.js @@ -66,6 +66,19 @@ var Deferred = module.exports = function(context, method, wlQueryInfo) {
// criteria clauses (like `where`, `limit`, etc.) as properties, then we can
// safely assume that it is relying on shorthand: i.e. simpl... | 0 |
diff --git a/src/Member.js b/src/Member.js @@ -45,7 +45,7 @@ class Member {
* @param {Number} duration
* @return {Promise<Boolean>} success
*/
- async dmUser(verb, reason, duration) {
+ async dmPunishedUser(verb, reason, duration) {
if (duration)
return await this.guild.sendDM(this.user, `You have been ${verb} from \`$... | 10 |
diff --git a/app-template/bitcoincom/google-services.json b/app-template/bitcoincom/google-services.json "storage_bucket": "bitcoin-com-wallet.appspot.com"
},
"client": [
- {
- "client_info": {
- "mobilesdk_app_id": "1:432300239540:android:3be699f352c30a45",
- "android_client_info": {
- "package_name": "com.bitcoin.wal... | 3 |
diff --git a/.github/stale.yml b/.github/stale.yml @@ -5,7 +5,7 @@ daysUntilStale: 180
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
-daysUntilClose: 30
+day... | 12 |
diff --git a/modules/Cockpit/cli/install/addon.php b/modules/Cockpit/cli/install/addon.php @@ -5,16 +5,16 @@ if (!COCKPIT_CLI) return;
$url = $app->param('url', null);
$name = $app->param('name', null);
-if (!$url) {
- return CLI::writeln('No addon url defined', false);;
-}
-
if (!$name) {
return CLI::writeln('No addon... | 11 |
diff --git a/src/functions/genfrac.js b/src/functions/genfrac.js @@ -190,6 +190,13 @@ const mathmlBuilder = (group, options) => {
mml.buildGroup(group.denom, options),
]);
+ if (!group.hasBarLine) {
+ node.setAttribute("linethickness", "0px");
+ } else if (group.barSize) {
+ const ruleWidth = calculateSize(group.barSiz... | 7 |
diff --git a/server/workers/dataprocessing/src/streamgraph.py b/server/workers/dataprocessing/src/streamgraph.py @@ -24,7 +24,8 @@ class Streamgraph(object):
self.logger.addHandler(handler)
def get_streamgraph_data(self, metadata, query, n=12, method="tfidf"):
- df = pd.DataFrame.from_records(metadata)
+ metadata = pd.... | 1 |
diff --git a/lib/grammars.coffee b/lib/grammars.coffee @@ -138,6 +138,12 @@ module.exports =
'C++':
if GrammarUtils.OperatingSystem.isDarwin()
+ "Selection Based":
+ command: "bash"
+ args: (context) ->
+ code = context.getCode(true)
+ tmpFile = GrammarUtils.createTempFileWithCode(code, ".cpp")
+ ["-c", "xcrun clang++ ... | 0 |
diff --git a/scenes/SceneMiners.js b/scenes/SceneMiners.js @@ -28,12 +28,7 @@ export default class SceneMiners extends React.Component {
const sources = json.data;
sources.forEach((group) => {
- miners = [
- ...group.minerAddresses.map((entity) => {
- return { location: group.name, ...entity };
- }),
- ...miners,
- ];
... | 3 |
diff --git a/.github/workflows/run_affected_tests.yml b/.github/workflows/run_affected_tests.yml @@ -65,6 +65,10 @@ on:
# List paths for which changes should *not* trigger this workflow:
- '!lib/**/_tools/**'
+ workflow_dispatch:
+ files:
+ description: 'List of changed files for which to run affected tests (space sepa... | 11 |
diff --git a/slick.grid.js b/slick.grid.js @@ -2097,7 +2097,7 @@ if (typeof Slick === "undefined") {
c = columns[columnOrIndexOrId];
}
else if (typeof columnOrIndexOrId === 'string') {
- for (i = 0; i < columns.length; i++) {
+ for (var i = 0; i < columns.length; i++) {
if (columns[i].Id === columnOrIndexOrId) { c = co... | 1 |
diff --git a/src/utils/wallet.js b/src/utils/wallet.js @@ -475,7 +475,15 @@ class Wallet {
}
async getLedgerAccountIds() {
- const publicKey = await this.getLedgerPublicKey()
+ let publicKey
+ try {
+ publicKey = await this.getLedgerPublicKey()
+ } catch (error) {
+ if (error.id === 'U2FNotSupported') {
+ throw new Wal... | 9 |
diff --git a/articles/_includes/_api-auth-customize-tokens.md b/articles/_includes/_api-auth-customize-tokens.md -You can use [Rules](/rules) to change the returned scopes of the `access_token` and/or add claims to it (and the `id_token`) with a script like this:
+You can use [Rules](/rules) to change the returned scop... | 10 |
diff --git a/packages/idyll-document/src/utils/index.js b/packages/idyll-document/src/utils/index.js @@ -12,7 +12,9 @@ export const buildExpression = (acc, expr, isEventHandler) => {
node => {
switch (node.type) {
case 'Identifier':
- if (Object.keys(acc).indexOf(node.name) > -1) {
+ const isPropertyAccess =
+ node.par... | 1 |
diff --git a/scripts/preinstall/darwin.bash.sh b/scripts/preinstall/darwin.bash.sh @@ -4,7 +4,8 @@ tmp_dir=$(mktemp -d -t parsr-install)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" &&
brew install qpdf imagemagick tesseract tesseract-lang tcl-tk ghostscript mupdf-to... | 0 |
diff --git a/packages/mjml/src/index.js b/packages/mjml/src/index.js +import path from 'path'
+import fs from 'fs'
+
import mjml2html, { registerComponent } from 'mjml-core'
import { registerDependencies } from 'mjml-validator'
@@ -46,4 +49,18 @@ registerComponent(CarouselImage)
registerDependencies(require('./dependen... | 9 |
diff --git a/resource/js/components/HeaderSearchBox/SearchForm.js b/resource/js/components/HeaderSearchBox/SearchForm.js @@ -60,7 +60,7 @@ export default class SearchForm extends React.Component {
crowi={this.crowi}
onChange={this.onChange}
emptyLabel={emptyLabel}
- placeholder="keyword1-keyword2"
+ placeholder="Search... | 13 |
diff --git a/docs/installation.md b/docs/installation.md # Installation
## Requirements
-BGPalerter requires a machine with *minimum* 2GB RAM. However, I strongly recommend 4GB.
+BGPalerter requires a machine with *minimum* 2GB RAM and swap enabled. However, I recommend 4GB.
+If you are using small AWS EC2 instances (o... | 7 |
diff --git a/public/javascripts/adalog/tree/projectlist.js b/public/javascripts/adalog/tree/projectlist.js @@ -9,8 +9,9 @@ define([
var ProjectList = function (selector, options) {
this.selector = selector;
- this.enabled = options.sbt_project_gen_enabled || utils.get_body_data("sbt_project_gen_enabled");
- if (this.en... | 7 |
diff --git a/bin/ns-upload.sh b/bin/ns-upload.sh @@ -49,15 +49,17 @@ fi
# use token authentication if the user has a token set in their API_SECRET environment variable
if [[ "${API_SECRET,,}" =~ "token=" ]]; then
- API_SECRET_HEADER=""
REST_ENDPOINT="${REST_ENDPOINT}?${API_SECRET}"
+ (test "$ENTRIES" != "-" && cat $ENT... | 1 |
diff --git a/config/_app.yml b/config/_app.yml @@ -37,6 +37,9 @@ friends:
url: 'https://getbootstrap.com/'
- name: nixCraft
url: 'https://www.cyberciti.biz/'
+ - name: Edubirdie
+ url: 'https://edubirdie.com/'
+ nofollow: false
redirects:
- name: legacy
from: /legacy/
| 0 |
diff --git a/screenshot.html b/screenshot.html }, '*', [arrayBuffer]);
} else if (type === 'png' || type === 'jpg') {
const canvas = await (async () => {
+ const _renderDefaultCanvas = async () => {
+ const uiRenderer = _makeUiRenderer();
+
+ const htmlString = _makeIconString(hash, ext);
+ const result = await uiRende... | 0 |
diff --git a/lib/assets/javascripts/unpoly/viewport.coffee.erb b/lib/assets/javascripts/unpoly/viewport.coffee.erb @@ -506,13 +506,37 @@ up.viewport = do ->
The scroll positions will be associated with the current URL.
They can later be restored by calling [`up.viewport.restoreScroll()`](/up.viewport.restoreScroll)
- a... | 7 |
diff --git a/local_modules/Exchange/Views/Body.html b/local_modules/Exchange/Views/Body.html </tr>
<tr>
<td>
- <div class="field_title form-field-title uppercase">
+ <div class="field_title form-field-title">
<div style="position: relative; left: 0px; top: 0px; padding: 2px 0 0 0;">
- <span class="field_title form-fiel... | 2 |
diff --git a/content/articles/phpunit-bigger-picture/index.md b/content/articles/phpunit-bigger-picture/index.md @@ -17,14 +17,13 @@ In this tutorial, we'll be discussing the basic concepts of PHPUnit. Then, I'll
- [Conclusion](#conclusion)
### Prerequisites
-To follow this tutorial along, you should already be familia... | 1 |
diff --git a/src/agent/index.js b/src/agent/index.js @@ -162,13 +162,13 @@ const commandHandlers = {
'T': traceLogDump,
'T-': traceLogClear,
'T*': traceLog,
- 'dtS': stalkTraceEverything,
- 'dtS?': stalkTraceEverythingHelp,
- 'dtSj': stalkTraceEverythingJson,
- 'dtS*': stalkTraceEverythingR2,
- 'dtSf': stalkTraceFuncti... | 10 |
diff --git a/articles/quickstart/spa/angular2/_includes/_centralized_login.md b/articles/quickstart/spa/angular2/_includes/_centralized_login.md @@ -86,6 +86,7 @@ export class AuthService {
public handleAuthentication(): void {
this.auth0.parseHash((err, authResult) => {
if (authResult && authResult.accessToken && auth... | 2 |
diff --git a/templates/indicators/form-sections/performance.html b/templates/indicators/form-sections/performance.html .append(
$('<button>')
.attr({
- type: 'button'
+ type: 'button',
+ title: "Delete disaggregation type"
})
- .addClass('btn btn-sm')
+ .addClass('btn btn-sm btn-danger')
.append($('<i>').addClass('fa f... | 0 |
diff --git a/doc/INSTALL.md b/doc/INSTALL.md # Setting up RCloud
-## Installing using VM images
+## Installing using VM or Docker images
-(https://github.com/att/rcloud/wiki/Cloud-Images)
+There are [DockerHub images](https://hub.docker.com/r/urbanek/rcloud-aas) as well as [VM images](https://github.com/att/rcloud/wiki... | 5 |
diff --git a/apps/speedalt/app.js b/apps/speedalt/app.js /*
Speed and Altitude [speedalt]
Mike Bennett mike[at]kereru.com
+1.16 : Use new GPS settings module
*/
-var v = '1.15';
+var v = '1.16';
var buf = Graphics.createArrayBuffer(240,160,2,{msb:true});
// Load fonts
@@ -269,8 +270,6 @@ function setButtons(){
// Power... | 4 |
diff --git a/examples/with-fela/pages/_document.js b/examples/with-fela/pages/_document.js @@ -18,7 +18,7 @@ export default class MyDocument extends Document {
render () {
const styleNodes = this.props.sheetList.map(({ type, media, css }) => (
- <style data-fela-type={type} media={media}>{css}</style>
+ <style data-fel... | 7 |
diff --git a/docs/reference.rst b/docs/reference.rst @@ -664,6 +664,17 @@ First, message `@taguibot <https://t.me/taguibot>`_ to authorise it to send mess
telegram 1234567890 Hello Alena,\n\nYour HR onboarding bot has completed successfully.
+.. code-block:: none
+ // show full response from Telegram Bot API
+ echo `te... | 7 |
diff --git a/templates/master/elasticsearch/es.js b/templates/master/elasticsearch/es.js @@ -11,7 +11,7 @@ var properties={
"VolumeSize": 10,
"VolumeType": "gp2"
},
- "ElasticsearchVersion": "7.7",
+ "ElasticsearchVersion": "7.9",
"SnapshotOptions": {
"AutomatedSnapshotStartHour": "0"
},
| 3 |
diff --git a/src/tagui_parse.php b/src/tagui_parse.php @@ -853,7 +853,7 @@ $params = trim(substr($raw_intent." ",1+strpos($raw_intent." "," ")));
if (substr($params,0,3) != "to ") $params = "to " . $params; // handle user missing out to separator
$param1 = trim(substr($params,0,strpos($params,"to "))); $param2 = trim(s... | 7 |
diff --git a/assets/src/utils/filters/SearchBar.test.js b/assets/src/utils/filters/SearchBar.test.js @@ -2,23 +2,22 @@ import React from 'react';
import SearchBar from './SearchBar'
import {shallow} from 'enzyme';
import {expect} from 'chai';
+import sinon from 'sinon';
describe('<Search />', () => {
let searchBarCompo... | 0 |
diff --git a/examples/CenterMode.js b/examples/CenterMode.js @@ -8,26 +8,12 @@ export default class CenterMode extends Component {
centerMode: true,
infinite: true,
centerPadding: '60px',
- slidesToShow: 4,
+ slidesToShow: 3,
speed: 500,
};
- const settings2 = {
- ...settings,
- infinite: false
- }
- const settings3 = ... | 2 |
diff --git a/docs/meta_schema.json b/docs/meta_schema.json "type":"array"
},
"items":{
+ "oneOf":[
+ {
+ "title": "Schema",
"$ref":"#/definitions/schema"
},
+ {
+ "title": "Array of schemas",
+ "type": "array",
+ "$ref": "#/definitions/schemaArray",
+ "format": "table"
+ }
+ ]
+ },
"uniqueItems":{
"type":"boolean"
},
| 11 |
diff --git a/packages/insomnia-app/app/ui/css/editor/theme.less b/packages/insomnia-app/app/ui/css/editor/theme.less border-left: 1px solid var(--color-font);
}
+ .CodeMirror-foldmarker {
+ color: var(--color-surprise);
+ text-shadow: none;
+ font-family: inherit;
+ line-height: .3;
+ cursor: pointer;
+ padding: 0 var(... | 7 |
diff --git a/app/models/user.rb b/app/models/user.rb @@ -1578,9 +1578,6 @@ class User < Sequel::Model
def regenerate_api_key
invalidate_varnish_cache
update api_key: ::User.make_token
- rescue CartoDB::CentralCommunicationFailure => e
- CartoDB::Logger.error(message: 'Error updating api key for mobile_apps in Central',... | 2 |
diff --git a/plugins/object_storage/app/services/service_layer_ng/object_storage_service.rb b/plugins/object_storage/app/services/service_layer_ng/object_storage_service.rb @@ -420,17 +420,23 @@ module ServiceLayerNg
end
def public_url(container_name, object_path = nil)
- # similar to https://github.com/fog/fog-opensta... | 14 |
diff --git a/src/resources/views/fields/table.blade.php b/src/resources/views/fields/table.blade.php } elseif (is_string($items) && !is_array(json_decode($items))) {
$items = '[]';
}
-
- echo '<pre>'; var_dump($items); echo '</pre>';
?>
<div data-field-type="table" data-field-name="{{ $field['name'] }}" @include('crud:... | 1 |
diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_haspopup_invalid_ruleunit/input_list.html b/accessibility-checker-engine/test/v2/checker/accessibility/rules/input_haspopup_invalid_ruleunit/input_list.html <body>
<main>
<!-- fail case 1, no type specified-->
- <input list="listbox1" i... | 3 |
diff --git a/generators/client/templates/angular/webpack/_webpack.common.js b/generators/client/templates/angular/webpack/_webpack.common.js @@ -107,7 +107,6 @@ module.exports = (options) => {
utils.root('<%= MAIN_SRC_DIR %>app'), {}
),
new CopyWebpackPlugin([
- { from: './node_modules/core-js/client/shim.min.js', to: ... | 2 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -44,10 +44,16 @@ module.exports = function (grunt) {
version: '11.0',
platform: 'windows 8.1'
},
- 'SL_EDGE': {
+ 'SL_IE13': {
base: 'SauceLabs',
- browserName: 'microsoftedge',
- version: '20',
+ browserName: 'internet explorer',
+ version: '13',
+ platform: 'windows 10'
+ }... | 14 |
diff --git a/README.md b/README.md @@ -146,6 +146,7 @@ The component accepts the following props:
|**`search`**|boolean|true|Show/hide search icon from toolbar
|**`print`**|boolean|true|Show/hide print icon from toolbar
|**`download`**|boolean|true|Show/hide download icon from toolbar
+|**`viewColumns`**|boolean|true|S... | 0 |
diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php @@ -702,7 +702,6 @@ final class Analytics extends Module
$profile = new Google_Service_Analytics_Profile();
$profile->setName( $profile_name );
$profile = $this->get_service( 'analytics' )->management_profiles->insert( $data['accountID'], $dat... | 2 |
diff --git a/lib/plugins/aws/invokeLocal/index.js b/lib/plugins/aws/invokeLocal/index.js @@ -302,12 +302,10 @@ class AwsInvokeLocal {
Object.keys(zip.files)
.map(filename => zip.files[filename].async('nodebuffer').then(fileData => {
if (filename.endsWith(path.sep)) {
- mkdirp.sync(path.join(
- '.serverless', 'invokeLoc... | 9 |
diff --git a/codegens/powershell-restmethod/lib/index.js b/codegens/powershell-restmethod/lib/index.js @@ -38,6 +38,10 @@ function parseURLEncodedBody (body) {
* @param {boolean} trim trim body option
*/
function parseFormData (body, trim) {
+ if (_.isEmpty(body)) {
+ return '$body = $null\n';
+ }
+
var bodySnippet = '... | 9 |
diff --git a/src/components/resource.js b/src/components/resource.js @@ -130,7 +130,12 @@ module.exports = function(app) {
});
};
- // Close all open dialogs on state change.
+ // Close all open dialogs on state change (using UI-Router).
+ $scope.$on('$stateChangeStart', function() {
+ ngDialog.closeAll(false);
+ });
+... | 9 |
diff --git a/assets/js/modules/pagespeed-insights/dashboard/util.js b/assets/js/modules/pagespeed-insights/dashboard/util.js /**
* WordPress dependencies
*/
-import { __ } from '@wordpress/i18n';
import { CATEGORY_FAST, CATEGORY_AVERAGE, CATEGORY_SLOW } from '../components/constants';
/**
@@ -40,80 +39,3 @@ export func... | 2 |
diff --git a/src/components/Workspace.jsx b/src/components/Workspace.jsx @@ -116,7 +116,7 @@ export default class Workspace extends React.Component {
this._handleClickInstructionsEditButton();
}}
>
- 
+ 
</span>
}
</div>
| 4 |
diff --git a/docs/contributing.md b/docs/contributing.md @@ -17,7 +17,7 @@ Developer documentaion is available [here](https://github.com/uber/deck.gl/tree/
### Node Version Requirement
-Running deck.gl as a dependency in another project (e.g. via `npm i deck.gl`) requires Node `4.x` or higher. Building deck.gl from sou... | 3 |
diff --git a/website_code/scripts/xapi_dashboard.js b/website_code/scripts/xapi_dashboard.js @@ -793,6 +793,7 @@ xAPIDashboard.prototype.displayMCQQuestionInformation = function(contentDiv, que
var interactionObjectUrl = interaction.url;
contentDiv.append(XAPI_DASHBOARD_QUESTION + " " + question.name["en-US"]);
var opt... | 10 |
diff --git a/src/containers/FlightDirector/SoftwarePanels/canvas.js b/src/containers/FlightDirector/SoftwarePanels/canvas.js @@ -229,7 +229,8 @@ export default class PanelCanvas extends Component {
loc={draggingCable.location}
/>
)}
- {cables.map(c => (
+ {cables &&
+ cables.map(c => (
<DraggingLine
width={width}
heigh... | 1 |
diff --git a/metaverse_components/npc.js b/metaverse_components/npc.js @@ -24,6 +24,8 @@ try {
const npcVoiceName = component.voice ?? 'Shining armor';
const npcBio = component.bio ?? 'A generic avatar.';
// const npcAvatarUrl = app.getComponent('avatarUrl') ?? `/avatars/Drake_hacker_v6_Guilty.vrm`;
+ // const npcTheme... | 0 |
diff --git a/Gruntfile.js b/Gruntfile.js @@ -436,7 +436,7 @@ module.exports = function (grunt) {
/**
* `grunt test:browser` compile all Builder specs and launch a webpage in the browser.
*/
- grunt.registerTask('test:browser', 'Build all Builder specs', [
+ grunt.registerTask('test:browser:builder', 'Build all Builder ... | 10 |
diff --git a/packages/app/src/server/models/named-query.ts b/packages/app/src/server/models/named-query.ts @@ -20,7 +20,9 @@ const schema = new Schema<NamedQueryDocument, NamedQueryModel>({
name: { type: String, required: true, unique: true },
aliasOf: { type: String },
resolverName: { type: String, enum: SearchResolve... | 12 |
diff --git a/userscript.user.js b/userscript.user.js @@ -56975,6 +56975,8 @@ var $$IMU_EXPORT$$;
// some sites have z-index: 99999999999999 (http://www.topstarnews.net/)
// this gets scaled down to 2147483647 in the elements panel, but it gets seen as higher than 9999* by the browser
var maxzindex = Number.MAX_SAFE_INT... | 7 |
diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html * @param {string} topic
* @returns `true` if it is a valid topic
*/
- function validateMQTTPublishTopic(topic) {
- if(!topic || topic == "") {
+ function validateMQTTPublishTopi... | 4 |
diff --git a/README.md b/README.md -<p align="center">
- <a href="https://tailwindcss.com/" target="_blank"><img width="200" src="https://tailwindcss.com/img/tailwind.svg"></a><br>
+<p>
+ <a href="https://tailwindcss.com/" target="_blank"><img width="350" src="https://refactoringui.nyc3.cdn.digitaloceanspaces.com/tailw... | 14 |
diff --git a/source/components/NumericInput.js b/source/components/NumericInput.js @@ -168,6 +168,15 @@ class NumericInputBase extends Component<NumericInputProps, State> {
};
}
+ // Case: Just minus sign was entered
+ if (valueToProcess === groupSeparator) {
+ return {
+ value: null,
+ caretPosition: 0,
+ fallbackInpu... | 9 |
diff --git a/app/redux/ducks/translations.js b/app/redux/ducks/translations.js import apiClient from 'panoptes-client/lib/api-client';
import counterpart from 'counterpart';
-counterpart.setFallbackLocale('en');
+const DEFAULT_LOCALE = counterpart.getLocale();
+
+counterpart.setFallbackLocale(DEFAULT_LOCALE);
// Action... | 14 |
diff --git a/docs/installation.rst b/docs/installation.rst @@ -18,7 +18,7 @@ If using BIG-IP 14.0 or later
`````````````````````````````
If you are using BIG-IP 14.0 or later, the |14| is enforced. As mentioned in the Prerequisites, you must change your **admin** password before attempting to upload or install Declarat... | 1 |
diff --git a/NiL.JS/Core/Context.cs b/NiL.JS/Core/Context.cs @@ -152,9 +152,6 @@ namespace NiL.JS.Core
var c = this;
if (_thisBind == null)
{
- if (_strict)
- return JSValue.undefined;
-
for (; c._thisBind == null;)
{
if (c._parent._parent == null)
| 2 |
diff --git a/app/src/renderer/components/wallet/PageSend.vue b/app/src/renderer/components/wallet/PageSend.vue @@ -119,7 +119,12 @@ export default {
title: 'Successfully Sent',
body: `Successfully sent ${amount} ${denom.toUpperCase()} to ${address}`
})
+
+ // resets send transaction form
this.resetForm()
+
+ // refresh... | 3 |
diff --git a/src/renderer/layer/CanvasRenderer.js b/src/renderer/layer/CanvasRenderer.js @@ -365,10 +365,6 @@ class CanvasRenderer extends Class {
this.onCanvasCreate();
- this.layer.fire('canvascreate', {
- 'context' : this.context,
- 'gl' : this.gl
- });
}
onCanvasCreate() {
@@ -376,8 +372,8 @@ class CanvasRenderer e... | 3 |
diff --git a/bin/enforcers/open-api.js b/bin/enforcers/open-api.js @@ -33,31 +33,37 @@ function OpenAPIEnforcer(data) {
* @param {string} [request.method='get']
* @param {string} [request.path='/']
* @param {object} [options]
+ * @param {boolean} [options.allowOtherFormDataParameters=false] Allow form data that is not ... | 3 |
diff --git a/components/combobox/combobox.jsx b/components/combobox/combobox.jsx @@ -1217,7 +1217,7 @@ class Combobox extends React.Component {
className={classNames('slds-form-element', props.classNameContainer)}
>
<Label
- assistiveText={this.props.assistiveText.label}
+ assistiveText={this.props.assistiveText}
htmlF... | 13 |
diff --git a/src/auth.js b/src/auth.js @@ -46,6 +46,7 @@ async function verifyProfile(profile, fieldName) {
const now = new Date().toISOString();
const email = profile.emails && profile.emails[0].value;
const avatar = profile.photos && profile.photos[0].value;
+ const username = profile.displayName ? profile.displayNam... | 1 |
diff --git a/server/preprocessing/other-scripts/streamgraph.R b/server/preprocessing/other-scripts/streamgraph.R @@ -84,32 +84,10 @@ if (service == 'linkedcat' || service == 'linkedcat_authorview' || service == "l
sg_data$subject <- (sg_data$subject
%>% subset(stream_item %in% top_12_subject)
%>% arrange(match(stream_i... | 2 |
diff --git a/website/content/docs/uploadcare.md b/website/content/docs/uploadcare.md @@ -46,7 +46,7 @@ using the image or file widgets.
## Configuring the Uploadcare Widget
The Uploadcare widget can be configured with settings that are outlined [in their
-docs](https://uploadcare.com/docs/uploads/widget/config/). The w... | 3 |
diff --git a/src/encoded/tests/data/inserts/biosample.json b/src/encoded/tests/data/inserts/biosample.json "_test": "has references",
"accession": "ENCBS000AAA",
"aliases": [
- "richard-myers:MCF-7 rep 3"
+ "richard-myers:MCF-7 rep 3",
+ "andrew-fire:biosample 1"
],
"award": "ENCODE2",
"biosample_term_id": "EFO:0001203... | 0 |
diff --git a/packages/bitcore-wallet-service/src/lib/chain/doge/index.ts b/packages/bitcore-wallet-service/src/lib/chain/doge/index.ts @@ -130,6 +130,7 @@ export class DogeChain extends BtcChain implements IChain {
const txpSize = baseTxpSize + selected.length * sizePerInput;
fee = Math.round(baseTxpFee + selected.leng... | 12 |
diff --git a/imports/ui/css/earth.css b/imports/ui/css/earth.css @@ -4132,7 +4132,6 @@ blockquote {
width: 28px;
height: 28px;
margin-right: 5px;
- float: left;
}
.micro-label {
@@ -5114,6 +5113,7 @@ blockquote {
font-weight: 400;
}
.paper {
+ border-radius: 0px;
box-shadow: none;
}
.paper.paper-execute {
@@ -5156,6 +5... | 7 |
diff --git a/app/containers/Wallet.js b/app/containers/Wallet.js @@ -7,6 +7,7 @@ import { FormGroup } from 'material-ui/Form';
import Button from 'material-ui/Button';
import WalletHistory from '../components/WalletHistory';
import SendAdaForm from '../components/SendAdaForm';
+import Loading from '../components/ui/loa... | 7 |
diff --git a/token-metadata/0x314bD765cAB4774b2E547eB0aA15013e03FF74d2/metadata.json b/token-metadata/0x314bD765cAB4774b2E547eB0aA15013e03FF74d2/metadata.json "symbol": "PARTY",
"address": "0x314bD765cAB4774b2E547eB0aA15013e03FF74d2",
"decimals": 6,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/cypress/platform/viewer.js b/cypress/platform/viewer.js @@ -44,7 +44,7 @@ const contentLoadedApi = function() {
(svgCode, bindFunctions) => {
div.innerHTML = svgCode;
- bindFunctions(div);
+ if (bindFunctions) bindFunctions(div);
},
div
);
| 1 |
diff --git a/themes/home/Page.js b/themes/home/Page.js @@ -9,12 +9,13 @@ const themes = [{
name: 'Material',
url: 'material',
imgUrl: '~/img/material.png',
- description: "Material design theme."
+ description: `This theme is based on Google's ground-breaking Material design principles. It closely follows their detaile... | 7 |
diff --git a/shaders.js b/shaders.js @@ -960,6 +960,21 @@ const _ensureLoadMesh = p => {
}
}; */
+/* const redBuildMeshMaterial = new THREE.ShaderMaterial({
+ vertexShader: `
+ void main() {
+ gl_Position = projectionMatrix * modelViewMatrix * vec4(position * 1.05, 1.);
+ }
+ `,
+ fragmentShader: `
+ void main() {
+ gl... | 0 |
diff --git a/src/logged_out/components/home/PricingSection.js b/src/logged_out/components/home/PricingSection.js import React from "react";
import PropTypes from "prop-types";
-import { Grid, Typography, isWidthUp, withWidth } from "@material-ui/core";
+import classNames from "classnames";
+import {
+ Grid,
+ Typograph... | 7 |
diff --git a/src/commands/move.js b/src/commands/move.js @@ -50,7 +50,7 @@ async function selectChannelFn (m, data) {
curErrors += translate('commands.move.meMissingEmbedLinks', { id: selected.id })
}
for (const feed of feeds) {
- if (feed.channel === selected.id && feed.link === selectedFeed.link && feed._id !== selec... | 1 |
diff --git a/resources/functions/handler/WindowStateHandler.js b/resources/functions/handler/WindowStateHandler.js @@ -9,12 +9,8 @@ exports.WindowStateHandler = function () {
app.previousPage = app.win.webContents.getURL()
app.win.webContents.setWindowOpenHandler(({url}) => {
- if (url.startsWith('https://discord.gg/')... | 2 |
diff --git a/README.md b/README.md [](https://github.com/metarhia/impress/actions?query=workflow%3A%22Testing+CI%22+branch%3Amaster)
[](https://www.coda... | 7 |
diff --git a/spec/factories/users.rb b/spec/factories/users.rb @@ -71,7 +71,7 @@ FactoryGirl.define do
salt 'kkkkkkkkk'
api_key '21ee521b8a107ea55d61fd7b485dd93d54c0b9d2'
- table_quota 5
+ table_quota nil
quota_in_bytes 5000000
id { UUIDTools::UUID.timestamp_create.to_s }
builder_enabled nil # Most tests still assume e... | 2 |
diff --git a/app/shared/components/Wallet/Panel/Form/Stake.js b/app/shared/components/Wallet/Panel/Form/Stake.js @@ -166,8 +166,13 @@ class WalletPanelFormStake extends Component<Props> {
return true;
}
+ const cpuDifference = cpuOriginal.minus(decimalCpuAmount);
+ const netDifference = netOriginal.minus(decimalNetAmou... | 11 |
diff --git a/src/encoded/audit/experiment.py b/src/encoded/audit/experiment.py @@ -808,9 +808,20 @@ def check_experiment_dnase_seq_standards(experiment,
'lack read depth information.'
yield AuditFailure('missing read depth', detail, level='WARNING')
+ hotspot_assemblies = {}
+ for hotspot_file in hotspots_files:
+ if '... | 0 |
diff --git a/content/questions/promise-all-resolve-order/index.md b/content/questions/promise-all-resolve-order/index.md @@ -29,4 +29,4 @@ const all = Promise.all([
<!-- explanation -->
-The order in which the Promises resolves does not matter to `Promise.all`. We can reliably count on them returning in the same array ... | 3 |
diff --git a/src/plugins/docker/command-handlers.js b/src/plugins/docker/command-handlers.js @@ -192,11 +192,11 @@ export function restart(api) {
}
export function removeSwarm(api) {
- const list = nodemiral.taskList('Removing swarm');
+ const list = nodemiral.taskList('Destroy Swarm Cluster');
const servers = Object.k... | 7 |
diff --git a/src/pages/MetricDocs/Sections/MetricName.js b/src/pages/MetricDocs/Sections/MetricName.js @@ -66,8 +66,8 @@ const Metrics: ComponentType<*> = ({ metrics, setUri }) => {
(
userInput
? (
- item.metric.indexOf(userInput.replace(/[^a-z6028\s]/gi, "")) > -1 ||
- item.metric_name.indexOf(userInput.replace(/[^a-z... | 7 |
diff --git a/app/models/update_action.rb b/app/models/update_action.rb @@ -93,7 +93,7 @@ class UpdateAction < ActiveRecord::Base
end
def self.email_updates_to_user(subscriber, start_time, end_time)
- Rails.logger.info "email_updates_to_user: #{subscriber}"
+ Rails.logger.debug "email_updates_to_user: #{subscriber}"
use... | 5 |
diff --git a/test/tests/atb.js b/test/tests/atb.js (function() {
bkg.settings.ready().then(() => {
QUnit.module("ATB");
- testATBrewrite()
testATBInstall()
})
})()
-function testATBrewrite() {
- QUnit.test("ATB module url rewrite", function (assert) {
-
- // don't update atb values if they don't already exist
- bkg.set... | 2 |
diff --git a/src/TemplatePassthrough.js b/src/TemplatePassthrough.js @@ -28,7 +28,7 @@ class TemplatePassthrough {
return path.normalize(TemplatePath.join(outputDir, outputPath));
}
- getGlobOutputPath(globFile) {
+ getOutputPathForGlobFile(globFile) {
return TemplatePath.join(
this.getOutputPath(),
TemplatePath.getLas... | 10 |
diff --git a/src/reducers/account/index.js b/src/reducers/account/index.js @@ -11,7 +11,8 @@ import {
resetAccounts,
checkCanEnableTwoFactor,
get2faMethod,
- getLedgerKey
+ getLedgerKey,
+ getBalance
} from '../../actions/account'
const initialState = {
@@ -108,7 +109,9 @@ const account = handleActions({
[resetAccounts... | 9 |
diff --git a/client/deck-validator.js b/client/deck-validator.js @@ -25,10 +25,16 @@ function getStronghold(deck) {
}
function isCardInReleasedPack(packs, card) { // eslint-disable-line no-unused-vars
- let cardPack = card.pack_cards[0].pack.id;
- let pack = _.find(packs, pack => {
+ let cardPack = '';
+ let pack = fal... | 9 |
diff --git a/src/screens/DonateScreen/index.js b/src/screens/DonateScreen/index.js @@ -38,7 +38,10 @@ class DonateScreen extends React.PureComponent<Props, State> {
};
onAmountSelected = (selectedAmount: string) => {
- this.setState({ selectedAmount, otherAmount: null });
+ this.setState({
+ selectedAmount: selectedAmo... | 0 |
diff --git a/devices.js b/devices.js @@ -114,7 +114,7 @@ const devices = [
vendor: 'Xiaomi',
description: 'Aqara double key wireless wall switch',
supports: 'left, right and both click',
- fromZigbee: [fz.xiaomi_battery_3v, fz.WXKG02LM_click],
+ fromZigbee: [fz.xiaomi_battery_3v, fz.WXKG02LM_click, fz.ignore_basic_chan... | 8 |
diff --git a/index.d.ts b/index.d.ts @@ -48,7 +48,7 @@ export type HTMLRendererConfig = BaseRendererConfig & {
};
export type AnimationConfig = {
- container: HTMLElement;
+ container: Element;
renderer?: 'svg' | 'canvas' | 'html';
loop?: boolean | number;
autoplay?: boolean;
@@ -72,7 +72,7 @@ type LottiePlayer = {
sea... | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.