code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/articles/api/management/v2/user-search.md b/articles/api/management/v2/user-search.md @@ -10,10 +10,24 @@ Auth0 allows you, as an administrator, to search for users using [Lucene Query S
This document will demonstrate the various ways in which you can search for users, as well as give some example queries.... | 0 |
diff --git a/client/app/services/l10n.js b/client/app/services/l10n.js @@ -22,7 +22,7 @@ export const L10nContext = React.createContext(undefined);
* Provides "t" "setLanguage" and "language" to Children (via react's useContext)
* Usage:
* const {t} = useContext(L10nContext);
- * return <div >{t('some-translation-key')... | 4 |
diff --git a/app/src/tests/scripts/common/forms/warn-button.spec.jsx b/app/src/tests/scripts/common/forms/warn-button.spec.jsx import WarnButton from '../../../../scripts/common/forms/warn-button';
-describe('component WarnButton', () => {
+describe('common/forms/WarnButton', () => {
it('renders successfully', () => {
... | 1 |
diff --git a/node-binance-api.js b/node-binance-api.js @@ -528,11 +528,20 @@ LIMIT_MAKER
if ( callback ) callback(balanceData(data));
});
},
+/*
+Breaking change: Spread operator is unsupported by Electron
+Move this to a future release
trades: function(symbol, callback, options) {
signedRequest(base+'v3/myTrades', {sy... | 2 |
diff --git a/src/docs/filters.md b/src/docs/filters.md @@ -33,7 +33,7 @@ Various template engines can be extended with custom filters to modify content.
<h1>{{ name | makeUppercase }}</h1>
{% endraw %}{% endhighlight %}
</div>
- <div id="filter-11tyjs" role="tabpanel">
+ <div id="filter-js" role="tabpanel">
{% codetitl... | 1 |
diff --git a/package.json b/package.json "name": "find-and-replace",
"main": "./lib/find",
"description": "Find and replace within buffers and across the project.",
- "version": "0.215.13",
+ "version": "0.215.14",
"license": "MIT",
"activationCommands": {
"atom-workspace": [
| 6 |
diff --git a/tools/import_conservation_statuses.rb b/tools/import_conservation_statuses.rb @@ -95,7 +95,9 @@ CSV.foreach( csv_path, headers: HEADERS ) do |row|
skipped << identifier
next
end
- unless iucn = Taxon::IUCN_STATUS_VALUES[row["iucn"].to_s.parameterize.underscore]
+ iucn = Taxon::IUCN_STATUS_VALUES[row["iucn"... | 11 |
diff --git a/src/plugin/buddhistEra/index.js b/src/plugin/buddhistEra/index.js @@ -6,14 +6,15 @@ export default (o, c) => { // locale needed later
// extend en locale here
proto.format = function (formatStr, localeObject) {
const yearBias = 543
+ const utils = this.$utils()
const locale = localeObject || this.$locale()... | 0 |
diff --git a/styles/components/_type.scss b/styles/components/_type.scss @@ -6,7 +6,6 @@ h1,h2,h3,h4,h5,h6,
font-weight: 700;
-webkit-margin-before: 0;
-webkit-margin-after: 0.5em;
- -webkit-user-select: none;
}
// all font sizes are multiples of the base rem. This allows us to increase or decrease all the fonts by cha... | 11 |
diff --git a/src/model_path_provider.js b/src/model_path_provider.js @@ -7,7 +7,7 @@ import {
class gltfModelPathProvider
{
- constructor(modelIndexerPath, ignoredVariants = ["glTF-Draco", "glTF-Embedded"])
+ constructor(modelIndexerPath, ignoredVariants = ["glTF-Embedded"])
{
this.modelIndexerPath = modelIndexerPath;
... | 11 |
diff --git a/cli/jhipster-command.js b/cli/jhipster-command.js @@ -49,15 +49,18 @@ class JHipsterCommand extends Command {
* @return {JHipsterCommand} this;
*/
addOption(option) {
- const result = super.addOption(option);
- // Add a hidden negate option for boolean options
- if (option.long && !option.required && !opti... | 7 |
diff --git a/articles/api-auth/grant/authorization-code-pkce.md b/articles/api-auth/grant/authorization-code-pkce.md @@ -42,26 +42,16 @@ For details on how to implement this using Auth0, refer to [Execute an Authoriza
For details on how to implement this, refer to [Execute an Authorization Code Grant Flow with PKCE: Cu... | 0 |
diff --git a/lib/global-admin/addon/security/authentication/localauth/template.hbs b/lib/global-admin/addon/security/authentication/localauth/template.hbs <section>
- <h2>{{headerText}}</h2>
+ <h2>
+ {{headerText}}
+ </h2>
<div class="text-center">
- {{t 'authPage.localAuth.subtext.enabled.text' appName=settings.appNam... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -3411,6 +3411,37 @@ var $$IMU_EXPORT$$;
}
};
+ var js_set_available = false;
+ var new_set = function() {
+ var set = [];
+
+ try {
+ set = new Set();
+ js_set_available = true;
+ } catch (e) {
+ }
+
+ return set;
+ };
+
+ var set_add = function(set, key) {
+ if (... | 4 |
diff --git a/src/state/state.js b/src/state/state.js // call the stage destroy method
if (_stages[_state]) {
// just notify the object
- _stages[_state].screen.destroy();
+ _stages[_state].stage.destroy();
}
if (_stages[state]) {
_state = state;
// call the reset function with _extraArgs as arguments
- _stages[_state].... | 10 |
diff --git a/src/article/shared/FigureLabelGenerator.js b/src/article/shared/FigureLabelGenerator.js @@ -91,14 +91,22 @@ export default class FigureLabelGenerator {
return String(def[0].pos)
} else {
let figCounter = def[0].pos
- let panelCounter = def[1].pos
// TODO: we should think about some way to make this configu... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -109,6 +109,19 @@ PRs are welcome! Please do open an issue to discuss first if it's a big feature,
- [ ] providers: Get Facebook integration on its feet (@ife)
- [ ] companion: what happens if access token expires during/between an download & upload (@ife)
+## 1.9.4
+
+Releas... | 0 |
diff --git a/src/govuk/template.njk b/src/govuk/template.njk <html lang="{{ htmlLang | default('en') }}" class="govuk-template {{ htmlClasses }}">
<head>
<meta charset="utf-8" />
- <title>{% block pageTitle %}GOV.UK - The best place to find government services and information{% endblock %}</title>
+ <title{% if pageTit... | 11 |
diff --git a/lib/plugins/browsertime/index.js b/lib/plugins/browsertime/index.js @@ -220,7 +220,9 @@ module.exports = {
if (this.resultUrls.hasBaseUrl()) {
const base = this.resultUrls.absoluteSummaryPageUrl(url);
- _meta.screenshot = `${base}data/screenshots/${runIndex}.png`;
+ _meta.screenshot = `${base}data/screensh... | 4 |
diff --git a/articles/appliance/infrastructure/virtual-machines.md b/articles/appliance/infrastructure/virtual-machines.md @@ -13,11 +13,7 @@ sitemap: false
# PSaaS Appliance Infrastructure Requirements: Virtual Machines
-You may deploy the PSaaS Appliance on your premises using your own infrastructure or the infrastru... | 2 |
diff --git a/src/settings/schema.js b/src/settings/schema.js @@ -102,8 +102,8 @@ module.exports = [
`CREATE TABLE IF NOT EXISTS builds (
build_id VARCHAR(8) NOT NULL,
title VARCHAR(255) NOT NULL default 'My Build',
- body TEXT NOT NULL default 'My Build Body',
- image TEXT NOT NULL default 'https://i.imgur.com/2ZJiRKC.... | 2 |
diff --git a/src/js/easymde.js b/src/js/easymde.js @@ -145,8 +145,8 @@ function createToolbarButton(options, enableTooltips, shortcuts) {
for (var classNameIndex = 0; classNameIndex < classNameParts.length; classNameIndex++) {
var classNamePart = classNameParts[classNameIndex];
// Split icon classes from the button.
- ... | 7 |
diff --git a/package.json b/package.json "deploy": "./deploy.sh",
"build": "npx @11ty/eleventy",
"start": "npx @11ty/eleventy --serve --incremental",
- "build-production": "node node-avatars-opencollective && NODE_ENV=production npx @11ty/eleventy",
+ "build-production": "npm run get-new-data && node node-avatars-openc... | 4 |
diff --git a/token-metadata/0x6B175474E89094C44Da98b954EedeAC495271d0F/metadata.json b/token-metadata/0x6B175474E89094C44Da98b954EedeAC495271d0F/metadata.json "symbol": "DAI",
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/packages/inertia/src/inertia.js b/packages/inertia/src/inertia.js @@ -64,6 +64,7 @@ export default {
region.scrollTop = 0
region.scrollLeft = 0
})
+ this.saveScrollPositions()
if (window.location.hash) {
const el = document.getElementById(window.location.hash.slice(1))
@@ -265,7 +266,7 @@ export default {
... | 7 |
diff --git a/src/components/nodes/boundaryTimerEvent/boundaryTimerEvent.vue b/src/components/nodes/boundaryTimerEvent/boundaryTimerEvent.vue @@ -8,6 +8,7 @@ import timerEventIcon from '@/assets/timer-event-icon.svg';
import boundaryEventSwitcher from '@/mixins/boundaryEventSwitcher';
import { portGroups } from '@/mixin... | 11 |
diff --git a/userscript.user.js b/userscript.user.js @@ -20903,6 +20903,16 @@ var $$IMU_EXPORT$$;
return newsrc;
}
+ if (host_domain_nosub === "fc2.com" && options.element) {
+ if (options.element.tagName === "svg" && options.element.parentElement && options.element.parentElement.tagName === "DIV") {
+ if (string_index... | 8 |
diff --git a/scripts/deployment/liquidity-mining/deploy-liquidity-mining.py b/scripts/deployment/liquidity-mining/deploy-liquidity-mining.py @@ -54,7 +54,7 @@ def main():
wrapper = "0x0000000000000000000000000000000000000000" # can be updated later using setWrapper
# The % (in Basis Point) which determines how much wil... | 12 |
diff --git a/src/views/preview-faq/preview-faq.scss b/src/views/preview-faq/preview-faq.scss margin-bottom: 5rem;
}
-h1 {
+.title-banner-h1 {
line-height: 1.7em !important;
font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif !important;
font-size: 2.5rem !important;
font-weight: 900 !important;
}
+
+.preview-... | 9 |
diff --git a/package.json b/package.json "file-saver": "^1.3.8",
"handlebars": "^4.7.6",
"handlebars-loader": "^1.7.0",
- "highlight.js": "^9.15.10",
+ "highlight.js": "^10.4.1",
"html-webpack-plugin": "^3.2.0",
"idle-vue": "^2.0.5",
"js-cache": "^1.0.3",
| 3 |
diff --git a/world.js b/world.js @@ -78,6 +78,13 @@ world.disableMic = () => {
localPlayer.setMicMediaStream(null);
}
};
+world.toggleMic = () => {
+ if (mediaStream) {
+ world.disableMic();
+ } else {
+ world.enableMic();
+ }
+};
world.connectState = state => {
state.setResolvePriority(1);
| 0 |
diff --git a/doc/developer-center/auth-api/guides/01-CARTO-Authorization.md b/doc/developer-center/auth-api/guides/01-CARTO-Authorization.md @@ -12,7 +12,7 @@ And here you can see the process of creating a new API key, managing its name an
It requires to add a name and grant permission for at least one of these:
* SQL ... | 7 |
diff --git a/src/context/useGenerateTest.jsx b/src/context/useGenerateTest.jsx @@ -232,7 +232,7 @@ function useGenerateTest(test, projectFilePath) {
// Hooks & Context Import Statements
const addHooksImportStatements = () => {
- hooksTestCase["hooksStatements"].forEach((statement) => {
+ hooksTestCase.hooksStatements.f... | 3 |
diff --git a/src/setData/yearFour.js b/src/setData/yearFour.js @@ -319,7 +319,7 @@ export default ([
{
name: 'Extras',
season: 12,
- items: [3677784672, 532530783]
+ items: [3677784672]
}
]
},
@@ -342,7 +342,14 @@ export default ([
{
name: 'Extras',
season: 13,
- items: [532530782, 532530777, 1249788648, 397043529, 195... | 5 |
diff --git a/ui/js/lbryio.js b/ui/js/lbryio.js @@ -10,7 +10,7 @@ const lbryio = {
enabled: false
};
-const CONNECTION_STRING = 'http://localhost:8080/';
+const CONNECTION_STRING = 'https://api.lbry.io/';
const mocks = {
'reward_type.get': ({name}) => {
@@ -26,7 +26,7 @@ const mocks = {
lbryio.call = function(resource, ... | 11 |
diff --git a/modules/UI/videolayout/ConnectionIndicator.js b/modules/UI/videolayout/ConnectionIndicator.js @@ -64,7 +64,7 @@ ConnectionIndicator.getStringFromArray = function (array) {
ConnectionIndicator.prototype.generateText = function () {
var downloadBitrate, uploadBitrate, packetLoss, i;
- if(this.bitrate === nul... | 7 |
diff --git a/edit.js b/edit.js @@ -6,7 +6,7 @@ import * as THREE from './three.module.js';
// import {GLTFExporter} from './GLTFExporter.js';
// import {TransformControls} from './TransformControls.js';
import {tryLogin, loginManager} from './login.js';
-// import runtime from './runtime.js';
+import runtime from './ru... | 0 |
diff --git a/src/resources/pingables.json b/src/resources/pingables.json "invasions,vandal,forma",
"invasions,vandal,other",
"invasions,vandal,credits",
+ "invasions,vandal,exilus",
"invasions,wraith,vandal",
"invasions,wraith,nitain",
"invasions,wraith,mutalist",
"invasions,wraith,forma",
"invasions,wraith,other",
"in... | 1 |
diff --git a/backend/lost/logic/jobs/jobs.py b/backend/lost/logic/jobs/jobs.py @@ -166,6 +166,14 @@ def remove_empty_annos():
dbm.close_session()
return c_2dannos
+def get_file_ext_from_export_type(export_type):
+ if export_type == 'LOST_Dataset':
+ return '.parquet'
+ elif export_type == 'CSV':
+ return '.csv'
+ else:... | 11 |
diff --git a/src/server/crowi/index.js b/src/server/crowi/index.js @@ -203,27 +203,34 @@ Crowi.prototype.setupDatabase = function() {
return mongoose.connect(mongoUri, { useNewUrlParser: true });
};
-Crowi.prototype.setupSessionConfig = function() {
- const self = this;
+Crowi.prototype.setupSessionConfig = async funct... | 7 |
diff --git a/articles/onboarding/sprint.md b/articles/onboarding/sprint.md @@ -79,7 +79,7 @@ The outcome of these obligations is a Success Plan that will be co-managed by yo
</tbody>
</table>
-* *Live sessions are delivered remotely via web conference.*
+<sup>*</sup> *Live sessions are delivered remotely via web confer... | 14 |
diff --git a/src/pages/Authentication/AuthenticationUnlockForm.js b/src/pages/Authentication/AuthenticationUnlockForm.js @@ -45,11 +45,11 @@ export default class AuthenticationInit extends React.PureComponent {
}
}
- onPasswordChange(password) {
+ onPasswordChange = (password) => {
this.setState(() => ({ password }))
}... | 3 |
diff --git a/assets/stylesheets/editor-3/_form-tags.scss b/assets/stylesheets/editor-3/_form-tags.scss @@ -86,7 +86,6 @@ ul.tagit input[type="text"] {
color: $cBlue;
font-size: $sFontSize-small;
line-height: 14px;
- text-transform: uppercase;
}
.Form-tagsList.tagit .tagit-choice .tagit-close {
| 2 |
diff --git a/src/components/layouts/Layout.js b/src/components/layouts/Layout.js @@ -85,7 +85,9 @@ const Layout = ({ children, initialContext, hasSideBar, location }) => {
href="https://v13--spark-design-system.netlify.app/"
className="docs-c-Banner--link sprk-u-mlm"
>
- View the previous major release of Spark
+ For d... | 3 |
diff --git a/src/components/topic/summary/TopicSummaryContainer.js b/src/components/topic/summary/TopicSummaryContainer.js @@ -26,7 +26,7 @@ const localMessages = {
title: { id: 'topic.summary.summary.title', defaultMessage: 'Topic: {name}' },
previewTitle: { id: 'topic.summary.public.title', defaultMessage: 'Topic Pre... | 10 |
diff --git a/articles/multifactor-authentication/yubikey.md b/articles/multifactor-authentication/yubikey.md @@ -268,13 +268,18 @@ function (user, context, callback) {
//Trigger MFA
context.redirect = {
- url: config.WEBTASK_URL + "?user=" + user.name
- }
+ url: configuration.WEBTASK_URL + "?user=" + user.name
+ };
cal... | 4 |
diff --git a/UserHistoryImprovements.user.js b/UserHistoryImprovements.user.js // @description Fixes broken links in user annotations, and minor layout improvements
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.2.5
+// @version 1.2.6
//
// @include https://*stackoverflow.... | 2 |
diff --git a/OurUmbraco.Site/Views/Partials/Home/Documentation.cshtml b/OurUmbraco.Site/Views/Partials/Home/Documentation.cshtml </div>
<div class="col-md-6">
- <div class="advanced">icon-imp
+ <div class="advanced">
<a href="/documentation/Implementation/">
<img src="/documentation/images/code.png" width="130" alt="">... | 2 |
diff --git a/Source/Renderer/GLSLModernizer.js b/Source/Renderer/GLSLModernizer.js @@ -34,7 +34,7 @@ define([
var outputDeclarationLine = -1;
var number;
- for (number = 0; number < splitSource.length; number++) {
+ for (number = 0; number < splitSource.length; ++number) {
var line = splitSource[number];
if (outputDecl... | 14 |
diff --git a/plugins/playback-speed/front.js b/plugins/playback-speed/front.js @@ -8,6 +8,7 @@ const slider = ElementFromFile(templatePath(__dirname, "slider.html"));
const roundToTwo = (n) => Math.round( n * 1e2 ) / 1e2;
const MIN_PLAYBACK_SPEED = 0.07;
+const MAX_PLAYBACK_SPEED = 16;
let playbackSpeed = 1;
@@ -61,8 +... | 12 |
diff --git a/src/feats.js b/src/feats.js @@ -41,6 +41,7 @@ const Feats = {
type: 'defense_boost',
combatModName: 'leatherskin',
name: 'Leatherskin',
+ desc: 'Your skin has hardened into tough, leathery hide.',
aura: 'leather',
defenseBonus: bonus,
healthBonus: bonus * 5,
@@ -76,6 +77,7 @@ const Feats = {
combatModName:... | 7 |
diff --git a/docker/rootfs/etc/nginx/nginx.conf b/docker/rootfs/etc/nginx/nginx.conf @@ -60,6 +60,9 @@ http {
# Real IP Determination
# Docker subnet:
set_real_ip_from 172.0.0.0/8;
+ # Local subnets:
+ set_real_ip_from 10.0.0.0/8;
+ set_real_ip_from 192.0.0.0/8;
# NPM generated CDN ip ranges:
include conf.d/include/ip_... | 8 |
diff --git a/app/talk/active-users.spec.js b/app/talk/active-users.spec.js @@ -13,7 +13,7 @@ const users = [
describe('ActiveUsers', function () {
const wrapper = shallow(<ActiveUsers />);
const controller = wrapper.instance();
- const getActiveIdsStub = sinon.stub(controller, 'getActiveUserIds', () => Promise.resolve(... | 1 |
diff --git a/src/parsers/linter/GmlLinter.hx b/src/parsers/linter/GmlLinter.hx @@ -516,7 +516,7 @@ class GmlLinter {
var imp:GmlImports = getImports();
var locals = editor.locals[context];
- if (imp != null && locals.kind.exists(currName)) {
+ if (imp != null && locals != null && locals.kind.exists(currName)) {
currTyp... | 1 |
diff --git a/books/test/test_views.py b/books/test/test_views.py @@ -125,6 +125,8 @@ class LibraryViewSet(TestCase):
self.bookCopy = BookCopy.objects.create(book=self.book, library=self.library)
def test_user_can_retrieve_library_information_with_existing_slug(self):
+ """tests the following url: /api/libraries/(?P<slu... | 0 |
diff --git a/server/classes/simulator.js b/server/classes/simulator.js import uuid from "uuid";
import Team from "./teams";
-import { DamageStep } from "./generic";
+import DamageStep from "./generic/damageStep";
class RemoteAccess {
constructor(params = {}) {
| 1 |
diff --git a/src/rapidoc.js b/src/rapidoc.js @@ -294,8 +294,12 @@ export default class RapiDoc extends LitElement {
}
.tooltip-text {
color: var(--fg2);
+ max-width: 400px;
+ position: absolute;
+ z-index:1;
background-color: var(--bg2);
visibility: hidden;
+
overflow-wrap: break-word;
}
.tooltip:hover {
@@ -308,7 +312... | 7 |
diff --git a/data.js b/data.js @@ -2057,7 +2057,7 @@ module.exports = [{
name: "ICanHaz",
tags: ["templating"],
description: "Simple & powerful client-side templating for jQuery or Zepto.js.",
- url: "http://icanhazjs.com/",
+ url: "https://github.com/HenrikJoreteg/ICanHaz.js",
source: "https://raw.githubusercontent.co... | 1 |
diff --git a/.eslintrc.json b/.eslintrc.json "import/prefer-default-export": 0,
"import/no-absolute-path": 0,
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["**/test/*.js"] }],
- "no-underscore-dangle": 0
+ "no-underscore-dangle": 0,
+ "no-await-in-loop": 0
}
}
| 11 |
diff --git a/Orchestrator/docs/NLRModels.md b/Orchestrator/docs/NLRModels.md @@ -73,9 +73,10 @@ Its architecture is pretrained for example-based use ([KNN][3]), thus it can be
## Models Evaluation
For a more quantitative comparison analysis of the different models see the following performance characteristics.
-### Mod... | 0 |
diff --git a/token-metadata/0x9235bDA06B8807161b8FBB1e102CB654555b212F/metadata.json b/token-metadata/0x9235bDA06B8807161b8FBB1e102CB654555b212F/metadata.json "symbol": "FLL",
"address": "0x9235bDA06B8807161b8FBB1e102CB654555b212F",
"decimals": 3,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/src/Form/doc/Form.mdx b/src/Form/doc/Form.mdx @@ -32,33 +32,6 @@ Try not to include too many optional fields, as it will make the form harder to
## Basic Usage
<Playground>
- {() => {
- class DatePickerExample extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- date: null,
-... | 1 |
diff --git a/index.html b/index.html @@ -171,7 +171,7 @@ node server</pre>
tableView: true,
inputType: 'text',
inputMask: '',
- label: '',
+ label: 'First Name',
key: 'firstName',
placeholder: 'Enter your first name',
prefix: '',
| 1 |
diff --git a/src/pages/using-spark/components/icon.mdx b/src/pages/using-spark/components/icon.mdx @@ -31,7 +31,12 @@ give feedback.
- Icons should only be sized to 16px, 32px, 64px, or 128px.
- Icons should not be used in place of artwork or illustrations.
-### Accessibility
+<SprkDivider
+ element="span"
+ additional... | 3 |
diff --git a/README.md b/README.md @@ -79,14 +79,15 @@ Note:
<script src="node_modules/angular-patternfly/node_modules/patternfly/node_modules/c3/c3.min.js"></script>
<script src="node_modules/angular-patternfly/node_modules/patternfly/node_modules/d3/d3.min.js"></script>
-5. (optional) The 'patternfly.charts' module i... | 3 |
diff --git a/apps/dragboard/README.md b/apps/dragboard/README.md @@ -10,9 +10,7 @@ The drag in Dragboard is a nod to the javascript 'drag' event, which is used to
Known bugs:
- Initially developed for use with dark theme set on Bangle.js 2 - that is still the preferred way to view it although it now works with other th... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -13257,6 +13257,20 @@ var $$IMU_EXPORT$$;
id = website_match.groups.id;
}
+ var fill_string_vars = function(str) {
+ return str
+ .replace(/\${id}/g, id)
+ .replace(/\${([^/]+)}/g, function(_, x) {
+ if (/^[0-9]+$/.test(x))
+ return website_match[x];
+ return webs... | 11 |
diff --git a/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/data/data-view.js b/lib/assets/core/javascripts/cartodb3/editor/layers/layer-content-views/data/data-view.js @@ -69,6 +69,12 @@ module.exports = DatasetBaseView.extend({
loading: false
});
+ this._togglerModel = new Backbone.Model({
+ l... | 4 |
diff --git a/game.js b/game.js @@ -49,8 +49,6 @@ const localRay = new THREE.Ray();
const localRaycaster = new THREE.Raycaster();
const oneVector = new THREE.Vector3(1, 1, 1);
-const leftHandOffset = new THREE.Vector3(0.2, -0.2, -0.4);
-const rightHandOffset = new THREE.Vector3(-0.2, -0.2, -0.4);
// const cubicBezier = ... | 2 |
diff --git a/test/exchange/dfs-sell.js b/test/exchange/dfs-sell.js @@ -239,7 +239,7 @@ describe('Dfs-Sell', function () {
const buyBalanceBefore = await balanceOf(ETH_ADDR, senderAcc.address);
// eslint-disable-next-line max-len
- const amount = hre.ethers.utils.parseUnits('3000', getAssetInfo('DAI').decimals);
+ const... | 1 |
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -10772,8 +10772,10 @@ function computeprobability() {
var nettotal = parseInt(document.getElementById('total').value);
let result = document.getElementById('probability-result');
-
-
+ if((isNaN(favour)) || (isNaN(nettotal)) ){
+ result.innerHTML = "Pl... | 1 |
diff --git a/src/components/Layout.js b/src/components/Layout.js @@ -37,12 +37,46 @@ class Layout extends React.Component {
constructor(props) {
super(props)
this.state = {
- isDarkTheme: false, // TODO set based on browser preference
+ isDarkTheme: false,
}
}
+ // set isDarkTheme based on browser/app user preferences
... | 12 |
diff --git a/packages/app/test/integration/service/user-groups.test.ts b/packages/app/test/integration/service/user-groups.test.ts @@ -99,14 +99,13 @@ describe('UserGroupService', () => {
* Update UserGroup
*/
test('Updated values should be reflected. (name, description, parent)', async() => {
- const userGroup1 = awai... | 12 |
diff --git a/assets/sass/components/global/_googlesitekit-table.scss b/assets/sass/components/global/_googlesitekit-table.scss .googlesitekit-table__head-item {
color: $c-secondary;
font-weight: $fw-primary-medium;
+ hyphens: auto;
outline: 0;
padding: 0 ($grid-gap-phone / 2) ($grid-gap-phone / 2) ($grid-gap-phone / 2)... | 11 |
diff --git a/server/views/explorer/apicache.py b/server/views/explorer/apicache.py @@ -61,7 +61,7 @@ def _cached_sentence_list(mc_api_key, q, fq, rows, include_stories=True):
tool_mc = user_admin_mediacloud_client(mc_api_key)
sentences = tool_mc.sentenceList(q, fq)[:rows]
stories_id_list = [str(s['stories_id']) for s i... | 9 |
diff --git a/assets/js/components/logo.js b/assets/js/components/logo.js import SvgIcon from 'GoogleUtil/svg-icon';
const { __ } = wp.i18n;
-const Logo = ( props ) => {
- const { beta = true } = props;
-
+const Logo = () => {
return (
<div className="googlesitekit-logo" aria-hidden="true">
<SvgIcon
@@ -34,13 +32,12 @@ ... | 2 |
diff --git a/css/newTabPage.css b/css/newTabPage.css @@ -14,14 +14,9 @@ body:not(.is-ntp) #ntp-content {
#ntp-background {
/*max-height: max(100%, 72vw);*/
width: 100%;
- min-width: 150vh;
- max-width: 100vw;
- position: absolute;
- top: -99999px;
- left: -99999px;
- right: -99999px;
- bottom: -99999px;
+ height: 100%;... | 7 |
diff --git a/packages/@uppy/webcam/src/style.scss b/packages/@uppy/webcam/src/style.scss overflow: hidden;
background-color: $color-black;
text-align: center;
+ position: relative;
}
.uppy-size--md .uppy-Webcam-videoContainer {
// height: 100%;
max-width: 100%;
max-height: 100%;
+ position: absolute;
+ top: 0;
+ right:... | 1 |
diff --git a/articles/tutorials/building-multi-tenant-saas-applications-with-azure-active-directory.md b/articles/tutorials/building-multi-tenant-saas-applications-with-azure-active-directory.md @@ -213,9 +213,11 @@ Before showing the Lock we're adding a button to allow login with Azure AD conne
import Auth0Lock from '... | 7 |
diff --git a/src/views/preview/preview.scss b/src/views/preview/preview.scss @@ -364,7 +364,7 @@ $stage-width: 480px;
.guiPlayer {
display: inline-block;
position: relative;
- max-width: $player-width;
+ width: $player-width;
z-index: 1;
$alert-bg: rgba(255, 255, 255, .85);
| 13 |
diff --git a/ui/build/build.web-types.js b/ui/build/build.web-types.js @@ -36,14 +36,14 @@ module.exports.generate = function (data) {
contributions: {
html: {
'types-syntax': 'typescript',
- tags: data.components.map(({ api: { events, props, scopedSlots, slots }, name }) => {
+ tags: data.components.map(({ api: { even... | 3 |
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -10,6 +10,8 @@ jobs:
if: github.actor != 'OSBotify'
runs-on: ubuntu-latest
steps:
+ - uses: actions/checkout@v2
+
- name: Check Provisioning Style
run: |
if grep -q 'ProvisioningStyle = Automatic;' ios/NewExpensify.xcodeproj/project.pbxproj; then
@... | 5 |
diff --git a/core/variable_map.js b/core/variable_map.js @@ -152,7 +152,7 @@ VariableMap.prototype.renameVariableWithConflict_ = function(
// Finally delete the original variable, which is now unreferenced.
Events.fire(new (Events.get(Events.VAR_DELETE))(variable));
// And remove it from the list.
- utils.arrayRemove(t... | 1 |
diff --git a/userscript.user.js b/userscript.user.js @@ -92492,9 +92492,25 @@ var $$IMU_EXPORT$$;
if (domain === "ik.imagekit.io") {
// https://ik.imagekit.io/sqhmihmlh/https://xcdn.next.co.uk/Common/Items/Default/Default/ItemImages/NoBrand/Search/593076.jpg?ik-sdk-version=javascript-1.0.3&tr=c-limit%2Cw-500%2Ch-%2Cdef... | 7 |
diff --git a/components/base-adresse-nationale/positions-types.js b/components/base-adresse-nationale/positions-types.js @@ -18,7 +18,7 @@ function PositionsTypes({positions}) {
<div className='positions'>
<div className='title'>Types de positions : </div>
{positions.map(p => (
- <span key={uniqueId('_position')} class... | 2 |
diff --git a/build/build.js b/build/build.js @@ -68,7 +68,7 @@ async function executeBuildEntry(buildConfig) {
* @param {boolean} testZip Should it check gzip size
*/
async function outputFile(dest, content, testZip) {
- await fs.promises.writeFile(dest, content)
+ await fs.writeFile(dest, content)
if (testZip) {
const... | 14 |
diff --git a/lib/modules/apostrophe-templates/views/outerLayoutBase.html b/lib/modules/apostrophe-templates/views/outerLayoutBase.html <!DOCTYPE html>
-<html lang="{% block locale %}{% endblock %}" xml:lang="{% block locale %}{% endblock %}">
+<html lang="{% block locale %}en{% endblock %}" xml:lang="{% block xmlLocale... | 12 |
diff --git a/src/js/framework7/virtual-list.js b/src/js/framework7/virtual-list.js @@ -8,6 +8,7 @@ var VirtualList = function (listBlock, params) {
cache: true,
dynamicHeightBufferSize: 1,
showFilteredItemsOnly: false,
+ renderExternal: undefined,
template:
'<li>' +
'<div class="item-content">' +
@@ -170,7 +171,7 @@ va... | 11 |
diff --git a/client/src/pages/guide/english/angular/command-line-interface/index.md b/client/src/pages/guide/english/angular/command-line-interface/index.md @@ -10,9 +10,9 @@ Angular is closely associated with its command-line interface (CLI). The CLI str
#### Installation
-The Angular CLI requires [Node.js and Node Pa... | 7 |
diff --git a/pages/index.js b/pages/index.js +import { withRouter } from "next/router";
import React from 'react';
import axios from 'axios';
import ShowList from '../components/ShowList';
@@ -8,10 +9,10 @@ import Header from '../components/Header';
import Footer from '../components/Footer';
import Page from '../compon... | 1 |
diff --git a/src/components/colorbar/draw.js b/src/components/colorbar/draw.js @@ -488,9 +488,9 @@ function drawColorBar(g, opts, gd) {
// TODO: why are we redrawing multiple times now with this?
// I guess autoMargin doesn't like being post-promise?
function positionCB() {
- var innerWidth = thickPx + outlinewidth / 2... | 10 |
diff --git a/src/libs/actions/BankAccounts.js b/src/libs/actions/BankAccounts.js @@ -115,7 +115,7 @@ function addPersonalBankAccount(account, password) {
key: ONYXKEYS.PERSONAL_BANK_ACCOUNT,
value: {
isLoading: true,
- error: '',
+ errors: null,
},
},
],
@@ -125,7 +125,7 @@ function addPersonalBankAccount(account, pass... | 4 |
diff --git a/docs/specs/oauth-vendor-extension.yaml b/docs/specs/oauth-vendor-extension.yaml @@ -18,15 +18,13 @@ info:
x-client-secret: my-client-secret # <--- when provided it will be pre filled in RapiDoc UI
flows:
authorizationCode:
- authorizationUrl: http://localhost/authorize
- tokenUrl: http://localhost/access_t... | 7 |
diff --git a/admin-base/materialize/custom/_explorer.scss b/admin-base/materialize/custom/_explorer.scss .vue-form-generator {
overflow: auto;
height: 100%;
- padding: 0 0.75rem 55px 0.75rem;
+ padding: 0 0.75rem;
}
.explorer-confirm-dialog {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
padding: 0.75rem;
m... | 4 |
diff --git a/typescript/pg-promise.d.ts b/typescript/pg-promise.d.ts @@ -361,7 +361,7 @@ declare namespace pgPromise {
multi<T = any>(query: QueryParam, values?: any): XPromise<Array<T[]>>
// API: http://vitaly-t.github.io/pg-promise/Database.html#stream
- stream(qs: object, init: (stream: NodeJS.ReadableStream) => voi... | 7 |
diff --git a/README.md b/README.md @@ -36,6 +36,7 @@ You can use as many operations as you like in simple or complex ways. Some examp
- [Convert data from a hexdump, then decompress][5]
- [Display multiple timestamps as full dates][6]
- [Carry out different operations on data of different types][7]
+ - [Use parts of th... | 0 |
diff --git a/modules/@apostrophecms/ui/ui/apos/components/AposTree.vue b/modules/@apostrophecms/ui/ui/apos/components/AposTree.vue @@ -72,7 +72,7 @@ export default {
data() {
return {
// Copy the `rows` property to mutate with VueDraggable.
- myRows: [],
+ myRows: this.rows,
nested: false,
colWidths: null,
treeId: this... | 12 |
diff --git a/README.md b/README.md @@ -18,7 +18,7 @@ React UI components for Elasticsearch.
## TOC
-1. **[Reactive Search: Intro](#1-reactive-search-intro)**
+1. **[ReactiveSearch: Intro](#1-reactivesearch-intro)**
2. **[Features](#2-features)**
3. **[Component Playground](#3-component-playground)**
4. **[Live Examples... | 1 |
diff --git a/desktop/sources/scripts/events.js b/desktop/sources/scripts/events.js @@ -11,8 +11,9 @@ window.addEventListener('drop', function(e)
e.stopPropagation();
let file = e.dataTransfer.files[0];
+ let name = file.path ? file.path : file.name;
- if(!file.path || file.path.indexOf(".pico") < 0){ console.log("Pico"... | 7 |
diff --git a/viewer/js/config/viewer.js b/viewer/js/config/viewer.js @@ -27,7 +27,7 @@ define([
// Use your own Google Maps API Key.
// https://developers.google.com/maps/documentation/javascript/get-api-key
- GoogleMapsLoader.KEY = 'NOT-A-REAL-API-KEY';
+ GoogleMapsLoader.KEY = GoogleMapsLoader.KEY || 'NOT-A-REAL-API-... | 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.