code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/Verify.js b/src/Verify.js @@ -101,7 +101,7 @@ class Verify {
);
if (File.exists('yarn.lock')) {
- installCommand = installCommand.replace('npm install', 'yarn add');
+ installCommand = installCommand.replace('npm install', 'yarn add').replace('--save-dev', '--dev');
}
exec(installCommand);
| 14 |
diff --git a/app.rb b/app.rb @@ -128,7 +128,7 @@ get '/launchpads' do
content_type :json
collection = client[:launchpad]
hash = collection.find({}, projection: {_id: 0})
- JSON.pretty_generate(hash.to_a[0])
+ JSON.pretty_generate(hash.to_a)
end
# Get info on a specific launch pad
| 11 |
diff --git a/app/shell-menus/donate.js b/app/shell-menus/donate.js @@ -26,12 +26,26 @@ class DonateMenu extends LitElement {
await this.requestUpdate()
}
+ resolvePaymentLink (paymentLink) {
+ if (paymentLink.indexOf('://') === -1) {
+ const shouldAddSlash = !this.url.endsWith('/') && !paymentLink.startsWith('/')
+ ret... | 9 |
diff --git a/src/modules/mesh/TextureModule.js b/src/modules/mesh/TextureModule.js @@ -11,8 +11,32 @@ const loader = new TextureLoader();
/**
* @class TextureModule
+ * @description A TextureModule can be applied to any Mesh or Model.
* @param {Array} [textures] - array of texture objects
* @memberof module:modules/mes... | 7 |
diff --git a/README.md b/README.md @@ -100,7 +100,7 @@ The new bundle will be created in the `dist/` directory and named `plotly-<out>.
npm run partial-bundle -- --out myBundleName
```
-Use `unminified` option to create an `unminified` bundle.
+Use the `unminified` option to disable compression.
```
npm run partial-bun... | 7 |
diff --git a/server.js b/server.js @@ -474,9 +474,9 @@ app.prepare().then(async () => {
server.all("*", async (r, s) => handler(r, s, r.url));
const listenServer = server.listen(Environment.PORT, (e) => {
+ console.log("listen server function called");
if (e) throw e;
- Websocket.create();
NodeLogging.log(`started on h... | 2 |
diff --git a/bin/browsertimeWebPageReplay.js b/bin/browsertimeWebPageReplay.js @@ -126,7 +126,10 @@ async function runBrowsertime() {
delay: 0,
video: false,
visualMetrics: false,
- resultDir: '/tmp/browsertime'
+ resultDir: '/tmp/browsertime',
+ chrome: {
+ ignoreCertificateErrors: true
+ }
};
const btOptions = merge(... | 8 |
diff --git a/runtime/buildRoutes.js b/runtime/buildRoutes.js @@ -15,7 +15,10 @@ const decorateRoute = function (route) {
route.paramKeys = pathToParams(route.path)
route.regex = pathToRegex(route.path, route.isFallback)
route.name = route.path.match(/[^\/]*\/[^\/]+$/)[0].replace(/[^\w\/]/g, '') //last dir and name, the... | 11 |
diff --git a/site/management.md b/site/management.md @@ -378,7 +378,7 @@ such as:
* <*resource_server_id*>`.tag:administrator`
* <*resource_server_id*>`.read:*/*/*`
-We use the setting `management.oauth_scopes` to configure the scopes. It is a space-separated field.
+You use the setting `management.oauth_scopes` to con... | 4 |
diff --git a/src/client/components/Navigation/Topnav.js b/src/client/components/Navigation/Topnav.js @@ -272,7 +272,7 @@ class Topnav extends React.Component {
handleMobileSearchButtonClick = () => {
const { searchBarActive } = this.state;
this.setState({ searchBarActive: !searchBarActive }, () => {
- this.searchInputR... | 3 |
diff --git a/src/components/CardList.js b/src/components/CardList.js @@ -74,8 +74,7 @@ const Image = styled(Img)`
margin-top: 4px;
`
-const CardList = ({ content, className, clickHandler }) => {
- return (
+const CardList = ({ content, className, clickHandler }) => (
<Table className={className}>
{content.map((listItem... | 7 |
diff --git a/server/src/schema/mutations/HostCompetition.js b/server/src/schema/mutations/HostCompetition.js @@ -26,8 +26,8 @@ const mutation = {
host: authIdOnSession,
displayName: args.displayName,
description: args.description,
- // startDatetime: args.startDatetime,
- // finishDatetime: args.finishDatetime,
+ start... | 12 |
diff --git a/userscript.user.js b/userscript.user.js @@ -54686,7 +54686,7 @@ var $$IMU_EXPORT$$;
function addImage(src, el, options) {
if (_nir_debug_)
- console_log("_find_source (addImage)", el, check_visible(el));
+ console_log("_find_source (addImage)", el, check_visible(el), options);
if (settings.mouseover_apply_... | 1 |
diff --git a/src/tom-select.ts b/src/tom-select.ts @@ -639,7 +639,7 @@ export default class TomSelect extends MicroPlugin(MicroEvent){
preventDefault(e);
return;
- // doc_src select active option
+ // return: select active option
case constants.KEY_RETURN:
if (self.isOpen && self.activeOption) {
self.onOptionSelect(e,s... | 13 |
diff --git a/package.json b/package.json "read-yaml": "^1.0.0",
"request": "^2.75.0",
"serve-static": "^1.11.1",
- "shelljs": "^0.7.6",
+ "shelljs": "^0.5.0",
"solc": "^0.4.8",
"toposort": "^1.0.0",
"web3": "^0.18.2",
| 13 |
diff --git a/generators/server/templates/src/main/java/package/repository/UserRepository.java.ejs b/generators/server/templates/src/main/java/package/repository/UserRepository.java.ejs @@ -125,7 +125,11 @@ public interface UserRepository extends <% if (databaseType === 'sql') { %>JpaRe
<%= optionalOrMono %><<%= asEntit... | 2 |
diff --git a/src/backend/mode_gpu.js b/src/backend/mode_gpu.js if (!textureCache[programCacheKey]) {
textureCache[programCacheKey] = [];
}
- var texturesForCleanup = [];
var textureCount = 0;
for (textureCount=0; textureCount<paramNames.length; textureCount++) {
var paramDim, paramSize, texture;
argBuffer = new Uint8Ar... | 1 |
diff --git a/app/actions/MarketsActions.js b/app/actions/MarketsActions.js @@ -31,7 +31,7 @@ function clearBatchTimeouts() {
}
const marketStatsQueue = []; // Queue array holding get_ticker promises
-const marketStatsQueueLength = 10; // Number of get_ticker calls per batch
+const marketStatsQueueLength = 500; // Numbe... | 12 |
diff --git a/src/components/CheckboxWithLabel.js b/src/components/CheckboxWithLabel.js @@ -40,7 +40,7 @@ const propTypes = {
* @param {Object} props - props passed to the input
* @returns {Object} - returns an Error object if isFormInput is supplied but inputID is falsey or not a string
*/
- inputID: props => FormUtils... | 10 |
diff --git a/token-metadata/0x11eeF04c884E24d9B7B4760e7476D06ddF797f36/metadata.json b/token-metadata/0x11eeF04c884E24d9B7B4760e7476D06ddF797f36/metadata.json "symbol": "MX",
"address": "0x11eeF04c884E24d9B7B4760e7476D06ddF797f36",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
}... | 3 |
diff --git a/userscript.user.js b/userscript.user.js @@ -82657,14 +82657,24 @@ var $$IMU_EXPORT$$;
}
// Dokuwiki
- if (domain_nowww === "wikitoes.com" ||
+ if (src.match(/\/lib\/+exe\/+fetch\.php.*?[?&]media=[^&]*.*?$/)) {
// http://www.substech.com/dokuwiki/lib/exe/fetch.php?w=&h=&cache=cache&media=electron_microscope... | 7 |
diff --git a/src/CrudPanel.php b/src/CrudPanel.php @@ -280,9 +280,9 @@ class CrudPanel
*/
public function getModelAttributeFromRelation($model, $relationString, $attribute)
{
- $lastModels = $this->getRelationModelInstance($model, $relationString);
+ $endModels = $this->getRelationModelInstances($model, $relationString... | 10 |
diff --git a/packages/frontend/src/redux/slices/ledger/index.js b/packages/frontend/src/redux/slices/ledger/index.js @@ -118,6 +118,10 @@ const ledgerSlice = createSlice({
const transportError = error?.name === 'TransportStatusError';
set(state, ['signInWithLedger', accountId, 'status'], transportError ? 'rejected' : '... | 9 |
diff --git a/app/components/user/TwoFactor/index.js b/app/components/user/TwoFactor/index.js @@ -10,9 +10,8 @@ import Dialog from 'app/components/shared/Dialog';
import TwoFactorConfigure from 'app/components/user/TwoFactor/TwoFactorConfigure';
import TwoFactorDelete from 'app/components/user/TwoFactor/TwoFactorDelete'... | 5 |
diff --git a/articles/email/providers.md b/articles/email/providers.md @@ -152,7 +152,7 @@ To be able to use your own SMTP server:
5. Click **Save**.
::: note
-Common ports include 25, 465, and 587. Please avoid using port 25 if you can, since many providers have limitations on this port.
+Common ports include 25 and 5... | 2 |
diff --git a/UserReviewBanHelper.user.js b/UserReviewBanHelper.user.js // @description Display users' prior review bans in review, Insert review ban button in user review ban history page, Load ban form for user if user ID passed via hash
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-/... | 12 |
diff --git a/server/index.js b/server/index.js @@ -86,10 +86,11 @@ app.prepare().then(() => {
res.set('X-Robots-Tag', 'noindex')
res.cookie('OpenSesame', BACKDOOR_URL, cookieOptions)
}
+ const reqUa = String(req.get('User-Agent'))
if (
hasCookie ||
ALLOWED_PATHS.some(path => req.url.startsWith(path)) ||
- ALLOWED_UAS.s... | 9 |
diff --git a/packages/analytics-plugin-simple-analytics/src/browser.js b/packages/analytics-plugin-simple-analytics/src/browser.js @@ -72,13 +72,12 @@ export default function simpleAnalyticsPlugin(pluginConfig = {}) {
throw new Error(`${src} failed to load.`)
})
},
- /* https://docs.simpleanalytics.com/events
+ /* http... | 11 |
diff --git a/spec/models/table_spec.rb b/spec/models/table_spec.rb @@ -1951,6 +1951,7 @@ describe Table do
::Table.any_instance.stubs(:set_table_id).returns(table_id)
::Table.any_instance.stubs(:set_the_geom_column!).returns(true)
::Table.any_instance.stubs(:after_create)
+ ::UserTable.any_instance.stubs(:after_create)... | 1 |
diff --git a/src/agent/index.js b/src/agent/index.js @@ -1057,8 +1057,7 @@ function listThreadsJson () {
function regProfileAliasFor(arch) {
switch (arch) {
case 'arm64':
-return `
-=PC pc
+return `=PC pc
=SP sp
=BP x29
=A0 x0
@@ -1073,8 +1072,7 @@ return `
`;
break;
case 'arm':
-return `
-=PC r15
+return `=PC r15
=LR ... | 7 |
diff --git a/src/components/basicHeader/view/basicHeaderStyles.js b/src/components/basicHeader/view/basicHeaderStyles.js @@ -86,7 +86,9 @@ export default EStyleSheet.create({
},
beneficiaryModal: {
flex: 1,
- backgroundColor: '$modalBackground',
+ backgroundColor: '$primaryBackgroundColor',
margin: 0,
+ paddingTop: 32,... | 7 |
diff --git a/lib/metering/meter/src/index.js b/lib/metering/meter/src/index.js @@ -70,7 +70,7 @@ const partitioner = partition.partitioner(
true
);
-const prefetchLimit = process.env.PREFETCH_LIMIT ? parseInt(process.env.PREFETCH_LIMIT) : 100;
+const prefetchLimit = process.env.PREFETCH_LIMIT ? parseInt(process.env.PRE... | 12 |
diff --git a/Makefile b/Makefile @@ -16,7 +16,7 @@ VERSION ?= $(shell cat package.json | jq .version)
.EXPORT_ALL_VARIABLES:
# targets
-.PHONY: ? deps purge dist clean deploy
+.PHONY: ? deps purge all clean deploy
# utils
define iif
@@ -39,7 +39,7 @@ test: deps ## Run tests like if we're in CI ;-)
build: deps ## Build ... | 10 |
diff --git a/types.d.ts b/types.d.ts @@ -6315,7 +6315,6 @@ declare interface LoaderRunnerLoaderContext<OptionsType> {
/**
* An array of all the loaders. It is writeable in the pitch phase.
* loaders = [{request: string, path: string, query: string, module: function}]
- *
* In the example:
* [
* { request: "/abc/loader1... | 3 |
diff --git a/types.d.ts b/types.d.ts @@ -1239,6 +1239,11 @@ declare interface CodeGenerationContext {
* code generation results of other modules (need to have a codeGenerationDependency to use that)
*/
codeGenerationResults: CodeGenerationResults;
+
+ /**
+ * the compilation
+ */
+ compilation?: Compilation;
}
declare ... | 3 |
diff --git a/src/lib/index.js b/src/lib/index.js @@ -470,20 +470,6 @@ lib.mergeArray = function(traceAttr, cd, cdAttr, fn) {
}
};
-// cast numbers to numbers and if not return 0
-lib.mergeArrayCastIfNumber = function(traceAttr, cd, cdAttr) {
- return lib.mergeArray(traceAttr, cd, cdAttr, function(v) {
- return isNumeri... | 2 |
diff --git a/website/riot/dict-public-entry.riot b/website/riot/dict-public-entry.riot if (this.dictData.dictId && !this.dictData.isEntryLoading) {
this.store.loadEntry()
}
+ },
+ onUpdated() {
+ $("a.xref").on("click", function (e) {
+ var text = $(e.delegateTarget).attr("data-text");
+ window.parent.$("#searchBox").v... | 9 |
diff --git a/package.json b/package.json "bugs": {
"url": "https://github.com/byu-oit/openapi-enforcer/issues"
},
- "homepage": "https://byu-oit.github.io/openapi-enforcer/",
+ "homepage": "https://openapi-enforcer.com",
"devDependencies": {
"chai": "^4.3.4",
"coveralls": "^3.1.1",
| 12 |
diff --git a/src/reducers/sources/sources/suggestions.js b/src/reducers/sources/sources/suggestions.js -import { FETCH_SOURCE_SUGGESTIONS } from '../../../actions/sourceActions';
+import { FETCH_SOURCE_SUGGESTIONS, UPDATE_SOURCE_SUGGESTION } from '../../../actions/sourceActions';
import { createAsyncReducer } from '../... | 9 |
diff --git a/docs/reference.rst b/docs/reference.rst @@ -267,6 +267,7 @@ If the response is in JSON, ``api_json`` will automatically be created.
echo `api_result`
author = api_json[0].author.login
+For an advanced example of using api step, setting POST/GET method, header and body, `see this example from aito.ai <https... | 7 |
diff --git a/app/scripts/TiledPlot.jsx b/app/scripts/TiledPlot.jsx @@ -54,8 +54,8 @@ export class TiledPlot extends React.Component {
addTrackVisible: false,
addTrackPosition: "top",
mouseOverOverlayUid: null,
- trackOptionsUid: 'hm1'
- //trackOptionsUid: null
+ //trackOptionsUid: 'hm1'
+ trackOptionsUid: null
}
// the... | 2 |
diff --git a/token-metadata/0xf0B0A13d908253D954BA031a425dFd54f94a2e3D/metadata.json b/token-metadata/0xf0B0A13d908253D954BA031a425dFd54f94a2e3D/metadata.json "symbol": "FSXA",
"address": "0xf0B0A13d908253D954BA031a425dFd54f94a2e3D",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/edit.js b/edit.js @@ -5544,10 +5544,154 @@ function animate(timestamp, frame) {
renderer.setAnimationLoop(animate);
// renderer.xr.setSession(proxySession);
-/* bindUploadFileButton(document.getElementById('import-scene-input'), async file => {
- const uint8Array = await readFile(file);
- await pe.importSc... | 0 |
diff --git a/server/workers/gsheets/src/search_gsheets.py b/server/workers/gsheets/src/search_gsheets.py @@ -37,16 +37,14 @@ class GSheetsClient(object):
# If modifying these scopes, delete the file token.pickle.
self.SCOPES = ['https://www.googleapis.com/auth/spreadsheets.readonly',
'https://www.googleapis.com/auth/dr... | 3 |
diff --git a/src/renderer.js b/src/renderer.js @@ -232,7 +232,12 @@ class gltfRenderer
if (drawIndexed)
{
let indexAccessor = gltf.accessors[primitive.indices];
- gl.drawElements(primitive.mode, indexAccessor.count, gl.UNSIGNED_SHORT, 0);
+ gl.drawElements(primitive.mode, indexAccessor.count, indexAccessor.componentTyp... | 4 |
diff --git a/factory-ai-vision/EdgeSolution/modules/WebModule/ui_v2/src/pages/Home.tsx b/factory-ai-vision/EdgeSolution/modules/WebModule/ui_v2/src/pages/Home.tsx import React, { useMemo } from 'react';
+import { useLocation, useHistory } from 'react-router-dom';
import { Stack, CommandBar, getTheme, ICommandBarItemPro... | 9 |
diff --git a/src/inner-slider.js b/src/inner-slider.js @@ -8,8 +8,7 @@ import classnames from 'classnames';
import assign from 'object-assign';
import { getOnDemandLazySlides, extractObject, initializedState, getHeight,
canGoNext, slideHandler, changeSlide, keyHandler, swipeStart, swipeMove,
- swipeEnd
-} from './utils... | 1 |
diff --git a/next-packages/utils/src/index.js b/next-packages/utils/src/index.js @@ -41,15 +41,15 @@ export const insertStyles = (
if (shouldSerializeToReactTree) {
context.inserted[insertable.name] = rules.join('')
+ if (context.compat === undefined) {
+ return context.inserted[insertable.name]
+ }
} else {
rules.forE... | 5 |
diff --git a/tests/e2e/config/bootstrap.js b/tests/e2e/config/bootstrap.js @@ -172,6 +172,27 @@ function observeConsoleLogging() {
return;
}
+ // Some error messages which don't impact test results can
+ // be safely ignored.
+ if (
+ text.startsWith( 'Powered by AMP' ) ||
+ text.startsWith( 'data_error unknown respons... | 8 |
diff --git a/avatars/vrarmik/ShoulderTransforms.js b/avatars/vrarmik/ShoulderTransforms.js @@ -44,6 +44,8 @@ class ShoulderTransforms {
this.leftArmIk = new VRArmIK(this.leftArm, this, this.shoulderPoser, this.shoulderPoser.vrTransforms.leftHand, true);
this.rightArmIk = new VRArmIK(this.rightArm, this, this.shoulderPo... | 0 |
diff --git a/site/install-debian.md b/site/install-debian.md @@ -30,7 +30,7 @@ Team RabbitMQ produces our own Debian packages and distributes them [using Cloud
Key sections of this guide are
* [Ways of installing](#installation-methods) the latest RabbitMQ version on Debian and Ubuntu
- * [Supported Ubuntu and Debian d... | 10 |
diff --git a/app/shared/components/Producers/Proxy/Form/Proxy.js b/app/shared/components/Producers/Proxy/Form/Proxy.js @@ -145,7 +145,7 @@ class ProducersFormProxy extends Component<Props> {
label={`${t('producers_form_proxy_label')}:`}
name="account"
onChange={this.onChange}
- value={proxyAccount}
+ value={proxyAccoun... | 9 |
diff --git a/src/components/users/UserParts.js b/src/components/users/UserParts.js @@ -204,10 +204,10 @@ export const UserLinksCell = ({ className, externalLinksList, isMobile }) => {
const externalLinks = []
const externalLinksIcon = []
if (externalLinksList && externalLinksList.size) {
- externalLinksList.forEach((li... | 4 |
diff --git a/src/docs/performance.md b/src/docs/performance.md ---
eleventyNavigation:
key: Performance
- parent: Getting Started
+ parent: Overview
excerpt: The build and site performance of Eleventy projects
- order: 8
+ order: 3
---
# Eleventy Performance
@@ -17,6 +17,10 @@ Eleventy is known for both its lightweight... | 5 |
diff --git a/src/components/AppDirector/index.js b/src/components/AppDirector/index.js @@ -97,7 +97,7 @@ export default class AppDirector extends PureComponent {
style={{ width: '100%' }}
>
{members.map((d) => (
- <Option key={d.user_name}>{d.user_name}</Option>
+ <Option key={d.nick_name}>{d.user_name}</Option>
))}
</... | 1 |
diff --git a/token-metadata/0xB6eD7644C69416d67B522e20bC294A9a9B405B31/metadata.json b/token-metadata/0xB6eD7644C69416d67B522e20bC294A9a9B405B31/metadata.json "symbol": "0XBTC",
"address": "0xB6eD7644C69416d67B522e20bC294A9a9B405B31",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/lib/classes/Service.test.js b/lib/classes/Service.test.js @@ -431,10 +431,10 @@ describe('Service', () => {
YAML.dump(serverlessYml));
const serverless = new Serverless({ servicePath: tmpDirPath });
- serverless.service = new Service(serverless);
serverless.variables.service = serverless.service;
+ service... | 1 |
diff --git a/test/test262.mjs b/test/test262.mjs @@ -17,12 +17,12 @@ import {
util.inspect.defaultOptions.depth = 2;
+/* eslint-disable no-console */
+
const onlyFailures = process.argv.includes('--only-failures');
const testdir = path.resolve(path.dirname(new URL(import.meta.url).pathname), 'test262');
-const files = ... | 11 |
diff --git a/includes/Dashboard.php b/includes/Dashboard.php @@ -262,7 +262,7 @@ class Dashboard {
'api' => [
'stories' => sprintf( '/web-stories/v1/%s', $rest_base ),
'media' => '/web-stories/v1/media',
- 'me' => '/wp/v2/users/me',
+ 'currentUser' => '/wp/v2/users/me',
'users' => '/wp/v2/users',
'fonts' => '/web-stori... | 10 |
diff --git a/layouts/partials/helpers/fragments.html b/layouts/partials/helpers/fragments.html -{/*
+{{/*
The following code is used to fetch the fragments for each page and calling
them. The code is complicated and written in Go Template so it's even more
complicated. Hopefully the comments would help.
The following c... | 1 |
diff --git a/shared/js/ui/models/site.es6.js b/shared/js/ui/models/site.es6.js const Parent = window.DDG.base.Model
const constants = require('../../../data/constants')
+const trackerPrevalence = require('../../../data/tracker_lists/prevalence')
const httpsMessages = constants.httpsMessages
const browserUIWrapper = req... | 3 |
diff --git a/Source/Scene/Camera.js b/Source/Scene/Camera.js @@ -2985,9 +2985,9 @@ Camera.prototype.getPickRay = function (windowPosition, result) {
result = new Ray();
}
- const scene = this._scene;
+ const canvas = this._scene.canvas;
const frustum = this.frustum;
- if (defined(scene.canvas.style) && scene.canvas.sty... | 3 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -138,13 +138,6 @@ Three additional helpers exist that are refreshed every second:
There is also a search bar in the top right of the dashboard. This fuzzy-searches
image mocks based on their file name and trace type.
-#### Alternative to test dashboard
-
-Use the [`plot... | 2 |
diff --git a/includes/Modules/Site_Verification.php b/includes/Modules/Site_Verification.php @@ -73,9 +73,9 @@ final class Site_Verification extends Module implements Module_With_Scopes {
protected function get_datapoint_services() {
return array(
// GET.
- 'verified-sites' => 'siteverification',
'verification' => 'sit... | 10 |
diff --git a/src/collections/resources/analyzing-service-mesh-performance/analyzing-service-mesh-performance.mdx b/src/collections/resources/analyzing-service-mesh-performance/analyzing-service-mesh-performance.mdx @@ -30,7 +30,7 @@ import { ResourcesWrapper } from "../Resources.style.js";
</div>
<div className="right"... | 1 |
diff --git a/appjs/logicjavascript.js b/appjs/logicjavascript.js @@ -17225,24 +17225,24 @@ function embedfind(){
// Projection angle variation
// when the number of
// sides are in multiple of 4
- if (N % 4 == 0) {
- proAngleVar = pi * (180.0 / N) / 180;
+ if (n % 4 == 0) {
+ proAngleVar = pi * (180.0 / n) / 180;
} els... | 1 |
diff --git a/runtime/scripts/part.js b/runtime/scripts/part.js @@ -181,6 +181,8 @@ Part.prototype = /** @lends Numbas.parts.Part.prototype */ {
// extend the base marking algorithm if asked to do so
var extend_base = markingScript.extend;
this.setMarkingScript(markingScriptString,extend_base);
+ } else {
+ this.marking... | 12 |
diff --git a/package.json b/package.json "dev:server": "browser-sync start --server \"app\" --files \"app/index.html,app/bundle.css,app/bundle.js\" --no-open --no-notify --no-ui --no-ghost-mode",
"dev:extension": "npm run extension:build && npm run extension:local:version",
"extension": "npm run extension:js && npm run... | 7 |
diff --git a/tools/subgraph/src/PricingHelper.ts b/tools/subgraph/src/PricingHelper.ts @@ -8,7 +8,6 @@ supportedOracles.set('0x6b175474e89094c44da98b954eedeac495271d0f', '0x777A68032a
supportedOracles.set('0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', '0x9211c6b3BF41A10F78539810Cf5c64e1BB78Ec60') // USDC
supportedOracle... | 3 |
diff --git a/tests/e2e/testRunner.js b/tests/e2e/testRunner.js @@ -250,8 +250,9 @@ const runTests = async () => {
require('node:child_process').execSync(`cat ${config.LOG_FILE}`);
try {
require('node:child_process').execSync(`cat ~/.android/avd/${process.env.AVD_NAME || 'test'}.avd/config.ini > ${config.OUTPUT_DIR}/emu... | 8 |
diff --git a/src/encoded/schemas/changelogs/file.md b/src/encoded/schemas/changelogs/file.md ### Schema version 10
-* *date_created* format is only date-time and not two as it used to be, but it is true for all objects!!!
+## Fields restricted to DCC access only:
+** status
+** restricted
+** content_md5sum
+** mapped_... | 3 |
diff --git a/common/templates/context_funcs.go b/common/templates/context_funcs.go @@ -166,7 +166,7 @@ func (c *Context) tmplEditMessage(filterSpecialMentions bool) func(channel inter
msgEdit.Embed = typedMsg
case *discordgo.MessageEdit:
//If both Embed and string are explicitly set as null, give an error message.
- if... | 9 |
diff --git a/lib/winston/transports/file.js b/lib/winston/transports/file.js @@ -43,8 +43,6 @@ var File = module.exports = function (options) {
});
}
- var self = this;
-
//
// Setup the base stream that always gets piped to to handle buffering
//
@@ -149,7 +147,7 @@ File.prototype.log = function (info, callback) {
// ... | 1 |
diff --git a/shared/js/background/atb.es6.js b/shared/js/background/atb.es6.js @@ -4,8 +4,8 @@ const utils = require('./utils.es6')
var ATB = (() => {
// regex to match ddg urls to add atb params to.
// Matching subdomains, searches, and newsletter page
- var ddgRegex = new RegExp(/^https?:\/\/(\w+\.)?duckduckgo\.com\/... | 14 |
diff --git a/testHelpers/index.js b/testHelpers/index.js const fs = require('fs')
const ip = require('ip')
-const path = require('path')
-const execa = require('execa')
const crypto = require('crypto')
const Cluster = require('../src/cluster')
-const Broker = require('../src/broker')
+const waitFor = require('../src/ut... | 14 |
diff --git a/CHANGELOG.md b/CHANGELOG.md # Develop -- TODO Change to 1.8.x.
+* ...
+
+# 1.8.5
* IMPORTANT DROP OF SUPPORT: Drop support for IE. Browsers now need async/await.
* IMPORTANT SECURITY: Rate limit Commits when env=production
* SECURITY: Non completed uploads no longer crash Etherpad
* MINOR: Improved CSS ano... | 12 |
diff --git a/.reuse/dep5 b/.reuse/dep5 @@ -30,17 +30,7 @@ Copyright: 2020 SAP SE or an SAP affiliate company and OpenUI5 contributors
License: Apache-2.0
-Files: /packages/main/test/pages/diffable-html.js packages/playground/docs/pages/content/main/diffable-html.js
-Copyright: Feross Aboukhadijeh <https://feross.org>
-... | 3 |
diff --git a/docs/whats-new.md b/docs/whats-new.md @@ -25,6 +25,10 @@ Release date: TBD, target April, 2018
<img height=150 src="https://raw.github.com/uber-common/deck.gl-data/master/images/whats-new/jsx-layers.png" />
<p><i>JSX Layers</i></p>
</td>
+ <td>
+ <img height=150 src="https://raw.github.com/uber-common/deck... | 0 |
diff --git a/src/components/DateTimePicker/DateTimePicker.test.jsx b/src/components/DateTimePicker/DateTimePicker.test.jsx @@ -211,4 +211,30 @@ describe('DateTimePicker tests', () => {
expect(wrapper.find('.iot--time-picker__controls--btn')).toHaveLength(0);
});
+
+ test('it should keep preset value when switching from... | 1 |
diff --git a/CHANGES.md b/CHANGES.md - Fixed an issue in `ScreenSpaceCameraController.tilt3DOnTerrain` that caused unexpected camera behavior when tilting terrain diagonally along the screen. [#9562](https://github.com/CesiumGS/cesium/pull/9562)
- Fixed error handling in `GlobeSurfaceTile` to print terrain tile request... | 3 |
diff --git a/app/scripts/TiledPlot.jsx b/app/scripts/TiledPlot.jsx @@ -182,7 +182,7 @@ export class TiledPlot extends React.Component {
if (!track.options)
track.options = {}
- track.options.name = tilesetInfo.name;
+ //track.options.name = tilesetInfo.name;
track.name = tilesetInfo.name;
/*
| 2 |
diff --git a/generators/ci-cd/templates/.gitlab-ci.yml.ejs b/generators/ci-cd/templates/.gitlab-ci.yml.ejs @@ -30,7 +30,7 @@ cache:
<%_ } _%>
<%_ if (buildTool === 'maven') { _%>
cache:
- key: "$CI_BUILD_REF_NAME"
+ key: "$CI_COMMIT_REF_NAME"
paths:
- node_modules
- .maven
| 3 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -740,6 +740,8 @@ inttest:registryAuth:
psql -h localhost -p 5432 -U postgres -d auth -f magda-registry-api/src/test/resources/data/organizations.sql
psql -h localhost -p 5432 -U postgres -d auth -f magda-registry-api/src/test/resources/data/users.sql
# Test!
+ export POST... | 12 |
diff --git a/src/js/L.PM.Map.js b/src/js/L.PM.Map.js @@ -9,6 +9,8 @@ const Map = L.Class.extend({
this.map.fire('pm:remove', e);
}
});
+
+ this._globalRemovalMode = false;
},
addControls(options) {
this.Toolbar.addControls(options);
| 12 |
diff --git a/app/scripts/TrackRenderer.js b/app/scripts/TrackRenderer.js @@ -6,6 +6,7 @@ import * as PIXI from 'pixi.js';
import { zoom, zoomIdentity } from 'd3-zoom';
import { select, event } from 'd3-selection';
import { scaleLinear } from 'd3-scale';
+import slugid from 'slugid';
import HeatmapTiledPixiTrack from '.... | 5 |
diff --git a/api/exporter/views.py b/api/exporter/views.py @@ -31,52 +31,6 @@ class CategoryView(View):
}
return JsonResponse(data, status=200)
-class ExporterListView(View):
- def get(self, request):
- try:
- category = request.GET.get('category')
- official_type = request.GET.get('type')
- sort = request.GET.get('sor... | 13 |
diff --git a/src/dev/fdm/Creality.CR-30 b/src/dev/fdm/Creality.CR-30 "origin_center": false,
"extrude_abs": true,
"bed_belt": true,
- "bed_width": 200,
+ "bed_width": 210,
"bed_depth": 300,
"build_height": 170
},
| 3 |
diff --git a/src/client/js/components/PageComment/Comment.jsx b/src/client/js/components/PageComment/Comment.jsx import React from 'react';
import PropTypes from 'prop-types';
-import { format, formatDistanceStrict } from 'date-fns';
+import { format } from 'date-fns';
import { UncontrolledTooltip } from 'reactstrap';
... | 4 |
diff --git a/app/controllers/ApplicationController.scala b/app/controllers/ApplicationController.scala @@ -134,9 +134,10 @@ class ApplicationController @Inject() (implicit val env: Environment[User, Sessi
val otherURL: String = Play.configuration.getString("city-params.landing-page-url." + otherCity).get
(otherName + "... | 3 |
diff --git a/data/menu.js b/data/menu.js @@ -436,7 +436,7 @@ let data = [
},
{type: 'separator'},
{
- label: 'Z&oom Factor',
+ label: 'Z&oom',
submenu: [
{
label: 'Increase',
| 10 |
diff --git a/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.component.spec.ts b/angular/projects/spark-angular/src/lib/components/sprk-masthead/sprk-masthead.component.spec.ts @@ -329,7 +329,7 @@ describe('SprkMastheadComponent', () => {
hamburgerIcon.click();
fixture.detectChanges();
con... | 1 |
diff --git a/token-metadata/0xf293d23BF2CDc05411Ca0edDD588eb1977e8dcd4/metadata.json b/token-metadata/0xf293d23BF2CDc05411Ca0edDD588eb1977e8dcd4/metadata.json "symbol": "SYLO",
"address": "0xf293d23BF2CDc05411Ca0edDD588eb1977e8dcd4",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/mocks/data/systems.js b/src/mocks/data/systems.js @@ -1988,6 +1988,7 @@ export default {
picture: "/Sensor Contacts/Pictures/Default.png",
quadrant: 1,
moving: true,
+ clickToTarget: false,
__typename: "TargetingClass",
},
],
@@ -2005,6 +2006,7 @@ export default {
targeted: false,
destroyed: false,
mov... | 1 |
diff --git a/lib/carto/dbdirect/firewall_manager.rb b/lib/carto/dbdirect/firewall_manager.rb @@ -42,8 +42,7 @@ module Carto
# but since there could be race conditions anyway we'll just rescue errors
@service.delete_firewall(config['project_id'], name)
- rescue Google::Apis::ClientError => error
- raise unless error.mes... | 8 |
diff --git a/app/components/vis-bug/vis-bug.css b/app/components/vis-bug/vis-bug.css @@ -33,3 +33,11 @@ body {
[data-potential-dropzone=true]:not([data-selected]) {
outline: 1px dashed hsl(267, 100%, 58%);
}
+
+[draggable=true] {
+ cursor: grab;
+
+ &:active {
+ cursor: grabbing;
+ }
+}
| 12 |
diff --git a/articles/users/guides/configure-automatic-migration.md b/articles/users/guides/configure-automatic-migration.md @@ -17,7 +17,7 @@ useCase:
After you create a database connection in the Dashboard, you enable user migration from that database and create custom scripts to determine how the migration happens.
... | 2 |
diff --git a/server/game/cards/01 - Core/ShiroNishiyama.js b/server/game/cards/01 - Core/ShiroNishiyama.js @@ -4,7 +4,6 @@ class ShiroNishiyama extends StrongholdCard {
setupCardAbilities(ability) {
this.action({
title: 'Give defending characters +1/+1',
- clickToActivate: true,
cost: ability.costs.bowSelf(),
condition... | 2 |
diff --git a/package.json b/package.json },
"homepage": "https://github.com/conductorlab/components#readme",
"devDependencies": {
+ "@conductorlab/tonic": "^10.0.2",
+ "autoprefixer-stylus": "^0.14.0",
"browserify": "^16.2.2",
"highlight.js": "^9.12.0",
"marked": "^0.7.0",
"node-fetch": "^2.2.0",
"send": "^0.16.2",
"ta... | 5 |
diff --git a/src/components/translator.js b/src/components/translator.js @@ -85,6 +85,7 @@ module.exports = class Translator {
//NOTE: this "protection" is to incentivize users to modify the git-untracked `locale/custom.json` file.
// since modifying any other file will result in the user not being able to update txAdm... | 0 |
diff --git a/server/views/topics/entities.py b/server/views/topics/entities.py @@ -20,7 +20,10 @@ def process_tags_for_coverage(topics_id, tag_counts):
coverage = topic_tag_coverage(topics_id, processed_by_cliff_tag_ids())
top_tag_counts = tag_counts[:DEFAULT_DISPLAY_AMOUNT]
for t in tag_counts: # add in pct to ALL cou... | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.