code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/docs/components/openapi.md b/docs/components/openapi.md @@ -10,8 +10,6 @@ The top level class.
- [OpenApi.prototype.request()](#openapiprototyperequest)
- - [OpenApi.prototype.response()](#openapiprototyperequest)
-
### OpenApi.prototype.path
Get path parameters and operation from a method and path.
@@ -92... | 3 |
diff --git a/src/encoded/schemas/analysis_step.json b/src/encoded/schemas/analysis_step.json "predicted transcription start sites",
"optimal idr thresholded peaks",
"conservative idr thresholded peaks",
+ "pseudoreplicated idr thresholded peaks",
"signal p-value",
"fold change over control",
"replicated peaks",
"predic... | 0 |
diff --git a/src/assets/stylesheets/index.scss b/src/assets/stylesheets/index.scss @@ -691,6 +691,7 @@ footer {
transform: translate(-50%, 20px);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 -20px 10px rgba(44, 44, 44, 0.04);
padding: 10px;
+ font-size: 14px;
}
.nav > li > .dropdown-menu:before {
| 4 |
diff --git a/docs/introduction/developing-with-threejs.md b/docs/introduction/developing-with-threejs.md @@ -61,7 +61,7 @@ scene graph.
### Accessing the three.js Scene
-[scene]: https://threejs.org/docs/#Reference/Scenes/Scene
+[scene]: https://threejs.org/docs/#api/scenes/Scene
The [three.js scene][scene] is accessib... | 1 |
diff --git a/src/kiri/main.js b/src/kiri/main.js currentPrint = kiri.newPrint(settings, WIDGETS);
currentPrint.setup(true, function(update, status) {
- setProgress(update, status);
+ API.show.progress(update, status);
}, function() {
if (!currentPrint) {
return setViewMode(VIEWS.ARRANGE);
}
- setProgress(0);
+ API.show... | 11 |
diff --git a/test/jasmine/tests/config_test.js b/test/jasmine/tests/config_test.js var Plotly = require('@lib/index');
var Plots = Plotly.Plots;
+var Lib = require('@src/lib');
var createGraphDiv = require('../assets/create_graph_div');
var destroyGraphDiv = require('../assets/destroy_graph_div');
+var click = require(... | 0 |
diff --git a/lib/node_modules/@stdlib/repl/lib/main.js b/lib/node_modules/@stdlib/repl/lib/main.js @@ -158,7 +158,7 @@ function REPL( options ) {
// Initialize an internal data store:
setNonEnumerableReadOnly( this, '_internal', {} );
setNonEnumerableReadOnly( this._internal, 'presentation', {} );
- setNonEnumerableRea... | 10 |
diff --git a/articles/appliance/custom-domains/index.md b/articles/appliance/custom-domains/index.md @@ -8,7 +8,7 @@ description: How to set up custom domains for your PSaaS Appliance
If you are using **PSaaS Appliance Build 5XXX** or later, you may configure custom domains using the Management Dashboard.
-Custom domai... | 2 |
diff --git a/examples/realitytabs.html b/examples/realitytabs.html @@ -2340,9 +2340,9 @@ function animate(time, frame) {
controllerMesh.rayMesh.scale.z = distance;
controllerMesh.updateMatrixWorld();
- controllerMesh.rayDot.position.z = -distance;
+ controllerMesh.dotMesh.position.z = -distance;
controllerMesh.updateMa... | 10 |
diff --git a/src/MeshBVH.js b/src/MeshBVH.js @@ -52,6 +52,18 @@ export default class MeshBVH {
}
+ // Computes the set of { offset, count } ranges which need independent BVH roots. Each
+ // region in the geometry index that belongs to a different set of material groups requires
+ // a separate BVH root, so that triang... | 0 |
diff --git a/spec/models/synchronization/member_spec.rb b/spec/models/synchronization/member_spec.rb @@ -208,14 +208,15 @@ describe Synchronization::Member do
end
it 'keeps indices' do
- url = 'https://wadus.com/guess_country.csv'
+ url = 'https://wadus.com/clubbing.csv'
- path = fake_data_path('guess_country.csv')
+ p... | 7 |
diff --git a/public/javascripts/Choropleth.js b/public/javascripts/Choropleth.js @@ -133,7 +133,7 @@ function Choropleth(_, $, difficultRegionIds, params, layers, polygonData, polyg
i18next.t("common:map.distance-left", { n: distanceLeft }) + "<br>" + advancedMessage +
i18next.t("common:map.click-to-help", { url: url, ... | 3 |
diff --git a/js/browser.js b/js/browser.js @@ -191,7 +191,10 @@ var igv = (function (igv) {
loadedTracks = [];
_.each(configList, function (config) {
- loadedTracks.push(self.loadTrack(config));
+ var track = self.loadTrack(config);
+ if (track) {
+ loadedTracks.push( track );
+ }
});
// Really we should just resize th... | 8 |
diff --git a/docs/content/migration-guide.md b/docs/content/migration-guide.md @@ -149,7 +149,7 @@ the [Bootstrap grid docs](https://getbootstrap.com/docs/5.0/layout/grid/#row-col
- Added `navbar_scroll` property. This enables vertical scrolling within the toggleable contents of the nav when used inside a collapsed `Na... | 1 |
diff --git a/src/client/js/services/AdminGeneralSecurityContainer.js b/src/client/js/services/AdminGeneralSecurityContainer.js @@ -50,6 +50,9 @@ export default class AdminGeneralSecurityContainer extends Container {
isHideRestrictedByOwner: generalSetting.hideRestrictedByOwner || false,
isHideRestrictedByGroup: general... | 12 |
diff --git a/src/backend.github.js b/src/backend.github.js @@ -195,7 +195,7 @@ let _ = Mavo.Backend.register(class Github extends Mavo.Backend {
if (!repoInfo || repoInfo.owner.login !== this.username || repoInfo.name !== this.repo) {
// No repo info available, or out of date, fetch it
try {
- repoInfo = await this.req... | 4 |
diff --git a/core/server/services/auth/authorize.js b/core/server/services/auth/authorize.js const errors = require('@tryghost/errors');
-const i18n = require('../../../shared/i18n');
+const tpl = require('@tryghost/tpl');
+
+const messages = {
+ authorizationFailed: 'Authorization failed',
+ missingContentMemberOrInte... | 14 |
diff --git a/src/core/operations/CharEnc.js b/src/core/operations/CharEnc.js @@ -67,6 +67,7 @@ const CharEnc = {
/**
* Encode text operation.
+ * @author tlwr [toby@toby.codes]
*
* @param {string} input
* @param {Object[]} args
@@ -81,6 +82,7 @@ const CharEnc = {
/**
* Decode text operation.
+ * @author tlwr [toby@toby... | 0 |
diff --git a/tests/e2e/specs/modules/search-console/dashboard-date-range.test.js b/tests/e2e/specs/modules/search-console/dashboard-date-range.test.js @@ -115,8 +115,6 @@ describe( 'date range filtering on dashboard views', () => {
mockBatchResponse = last28Days;
- await page.waitFor( 250 ); // Delay the next steps.
-
... | 2 |
diff --git a/generators/server/templates/build.gradle.ejs b/generators/server/templates/build.gradle.ejs See the License for the specific language governing permissions and
limitations under the License.
-%>
-import org.gradle.internal.os.OperatingSystem
-
buildscript {
repositories {
mavenLocal()
@@ -103,26 +101,6 @@ ... | 2 |
diff --git a/framer/SVGPath.coffee b/framer/SVGPath.coffee @@ -37,12 +37,12 @@ class exports.SVGPath extends SVGBaseLayer
@define "strokeOpacity", layerProperty(@, "strokeOpacity", "strokeOpacity", null, _.isNumber)
@define "strokeDasharray", layerProperty(@, "strokeDasharray", "strokeDasharray", [], _.isArray, dashArr... | 12 |
diff --git a/exampleSite/config.toml b/exampleSite/config.toml @@ -20,6 +20,11 @@ googleAnalytics = ""
date = ["date", "lastmod"]
lastmod = ["lastmod", ":git", "date"]
+[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ unsafe = true
+
[params]
name = "Okkur Labs"
description = "Open Source Theme for your next... | 0 |
diff --git a/token-metadata/0x587E276Dc7F2C97d986E8AdF9b82D3F14D6cd8d2/metadata.json b/token-metadata/0x587E276Dc7F2C97d986E8AdF9b82D3F14D6cd8d2/metadata.json "symbol": "FYS",
"address": "0x587E276Dc7F2C97d986E8AdF9b82D3F14D6cd8d2",
"decimals": 9,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/local_modules/SendFundsTab/Views/SendFundsView_Base.web.js b/local_modules/SendFundsTab/Views/SendFundsView_Base.web.js @@ -333,7 +333,7 @@ class SendFundsView extends View
const labelLayer = commonComponents_forms.New_fieldTitle_labelLayer("TO", self.context)
labelLayer.style.marginTop = "17px" // to squa... | 3 |
diff --git a/docs/guide.md b/docs/guide.md @@ -252,7 +252,7 @@ Animal.findOne().byName('fido').exec((err, animal) => {
<h3 id="indexes"><a href="#indexes">Indexes</a></h3>
MongoDB supports [secondary indexes](http://docs.mongodb.org/manual/indexes/).
-With mongoose, we define these indexes within our `Schema` [at](./ap... | 1 |
diff --git a/token-metadata/0x261EfCdD24CeA98652B9700800a13DfBca4103fF/metadata.json b/token-metadata/0x261EfCdD24CeA98652B9700800a13DfBca4103fF/metadata.json "symbol": "SXAU",
"address": "0x261EfCdD24CeA98652B9700800a13DfBca4103fF",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/lib/cartodb/controllers/layergroup/tile.js b/lib/cartodb/controllers/layergroup/tile.js @@ -41,10 +41,11 @@ module.exports = class TileLayergroupController {
}
register (mapRouter) {
- const number = (param) => `${param}(-?\\d+)`;
+ const number = () => `(-?\\d+)`;
+ const not = (val) => `(?!${val})([^\/]+... | 7 |
diff --git a/assets/sass/components/settings/_googlesitekit-settings-notice.scss b/assets/sass/components/settings/_googlesitekit-settings-notice.scss color: $c-text-notice-info;
}
- .mdc-select__dropdown-icon {
- background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2210px%22%20height%3D%225px%22%20viewBox%3D%22... | 2 |
diff --git a/bl-plugins/sitemap/plugin.php b/bl-plugins/sitemap/plugin.php @@ -66,7 +66,6 @@ class pluginSitemap extends Plugin {
$xml .= '<url>';
$xml .= '<loc>'.$page->permalink().'</loc>';
$xml .= '<lastmod>'.$page->date(SITEMAP_DATE_FORMAT).'</lastmod>';
- $xml .= '<changefreq>daily</changefreq>';
$xml .= '</url>';... | 2 |
diff --git a/app/shared/actions/system/claimairgrab.js b/app/shared/actions/system/claimairgrab.js @@ -3,7 +3,7 @@ import eos from '../helpers/eos';
import { getTable } from '../table';
const blackListedMethodAttributes = ['to', 'from'];
-const whiteListedMethods = ['open', 'signup'];
+const whiteListedMethods = ['clai... | 11 |
diff --git a/src/actions/channels.js b/src/actions/channels.js @@ -958,29 +958,34 @@ export function markChannelAsRead(channelId, prevChannelId) {
// Decrement mention_count and msg_count by the number that was read in the channel.
// Note that this works because the values in channelMember are what was unread before t... | 9 |
diff --git a/lib/assets/javascripts/unpoly/proxy.coffee b/lib/assets/javascripts/unpoly/proxy.coffee @@ -159,7 +159,7 @@ up.proxy = (($) ->
up.request('/search', data: { query: 'sunshine' }).then(function(response) {
console.log('The response text is %o', response.text);
- }).fail(function() {
+ }).catch(function() {
c... | 14 |
diff --git a/web/bisweb-sw.js b/web/bisweb-sw.js @@ -243,11 +243,11 @@ self.addEventListener('fetch', event => {
if (response) {
return response;
}
- return fetch(event.request).then( (response) => {
+ return fetch(event.request);/*.then( (response) => {
caches.open(internal.name).then( (cache) => {
cache.put(event.req... | 2 |
diff --git a/edit.js b/edit.js @@ -779,6 +779,9 @@ const _makeChunkMesh = (seedString, parcelSize, subparcelSize) => {
let chunksNeedUpdate = false;
let buildMeshesNeedUpdate = false;
let packagesNeedUpdate = false;
+ mesh.updateChunks = () => {
+ chunksNeedUpdate = true;
+ };
mesh.updateBuildMeshes = () => {
buildMesh... | 0 |
diff --git a/react/src/base/inputs/SprkErrorContainer/SprkErrorContainer.js b/react/src/base/inputs/SprkErrorContainer/SprkErrorContainer.js @@ -43,8 +43,10 @@ SprkErrorContainer.propTypes = {
*/
analyticsString: PropTypes.string,
/**
- * Configured by parent and
- * assigned to the `id` attribute.
+ * Assigned to the ... | 3 |
diff --git a/src/web/BindingsWaiter.mjs b/src/web/BindingsWaiter.mjs @@ -98,11 +98,11 @@ class BindingsWaiter {
break;
case "Space": // Bake
e.preventDefault();
- this.app.bake();
+ this.manager.controls.bakeClick();
break;
case "Quote": // Step through
e.preventDefault();
- this.app.bake(true);
+ this.manager.controls... | 0 |
diff --git a/js/preload/keywordExtractor.js b/js/preload/keywordExtractor.js @@ -55,7 +55,7 @@ ipc.on('getKeywordsData', function (e) {
var thisKeyword = []
for (var i = 0; i < words.length; i++) {
// skip the first word after a sentence
- if (words[i - 1] && words[i - 1].length > 1 && sentenceEndingCharacters.includes... | 1 |
diff --git a/website/site/static/admin/index.html b/website/site/static/admin/index.html <title>Content Manager</title>
<!-- Include the stylesheets from your site here -->
- <link rel="stylesheet" href="https://unpkg.com/netlify-cms@^0.7/dist/cms.css" />
+ <link rel="stylesheet" href="https://unpkg.com/netlify-cms/dis... | 4 |
diff --git a/src/components/modeler/Modeler.vue b/src/components/modeler/Modeler.vue @@ -125,7 +125,8 @@ import { id as laneId } from '../nodes/poolLane';
import { id as sequenceFlowId } from '../nodes/sequenceFlow';
import { id as associationId } from '../nodes/association';
import { id as messageFlowId } from '../nod... | 3 |
diff --git a/csharp_dotnetcore/6.Using-Cards/Using_Cards/Program.cs b/csharp_dotnetcore/6.Using-Cards/Using_Cards/Program.cs namespace Using_Cards
{
+ /// <summary>
+ /// This is an ASP.NET Core app that creates a webserver.
+ /// </summary>
public class Program
{
+ /// <summary>
+ /// This is the entry point for your ... | 0 |
diff --git a/ui/js/actions/file_info.js b/ui/js/actions/file_info.js @@ -160,7 +160,7 @@ export function doFetchPublishedDate(height) {
return function(dispatch, getState) {
lbry.block_show({ height }).then(block => {
- const relativeTime = new Date(block.time * 1000).toLocaleDateString();
+ const relativeTime = new Da... | 4 |
diff --git a/components/admin/AssignPlayersRoleForm.js b/components/admin/AssignPlayersRoleForm.js import React from 'react'
-import gql from 'graphql-tag'
import { withApollo } from 'react-apollo'
import { Form, Grid, Select } from 'semantic-ui-react'
import RolesQuery from 'components/queries/RolesQuery'
@@ -7,6 +6,7... | 7 |
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml @@ -38,8 +38,6 @@ jobs:
working-directory: ./stack
run: |
sleep 120;
- docker logs stack_relaysetup_1;
- docker logs alice.sphinx;
docker wait stack_relaysetup_1;
- name: copy file
uses: canastro/copy-file-action@master
| 2 |
diff --git a/src/libs/actions/Network.js b/src/libs/actions/Network.js import Onyx from 'react-native-onyx';
+import NetInfo from '@react-native-community/netinfo';
import ONYXKEYS from '../../ONYXKEYS';
/**
@@ -13,7 +14,14 @@ function setIsOffline(isOffline) {
* @param {Boolean} shouldForceOffline
*/
function setShoul... | 12 |
diff --git a/src/Modal/events.js b/src/Modal/events.js @@ -6,6 +6,7 @@ import { getUidStr } from '../utils/uid'
import { modalClass } from '../styles'
import Panel from './Panel'
import { getLocale } from '../locale'
+import { getParent } from '../utils/dom/element'
const containers = {}
const DURATION = 300
@@ -110,7 ... | 1 |
diff --git a/js/views/site.es6.js b/js/views/site.es6.js @@ -21,29 +21,28 @@ function Site (ops) {
// FIXME should be moved to the right place --- model?
// _rerender() below should probably not be called directly but via a model change event
var thisSite = this;
+ var thisTab = null;
- backgroundPage.utils.getCurrentT... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -57106,7 +57106,13 @@ var $$IMU_EXPORT$$;
if (domain === "m.gjcdn.net") {
// https://m.gjcdn.net/screenshot-thumbnail/300x2000/828783-v4.jpg
// https://m.gjcdn.net/screenshot-thumbnail/999999999x999999999/828783-v4.jpg
- return src.replace(/\/screenshot-thumbnail\... | 7 |
diff --git a/test/jasmine/tests/treemap_test.js b/test/jasmine/tests/treemap_test.js var Plotly = require('@lib');
var Plots = require('@src/plots/plots');
var Lib = require('@src/lib');
+var Drawing = require('@src/components/drawing');
var constants = require('@src/traces/treemap/constants');
var d3 = require('d3');
... | 0 |
diff --git a/components/ui/Tabs.js b/components/ui/Tabs.js @@ -39,7 +39,7 @@ export default class Tabs extends React.Component {
<div className="row l-row">
{options.map((option) => {
const btnClasses = classnames({
- '-active': option.value.includes(selected),
+ '-active': option.value === selected,
'-desktopOnly': op... | 13 |
diff --git a/lib/model.js b/lib/model.js @@ -233,18 +233,17 @@ Model.prototype.$__handleSave = function(options, callback) {
}
applyWriteConcern(this.$__schema, options);
-
if (typeof options.writeConcern != 'undefined') {
+ saveOptions.writeConcern = {};
if ('w' in options.writeConcern) {
- saveOptions.w = options.wri... | 1 |
diff --git a/closure/goog/dom/animationframe/animationframe.js b/closure/goog/dom/animationframe/animationframe.js *
* Programmatic:
* <pre>
- * var animationTask = goog.dom.animationFrame.createTask({
+ * let animationTask = goog.dom.animationFrame.createTask(
+ * {
* measure: function(state) {
* state.width = goog.st... | 1 |
diff --git a/packages/bitcore-lib-doge/test/script/interpreter.js b/packages/bitcore-lib-doge/test/script/interpreter.js @@ -124,17 +124,17 @@ describe('Interpreter', function() {
it('should verify these simple transaction', function() {
// first we create a transaction
- var privateKey = new PrivateKey('cSBnVM4xvxarwG... | 3 |
diff --git a/bl-kernel/js/bludit-ajax.php b/bl-kernel/js/bludit-ajax.php @@ -8,7 +8,7 @@ class bluditAjax {
ajaxRequest.abort();
}
- if (content.length<100) {
+ if ((content.length<100) && callBack) {
return false;
}
@@ -25,12 +25,16 @@ class bluditAjax {
ajaxRequest.done(function (response, textStatus, jqXHR) {
consol... | 2 |
diff --git a/docs/components_page/list_group_content.py b/docs/components_page/list_group_content.py @@ -16,10 +16,10 @@ from .metadata import get_component_metadata
HERE = Path(__file__).parent
LISTGROUP = HERE / "components" / "list_group"
-list_group_simple_source = (LISTGROUP / "simple.py").open().read()
-list_grou... | 4 |
diff --git a/test/EleventyWatchTargetsTest.js b/test/EleventyWatchTargetsTest.js const test = require("ava");
const EleventyWatchTargets = require("../src/EleventyWatchTargets");
+const JavaScriptDependencies = require("../src/Util/JavaScriptDependencies");
test("Basic", (t) => {
let targets = new EleventyWatchTargets(... | 1 |
diff --git a/src/tree/TextureSource.mjs b/src/tree/TextureSource.mjs @@ -374,7 +374,15 @@ export default class TextureSource {
}
_isNativeTexture(source) {
- return ((Utils.isNode ? source.constructor.name === "WebGLTexture" : source instanceof WebGLTexture));
+ if (Utils.isNode) {
+ return source.constructor.name === ... | 0 |
diff --git a/packages/idyll-components/src/equation.js b/packages/idyll-components/src/equation.js @@ -167,9 +167,16 @@ class Equation extends React.PureComponent {
Equation._idyll = {
name: 'Equation',
- tagType: 'open',
- children: 'y = x^2',
+ tagType: 'closed',
props: [
+ {
+ name: 'latex',
+ type: 'expression',
+ ... | 3 |
diff --git a/app/components/modal-edit-registry/template.hbs b/app/components/modal-edit-registry/template.hbs </div>
</div>
- <div class="row inline-form">
- <div class="col span-2 col-inline">
- <label>{{t 'editRegistry.email.label'}}{{field-required}}</label>
- </div>
- <div class="col span-8">
- {{input type="text"... | 2 |
diff --git a/src/utils/serve-functions.js b/src/utils/serve-functions.js @@ -128,14 +128,14 @@ function createHandler(dir) {
.pop()
.trim()
- let path = request.path
+ let requestPath = request.path
if (request.headers['x-netlify-original-pathname']) {
- path = request.headers['x-netlify-original-pathname']
+ requestPa... | 1 |
diff --git a/package.json b/package.json {
"name": "@commercetools-frontend/ui-kit",
- "version": "10.0.1",
+ "version": "10.0.0",
"description": "UI component library based on our Design System",
"homepage": "https://uikit.commercetools.com/",
"bugs": "https://github.com/commercetools/ui-kit/issues",
| 13 |
diff --git a/src/traces/isosurface/convert.js b/src/traces/isosurface/convert.js @@ -378,6 +378,15 @@ function generateIsosurfaceMesh(data) {
);
}
+
+ function almostInFinalRange(value) {
+ var vErr = 0.01 * (vMax - vMin);
+ return (
+ value >= vMin - vErr &&
+ value <= vMax + vErr
+ );
+ }
+
function getXYZV(indecies)... | 7 |
diff --git a/src/utils/config.ts b/src/utils/config.ts @@ -25,9 +25,9 @@ const DEFAULT_SCHEDULER_TLS_LOCATION = './creds/scheduler_creds/ca.pem'
const DEFAULT_SCHEDULER_KEY_LOCATION = './creds/scheduler_creds/device-key.pem'
const DEFAULT_SCHEDULER_CHAIN_LOCATION = './creds/scheduler_creds/device.crt'
const DEFAULT_TRA... | 3 |
diff --git a/mods/core/src/common/resource_builder.js b/mods/core/src/common/resource_builder.js @@ -119,7 +119,8 @@ class ResourceBuilder {
delete this.spec.context.accessControlList.allow
if (!deny || deny.length === 0)
delete this.spec.context.accessControlList.deny
- if (!allow && !deny) delete this.spec.context.ac... | 7 |
diff --git a/app/src/components/AddPodcastModal.js b/app/src/components/AddPodcastModal.js -import exitIcon from '../images/buttons/exit.svg';
-import config from '../config';
import React from 'react';
import PropTypes from 'prop-types';
import ReactModal from 'react-modal';
import Img from 'react-image';
-import axio... | 7 |
diff --git a/lib/plugins/browsertime/filmstrip.js b/lib/plugins/browsertime/filmstrip.js @@ -74,7 +74,7 @@ function getMetricsFromBrowsertime(data) {
) {
metrics.push({
metric: 'first-contentful-paint',
- name: 'FCP',
+ name: 'First Contentful Paint',
value: data.timings.paintTiming['first-contentful-paint']
});
}
@@ -... | 10 |
diff --git a/articles/api/authentication/api-authz/_authz-client.md b/articles/api/authentication/api-authz/_authz-client.md @@ -158,7 +158,7 @@ This is the OAuth 2.0 grant that mobile apps utilize in order to access an API.
GET https://${account.namespace}/authorize?
audience=API_IDENTIFIER&
scope=SCOPE&
- response_ty... | 0 |
diff --git a/templates/index.html b/templates/index.html @@ -530,6 +530,7 @@ $(function () {
</div>
<div class="modal-body">
<form id="addProgramForm">
+ {% csrf_token %}
<div class="form-group">
<label for="programName">Program Name</label>
<input type="text" id="programName" name="program_name" class="form-control"
| 0 |
diff --git a/test/unit/ui.js b/test/unit/ui.js @@ -55,6 +55,7 @@ describe('ui class', () => {
});
afterEach(() => {
+ ui = null;
resizeSpy.restore();
hostClickSpy.restore();
escSpy.restore();
@@ -127,6 +128,10 @@ describe('ui class', () => {
ui = new UI(client, integrations);
});
+ afterEach(() => {
+ ui = null;
+ });
... | 12 |
diff --git a/writer.js b/writer.js @@ -482,8 +482,8 @@ function saveJoint(objJoint, objValidationState, preCommitCallback, onDone) {
is_free: 1,
is_stable: bGenesis ? 1 : 0,
witnessed_level: bGenesis ? 0 : null,
- headers_commission: objUnit.headers_commission,
- payload_commission: objUnit.payload_commission,
+ header... | 12 |
diff --git a/package.json b/package.json "express": "^4.17.1",
"forever": "^4.0.1",
"gpt-3-encoder": "^1.1.3",
+ "json-6": "^1.1.4",
"key-did-provider-ed25519": "^1.1.0",
"key-did-resolver": "^1.4.0",
"metaversefile": "./packages/metaversefile",
| 0 |
diff --git a/nerdamer.core.js b/nerdamer.core.js @@ -490,6 +490,15 @@ var nerdamer = (function (imports) {
}
return obj.lessThan(0);
};
+ /**
+ * Safely stringify object
+ * @param o
+ */
+ var stringify = function(o) {
+ if(!o)
+ return o;
+ return String(o);
+ };
/**
* @param {String} str
@@ -5529,8 +5538,24 @@ var n... | 0 |
diff --git a/sirepo/package_data/static/js/sirepo-plotting.js b/sirepo/package_data/static/js/sirepo-plotting.js @@ -766,7 +766,11 @@ SIREPO.app.directive('plot2d', function(plotting) {
points = [];
xAxisScale.domain(xdom);
}
- yDomain = [d3.min(json.points), d3.max(json.points)];
+ var ymin = d3.min(json.points);
+ if... | 12 |
diff --git a/src/reducers/selectors/balance.js b/src/reducers/selectors/balance.js @@ -3,7 +3,7 @@ import BN from 'bn.js'
import { LOCKUP_MIN_BALANCE } from '../../utils/account-with-lockup'
export const selectProfileBalance = (balance) => {
- if (!balance?.account?.totalAvailable) {
+ if (!balance) {
return false
}
@@... | 9 |
diff --git a/src/_less/utilities/misc.less b/src/_less/utilities/misc.less }
}
-.no-wrap {
- white-space: nowrap;
-}
-
-.box-shadow {
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
-}
-
-.box-shadow-soft {
- box-shadow: 0 2px 4px rgba(0,0,0,0.02);
-}
-
-.box-shadow-z2 {
- box-shadow: 0 15px 35px hsla(240, 10%, 28%, 0.15), 0 ... | 2 |
diff --git a/README.md b/README.md @@ -117,7 +117,7 @@ You can easily navigate through it with the sidebar directory in order to run th
## Mainnet
-### v2.0.0
+### v2.1.0
| Contract | Address |
| ---------------------------------------------------------------- | ---------------------------------------------------------... | 3 |
diff --git a/components/Account/UpdateMe.js b/components/Account/UpdateMe.js @@ -28,7 +28,7 @@ import { Hint } from './Elements'
const { H2, P } = Interaction
const birthdayFormat = '%d.%m.%Y'
-const birthdayParse = swissTime.parse(birthdayFormat)
+export const birthdayParse = swissTime.parse(birthdayFormat)
const fiel... | 4 |
diff --git a/package.json b/package.json "mojangson": "^0.2.1",
"prismarine-biome": "^1.0.1",
"prismarine-block": "^1.0.1",
- "prismarine-chunk": "Flynnn/prismarine-chunk#master",
+ "prismarine-chunk": "^1.4.0",
"prismarine-entity": "^0.2.0",
"prismarine-item": "^1.0.1",
"prismarine-recipe": "^1.0.1",
| 4 |
diff --git a/tests/e2e/specs/modules/tagmanager/setup.test.js b/tests/e2e/specs/modules/tagmanager/setup.test.js @@ -181,6 +181,7 @@ describe( 'Tag Manager module setup', () => {
await activatePlugin( 'amp' );
await activatePlugin( 'e2e-tests-module-setup-tagmanager-api-mock' );
} );
+
afterEach( async () => {
await de... | 12 |
diff --git a/packages/embark-ui/src/components/Communication.js b/packages/embark-ui/src/components/Communication.js @@ -38,7 +38,7 @@ class Communication extends Component {
}
handleEnter(e, cb) {
- if (e.which === 13) {
+ if (e.key === 'Enter') {
e.preventDefault();
cb(e);
}
| 4 |
diff --git a/app-template/bitcoincom/appConfig.json b/app-template/bitcoincom/appConfig.json "windowsAppId": "804636ee-b017-4cad-8719-e58ac97ffa5c",
"pushSenderId": "1036948132229",
"description": "A Secure Bitcoin Wallet",
- "version": "4.0.2",
- "androidVersion": "400201",
+ "version": "4.0.3",
+ "androidVersion": "4... | 3 |
diff --git a/src/libs/API.js b/src/libs/API.js @@ -55,13 +55,11 @@ export default function API(network) {
|| parameters[parameterName] === null
|| parameters[parameterName] === undefined
) {
- const parametersCopy = _.clone(parameters);
- if (_(parametersCopy).has('authToken')) {
- parametersCopy.authToken = '<redacted... | 7 |
diff --git a/src/utils/detect-server.js b/src/utils/detect-server.js @@ -15,7 +15,7 @@ module.exports.serverSettings = async (devConfig, flags, projectDir, log) => {
if (flags.dir) {
settings = await getStaticServerSettings(settings, flags, projectDir, log)
if (['command','targetPort'].some(p => devConfig.hasOwnPropert... | 7 |
diff --git a/src/client/js/components/Admin/Export/ExportPage.jsx b/src/client/js/components/Admin/Export/ExportPage.jsx @@ -156,6 +156,7 @@ class ExportPage extends React.Component {
zipFileStats,
isExporting,
isZipping: false,
+ isExported: !isExporting,
progressList,
});
}
@@ -180,7 +181,7 @@ class ExportPage extend... | 7 |
diff --git a/spark/components/stepper/vanilla/stepper.stories.js b/spark/components/stepper/vanilla/stepper.stories.js @@ -462,8 +462,8 @@ export const stepperWithCarousel = () => {
<div class="sprk-c-Stepper__step-content sprk-c-Stepper__step-content--has-description">
<span
class="sprk-c-Stepper__step-header sprk-b-L... | 3 |
diff --git a/.github/libs/GitUtils.js b/.github/libs/GitUtils.js @@ -29,7 +29,7 @@ function getValidMergedPRs(commitMessages) {
return mergedPRs;
}
- const match = commitMessage.match(/Merge pull request #(\d+) from (?!Expensify\/(?:master|main|version-))/);
+ const match = commitMessage.match(/Merge pull request #(\d+... | 8 |
diff --git a/Specs/Scene/PostProcessStageLibrarySpec.js b/Specs/Scene/PostProcessStageLibrarySpec.js import {
Cartesian3,
- HeadingPitchRange,
HeadingPitchRoll,
- Matrix4,
Transforms,
Model,
PostProcessStageLibrary,
@@ -12,10 +10,14 @@ import createCanvas from "../createCanvas.js";
import createScene from "../createSce... | 1 |
diff --git a/README.md b/README.md @@ -40,6 +40,11 @@ Thanks to netlify, you can test the following builds:
[Try SVG-edit 5.1.0 here](https://6098683962bf91702907ee33--svgedit.netlify.app/editor/svg-editor.html)
+[Try SVG-edit 6.1.0 here](https://60a0000fc9900b0008fd268d--svgedit.netlify.app/editor/index.html)
+
+/
+
+... | 11 |
diff --git a/core/ui/block_space/block_space_editor.js b/core/ui/block_space/block_space_editor.js @@ -558,7 +558,7 @@ Blockly.BlockSpaceEditor.prototype.detectBrokenControlPoints = function() {
*/
var container = Blockly.createSvgElement('g', {}, this.svg_);
Blockly.createSvgElement('path',
- {'d': 'm 0,0 c 0,-5 0,-5 ... | 4 |
diff --git a/lib/node_modules/@stdlib/_tools/search/pkg-index/lib/create.js b/lib/node_modules/@stdlib/_tools/search/pkg-index/lib/create.js @@ -107,7 +107,7 @@ function createIndex( files ) {
});
// If a document description matches the search query, we are a little less confident that the document is relevant, as the... | 10 |
diff --git a/README.md b/README.md @@ -5,7 +5,6 @@ with animated digital sketches in order to demonstrate ideas and concepts (espec
of a live presentation or conversation.
Sketches can display 2D and 3D graphics, move and animate, respond to input and output, and be linked together to allow for more complex logical con... | 2 |
diff --git a/assets/js/components/legacy-setup/SetupUsingGCP.js b/assets/js/components/legacy-setup/SetupUsingGCP.js @@ -193,13 +193,13 @@ class SetupUsingGCP extends Component {
async onButtonClick() {
const { isSiteKitConnected, connectURL } = this.state;
- const { proxySetupURL, isUsingProxy } = this.props;
+ const ... | 2 |
diff --git a/test/jasmine/tests/gl3dlayout_test.js b/test/jasmine/tests/gl3dlayout_test.js @@ -399,12 +399,15 @@ describe('Test Gl3d layout defaults', function() {
scene: 'scene'
}]);
- expect(layoutOut.scene.xaxis.autotypenumbers).toBe('strict');
- expect(layoutOut.scene.yaxis.autotypenumbers).toBe('convert types');
-... | 0 |
diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md @@ -86,3 +86,23 @@ function watchRequestActions() {
}
}
```
+
+### Bundling my Saga with RollupJS fails
+
+If you want to bundle your ES6 (or JSNext) react project with RollupJS, `rollup-plugin-node-resolve` and the `jsnext:true` option you'll have to impor... | 3 |
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml @@ -4,11 +4,46 @@ jobs:
build_job:
runs-on: ubuntu-latest
name: build dockers
- if: ${{
+ if: |
github.event.deployment.environment == 'dev1' ||
github.event.deployment.environment == 'cicd' ||
- github.event.deployment.environment == 'test' }}
+ ... | 0 |
diff --git a/particle-system.js b/particle-system.js @@ -17,7 +17,7 @@ const maxParticles = 256;
const canvasSize = 4096;
const frameSize = 512;
const rowSize = Math.floor(canvasSize/frameSize);
-const maxNumFrames = rowSize * rowSize;
+// const maxNumFrames = rowSize * rowSize;
const planeGeometryNonInstanced = new TH... | 0 |
diff --git a/src/components/fields/Colorscale.js b/src/components/fields/Colorscale.js @@ -13,7 +13,7 @@ class Colorscale extends Component {
onUpdate(colorscale, colorscaleType) {
if (Array.isArray(colorscale)) {
if (this.context.container.type === 'pie') {
- const numPieSlices = this.context.container.labels.length;
... | 4 |
diff --git a/quest-manager.js b/quest-manager.js import {scene} from './renderer.js';
+import * as metaverseModules from './metaverse-modules.js';
+import metaversefile from 'metaversefile';
// import {OffscreenEngine} from './offscreen-engine.js';
+const _makePathApp = () => {
+ const app = metaversefile.createApp();
... | 0 |
diff --git a/app/modules/main/containers/Wallet.js b/app/modules/main/containers/Wallet.js @@ -10,6 +10,7 @@ import MenuContainer from './Menu';
import SidebarContainer from './Sidebar';
import Notifications from '../../../shared/components/Notifications';
import WelcomeContainer from '../../../shared/containers/Welcom... | 12 |
diff --git a/src/payment-flows/vault-capture.js b/src/payment-flows/vault-capture.js @@ -14,7 +14,7 @@ import { getLogger } from '../lib';
import type { PaymentFlow, PaymentFlowInstance, IsEligibleOptions, IsPaymentEligibleOptions, InitOptions, MenuOptions } from './types';
import { checkout, CHECKOUT_POPUP_DIMENSIONS ... | 12 |
diff --git a/src/schema/deserialize.js b/src/schema/deserialize.js @@ -41,9 +41,9 @@ function runDeserialize(exception, map, schema, originalValue) {
if (value === null && (schema.nullable || schema['x-nullable'])) return value;
if (schema.allOf) {
- const result = {};
const exception2 = exception.at('allOf');
if (sche... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.