code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/contractsSol5/Dao/KyberDAO.sol b/contractsSol5/Dao/KyberDAO.sol @@ -433,7 +433,7 @@ contract KyberDAO is IKyberDAO, EpochUtils, ReentrancyGuard, CampPermissionGroup
* @dev conclude brr campaign if needed and caching latest result in DAO
*/
function getLatestBRRData()
- external
+ public
returns(uint burnIn... | 13 |
diff --git a/cypress/integration/blog_spec.js b/cypress/integration/blog_spec.js @@ -48,7 +48,7 @@ describe('Blog', () => {
})
describe('Visual Comparison', () => {
- it.skip('detail page', () => {
+ it('detail page', () => {
cy.visit('/en/blog/2099-01-01-visual-test-page')
// To update a snapshot image just delete it ... | 13 |
diff --git a/src/lib/utils/asyncStorage.js b/src/lib/utils/asyncStorage.js import AsyncStorage from '@react-native-async-storage/async-storage'
import { isFunction } from 'lodash'
+
import { AB_TESTING, DESTINATION_PATH, INVITE_CODE, IS_FIRST_VISIT } from '../constants/localStorage'
+import logger from '../logger/js-lo... | 0 |
diff --git a/README.md b/README.md > Feature-rich, react-way carousel component that does not suck
[](https://circleci.com/gh/brainhubeu/react-carousel)
-[](... | 14 |
diff --git a/dapp/src/services/transaction-history.service.js b/dapp/src/services/transaction-history.service.js @@ -6,9 +6,13 @@ export default class TransactionHistoryService {
async fetchHistory(account) {
const response = await fetch(
`${this.baseURL}/${account.toLowerCase()}/history`
- ).then((res) => res.json())
... | 9 |
diff --git a/assets/js/modules/analytics/common/account-create.js b/assets/js/modules/analytics/common/account-create.js @@ -51,20 +51,21 @@ const AccountCreate = () => {
const handleSubmit = async function( accountName, propertyName, profileName, timezone ) {
trackEvent( 'analytics_setup', 'new_account_setup_clicked' ... | 7 |
diff --git a/src/views/notifications/components/newUserInCommunityNotification.js b/src/views/notifications/components/newUserInCommunityNotification.js @@ -58,9 +58,7 @@ export const MiniNewUserInCommunityNotification = ({
const context = parseContext(notification.context);
return (
- <NotificationListRow
- onClick={(... | 1 |
diff --git a/player/js/utils/expressions/ExpressionManager.js b/player/js/utils/expressions/ExpressionManager.js @@ -410,6 +410,8 @@ var ExpressionManager = (function () {
var velocityAtTime;
var scoped_bm_rt;
+ val = val.replace(/"((http)(s)?(:\/))?\/.*?"/g, "\"\""); // deter potential network calls
+ val = val.replac... | 2 |
diff --git a/config/_extras.yml b/config/_extras.yml @@ -153,8 +153,8 @@ integrations:
plat: React
url: 'https://react-bootstrap.github.io/'
friends:
- - name: ScaleScale
- url: 'https://www.scalescale.com/'
+ - name: SecurityTrails
+ url: 'https://securitytrails.com/'
- name: Bootstrap
url: 'https://getbootstrap.com/'... | 14 |
diff --git a/fabric-client/lib/impl/bccsp_pkcs11.js b/fabric-client/lib/impl/bccsp_pkcs11.js @@ -210,14 +210,14 @@ var CryptoSuite_PKCS11 = class extends api.CryptoSuite {
_fixEcpt(ecpt) {
if ((ecpt.length & 1) == 0 &&
(ecpt[0] == 0x04) && (ecpt[ecpt.length - 1] == 0x04)) {
- console.log(__func() +
+ logger.debug(__fun... | 14 |
diff --git a/articles/integrations/aws-api-gateway/part-3.md b/articles/integrations/aws-api-gateway/part-3.md @@ -79,7 +79,7 @@ auth.getToken(options)
#### Modifying the `role` and `principal` Strings
-To modify the `role` and `principal` strings, specify the appropriate values via [Rules](${manage_url}/#/rules):
+To ... | 0 |
diff --git a/samples/java_springboot/80.skills-simple-bot-to-bot/DialogSkillBot/src/main/java/com/microsoft/bot/sample/echoskillbot/EchoBot.java b/samples/java_springboot/80.skills-simple-bot-to-bot/DialogSkillBot/src/main/java/com/microsoft/bot/sample/echoskillbot/EchoBot.java @@ -50,4 +50,13 @@ public class EchoBot e... | 0 |
diff --git a/userscript.user.js b/userscript.user.js @@ -41979,6 +41979,14 @@ var $$IMU_EXPORT$$;
}
}
+ if (domain === "public.onlyfans.com") {
+ // https://public.onlyfans.com/files/thumbs/c144/m/mt/mtm/mtmo5goxrqv9ga5vccgeffrmvieqfb2h1588129171/avatar.jpg
+ // https://public.onlyfans.com/files/m/mt/mtm/mtmo5goxrqv9ga... | 7 |
diff --git a/js/latoken.js b/js/latoken.js @@ -165,7 +165,7 @@ module.exports = class latoken extends Exchange {
const quote = this.safeCurrencyCode (quoteId);
const symbol = base + '/' + quote;
const pricePrecisionString = this.safeString (market, 'pricePrecision');
- const pricePrecision = (pricePrecisionString === u... | 10 |
diff --git a/src/sw.js b/src/sw.js @@ -15,8 +15,11 @@ registerRoute(
plugins: [bgSyncPlugin],
}),
);
+// TODO DON'T SAVE ALL THE MEME GIFS LOCALLY
registerRoute(({ url }) => url.pathname === '/', new NetworkFirst());
-registerRoute(() => location.host.indexOf('localhost') !== 0, new StaleWhileRevalidate());
+registerRo... | 12 |
diff --git a/lib/mat.js b/lib/mat.js mSquare().setOpacity(.4).color(rgb);
m.restore();
};
- function mDrawOval(a, b, n, theta0, theta1) {
+ function createOval(a, b, n, theta0, theta1) {
if (n === undefined) n = 32;
if (theta0 === undefined) theta0 = 0;
if (theta1 === undefined) theta1 = TAU;
var theta = mix(theta0, th... | 1 |
diff --git a/dashboard/apps/configuration.fma/index.html b/dashboard/apps/configuration.fma/index.html <div class="large-4 columns" id="section-machine-name">
<div class="row collapse">
<label data-tip="The name of your tool. The tool name will be displayed on the dashboard, and is used as the network name for wireless... | 2 |
diff --git a/packages/app/src/server/models/in-app-notification-settings.ts b/packages/app/src/server/models/in-app-notification-settings.ts import { Schema, Model, Document } from 'mongoose';
import { getOrCreateModel } from '../util/mongoose-utils';
-export interface ISubscribeRule {
+export interface IDefaultSubscri... | 10 |
diff --git a/src/lib/audio/audio-recorder.js b/src/lib/audio/audio-recorder.js import 'get-float-time-domain-data';
import getUserMedia from 'get-user-media-promise';
import SharedAudioContext from './shared-audio-context.js';
-import {computeRMS} from './audio-util.js';
+import {computeRMS, computeChunkedRMS} from './... | 4 |
diff --git a/packages/bootstrap-chat/src/FormResponse.jsx b/packages/bootstrap-chat/src/FormResponse.jsx @@ -98,14 +98,6 @@ class FormResponse extends React.Component {
return { responses: new_res };
});
}}
- onKeyPress={(e) => {
- console.log(e);
- if (e.key === "Enter") {
- tryMessageSend();
- e.stopPropagation();
- ... | 5 |
diff --git a/docs/testing.md b/docs/testing.md @@ -3,7 +3,7 @@ id: testing
title: Testing your Changes
---
-This document is about testing your changes to React Native as a [contributor](contributing.md). If you're interested in testing a React Native app, check out the [React Native Tutorial](http://facebook.github.io... | 1 |
diff --git a/packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx b/packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx @@ -58,7 +58,7 @@ const AdditionalMenuItems = (props: AdditionalMenuItemsProps): JSX.Element => {
const { data: isSharedUser } = useIsSharedUser();
const { open: openPre... | 10 |
diff --git a/articles/integrations/marketing/alterian/index.md b/articles/integrations/marketing/alterian/index.md @@ -54,7 +54,7 @@ To import your CSV file into Alterian, follow these steps:
6. Configure your import settings using the provided fields on the **New Imports data** window.
-  { sync }
-
- CartoDB::Logger.info(message: 'Ghost table race condition avoided', user: user) unless got_locked
end
... | 2 |
diff --git a/src/containers/App.js b/src/containers/App.js @@ -26,7 +26,7 @@ import styles from './App.css';
TopBarProgress.config({
barColors: {
- 0: '#3ab7a5',
+ "0": '#3ab7a5',
'1.0': '#3ab7a5',
},
shadowBlur: 5,
@@ -116,8 +116,8 @@ class App extends React.Component {
// }
});
- commands.push({ id: HELP, type: HELP,... | 2 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,19 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.48.2] -- 2019-06-11
+
+### Fixed
+- Fix rendering after 1d -> 2d -> 1d drag motion
+ under `dragmode: 'zoom'` (bug introduced in 1.48... | 3 |
diff --git a/common/PathdbMods.js b/common/PathdbMods.js @@ -22,6 +22,9 @@ function PathDbMods() {
function convertPathDbSlide(data){
let x={}
+ if (data.length > 0){
+ data = data[0]
+ }
x["_raw"] = data
x.mpp = 1e9
x.source="pathdb"
@@ -103,7 +106,7 @@ function PathDbMods() {
text: response.statusText,
url: response.... | 9 |
diff --git a/lib/Lime/App.php b/lib/Lime/App.php @@ -1276,22 +1276,21 @@ class App implements \ArrayAccess {
public function registerModule($name, $dir) {
- $_name = \strtolower($name);
+ $name = \strtolower($name);
- if (!isset($this->registry['modules'][$_name])) {
+ if (!isset($this->registry['modules'][$name])) {
$... | 13 |
diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro # Add any project specific keep options here:
--keep class com.facebook.hermes.unicode.** { *; }
--keep class com.facebook.jni.** { *; }
+# -keep class com.facebook.hermes.unicode.** { *; }
+# -keep class com.facebook.jni.** { *; }
| 13 |
diff --git a/item-spec/item-spec.md b/item-spec/item-spec.md @@ -165,14 +165,10 @@ or streamed. It is allowed to add additional fields.
| description | string | A description of the Asset providing additional details, such as how it was processed or created. [CommonMark 0.29](http://commonmark.org/) syntax MAY be used ... | 0 |
diff --git a/docker/Dockerfile b/docker/Dockerfile @@ -3,24 +3,20 @@ FROM node:10.15.3
ARG BACKSTOPJS_VERSION
ENV \
- BACKSTOPJS_VERSION=$BACKSTOPJS_VERSION \
- # Workaround to fix phantomjs-prebuilt installation errors
- # See https://github.com/Medium/phantomjs/issues/707
- NPM_CONFIG_UNSAFE_PERM=true
+ BACKSTOPJS_VE... | 3 |
diff --git a/generators/client/templates/angular/webpack/_webpack.dev.js b/generators/client/templates/angular/webpack/_webpack.dev.js @@ -49,7 +49,7 @@ module.exports = webpackMerge(commonConfig({env: ENV}), {
loaders: [
'tslint-loader'
],
- exclude: ['node_modules', /reflect-metadata\/Reflect\.ts/]
+ exclude: ['node_... | 2 |
diff --git a/app/components/Settings/RestoreFavorites.jsx b/app/components/Settings/RestoreFavorites.jsx import React from "react";
import Translate from "react-translate-component";
import SettingsActions from "actions/SettingsActions";
-import notify from "actions/NotificationActions";
import counterpart from "counte... | 14 |
diff --git a/packages/main/src/themes-next/ToggleButton.css b/packages/main/src/themes-next/ToggleButton.css @@ -6,6 +6,10 @@ ui5-togglebutton {
display: inline-block;
}
+.sapMBtn.sapMToggleBtnPressed {
+ text-shadow: none;
+}
+
.sapMBtn.sapMToggleBtnPressed.sapMBtnNegative {
background-color: var(--sapUiButtonRejectAc... | 1 |
diff --git a/validators/checkAnyDataPresent.js b/validators/checkAnyDataPresent.js @@ -10,10 +10,10 @@ const uniqueArray = (value, index, self) => self.indexOf(value) === index
/**
* Find unique subjects from FileList
- * @param {FileList} fileList Browser FileList or Node equivalent
+ * @param {object} fileList Browse... | 9 |
diff --git a/html/components/award.stories.js b/html/components/award.stories.js @@ -81,7 +81,12 @@ export const defaultStory = () => {
data-sprk-toggle="trigger"
>
<svg
- class="sprk-c-Icon sprk-c-Icon--xl sprk-c-Icon--toggle sprk-c-Toggle__trigger-icon"
+ class="
+ sprk-c-Icon
+ sprk-c-Icon--xl
+ sprk-c-Icon--toggle
... | 3 |
diff --git a/.eslintrc b/.eslintrc {
"extends": "semistandard",
"rules": {
- "indent": [2, 2, {"VariableDeclarator": 2, "SwitchCase": 1}],
- "padded-blocks": 0,
- "space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
- "one-var": 0,
- "no-throw-literal": 0,
- "new-cap": 0,
- "spaced-comment": 0... | 4 |
diff --git a/Specs/getWebGLStub.js b/Specs/getWebGLStub.js @@ -189,7 +189,7 @@ define([
antialias : defaultValue(options.antialias, true),
premultipliedAlpha : defaultValue(options.premultipliedAlpha, true),
preserveDrawingBuffer : defaultValue(options.preserveDrawingBuffer, false),
- preferLowPowerToHighPerformance : ... | 14 |
diff --git a/site/assets/scss/_search.scss b/site/assets/scss/_search.scss --docsearch-hit-shadow: none;
z-index: 2000; // Make sure to be over all components showcased in the documentation
+ cursor: auto;
@include media-breakpoint-up(lg) {
padding-top: 4rem;
| 12 |
diff --git a/test/validate.test.js b/test/validate.test.js const Enforcer = require('../index');
const expect = require('chai').expect;
-describe('validate', () => {
+describe('#validate', () => {
const definition = {
openapi: '3.0.0',
| 10 |
diff --git a/metaverse_modules/default-scene/index.js b/metaverse_modules/default-scene/index.js @@ -12,6 +12,63 @@ const localVector = new THREE.Vector3();
// const localLine = new THREE.Line3();
// const localMatrix = new THREE.Matrix4();
+const defaultApps = [
+ {
+ "type": "application/light",
+ "content": {
+ "lig... | 0 |
diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php @@ -215,7 +215,7 @@ $utopia->post('/v1/teams/:teamId/memberships')
->param('roles', [], function () { return new ArrayList(new Text(128)); }, 'Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn mo... | 11 |
diff --git a/test/functional/specs/Install SDK/C1338399.js b/test/functional/specs/Install SDK/C1338399.js @@ -26,7 +26,6 @@ createFixture({
requestHooks: [networkLogger.edgeEndpointLogs]
});
-const getAlloyFunction = ClientFunction(() => window.alloyCreateInstance);
const createAlloyInstance = ClientFunction(() => {
w... | 2 |
diff --git a/lib/node_modules/@stdlib/math/base/special/tanh/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/tanh/docs/repl.txt {{alias}}( x )
- Compute the hyperbolic tangent of a number.
+ Computes the hyperbolic tangent of a number.
Parameters
----------
Returns
-------
y: number
- Hyperbolic tangent (in ... | 10 |
diff --git a/CodingChallenges/CC_140_Pi_Leibniz/Processing/CC_140_Pi_Leibniz/CC_140_Pi_Leibniz.pde b/CodingChallenges/CC_140_Pi_Leibniz/Processing/CC_140_Pi_Leibniz/CC_140_Pi_Leibniz.pde float pi = 4;
int iterations = 0;
-ArrayList<Float> history = new ArrayList<Float>();
+FloatList history = new FloatList();
float min... | 4 |
diff --git a/local_modules/Exchange/Views/Body.html b/local_modules/Exchange/Views/Body.html <div class="field_title form-field-title">XMR to send
<div style="position: relative; left: 0px; top: 0px; padding: 2px 0 0 0;">
<span class="field_title form-field-title label-spacing" style="margin-top: 0px;">AMOUNT</span>
- ... | 2 |
diff --git a/karma.conf.js b/karma.conf.js @@ -18,7 +18,7 @@ module.exports = function (config) {
};
if (process.env.TRAVIS) {
- reporters = ['coverage', 'clear-screen', 'saucelabs'];
+ reporters = ['progress', 'coverage', 'clear-screen', 'saucelabs'];
browsers = Object.keys(customLaunchers);
} else {
// Here you can c... | 0 |
diff --git a/src/menelaus_web.erl b/src/menelaus_web.erl @@ -1811,14 +1811,6 @@ streaming_inner(F, HTTPRes, LastRes) ->
end,
Res.
-consume_watcher_notifies() ->
- receive
- notify_watcher ->
- consume_watcher_notifies()
- after 0 ->
- ok
- end.
-
handle_streaming(F, Req, HTTPRes, LastRes) ->
Res =
try streaming_inner(F... | 14 |
diff --git a/generators/server/templates/src/main/docker/jhipster-control-center.yml.ejs b/generators/server/templates/src/main/docker/jhipster-control-center.yml.ejs @@ -16,13 +16,32 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissi... | 7 |
diff --git a/lib/jiff-client.js b/lib/jiff-client.js if (!self.jiff.helpers.array_equals(self.holders, o.holders)) {
throw new Error('shares must be held by the same parties (^)');
}
+ if (op_id == null) {
+ op_id = self.jiff.counters.gen_op_id('sxor_bit', self.holders);
+ }
return self.isadd(o).issub(self.ismult(o, op... | 9 |
diff --git a/lib/assets/javascripts/unpoly/classes/event_emitter.coffee b/lib/assets/javascripts/unpoly/classes/event_emitter.coffee @@ -8,7 +8,8 @@ class up.EventEmitter extends up.Record
'target',
'event',
'base',
- 'callback'
+ 'callback',
+ 'log',
# 'boundary'
]
@@ -50,7 +51,7 @@ class up.EventEmitter extends up.Re... | 11 |
diff --git a/articles/connections/database/rate-limits.md b/articles/connections/database/rate-limits.md @@ -16,8 +16,6 @@ For database connections Auth0 limits certain types of repeat login attempts dep
- If a user enters their password incorrectly more than 10 times from a single IP address, they will be blocked from... | 2 |
diff --git a/tools/remcomments.js b/tools/remcomments.js @@ -14,6 +14,34 @@ process.chdir(__dirname + "/..");
const child_process = require("child_process");
+var get_multidomain = function(name, userscript) {
+ var multidomain_text = "common_functions\\." + name + "\\s*=\\s*function\\(.*?\\)\\s*{\\s*return\\s+([\\s\\S... | 14 |
diff --git a/app-manager.js b/app-manager.js @@ -571,7 +571,6 @@ class AppManager extends EventTarget {
// dstAppManager.setBlindStateMode(false);
}
importApp(app) {
- let dstTrackedApp = null;
const self = this;
this.appsArray.doc.transact(() => {
const contentId = app.contentId;
@@ -582,19 +581,16 @@ class AppManager... | 2 |
diff --git a/src/pages/using-spark/guides/content-style.mdx b/src/pages/using-spark/guides/content-style.mdx @@ -75,7 +75,7 @@ Capitalize the first letter of each word, regardless of length or part of speech
### Sentence Case
-Sentence case capitalizes the first word of the sentence and proper nouns.
+Sentence case cap... | 3 |
diff --git a/packages/router/__tests__/router-test.ts b/packages/router/__tests__/router-test.ts @@ -2881,7 +2881,6 @@ describe("a router", () => {
},
],
});
- debugger;
let A = await t.navigate("/parent", {
formMethod: "post",
formData: createFormData({ gosh: "dang" }),
| 2 |
diff --git a/src/parsers/GmlExtImport.hx b/src/parsers/GmlExtImport.hx @@ -539,6 +539,8 @@ class GmlExtImport {
case "*".code: q.skip(); q.skipComment();
default:
};
+ case "{".code: cubDepth++;
+ case "}".code: cubDepth--;
case '"'.code, "'".code, "`".code, "@".code: {
q.skipStringAuto(c, version);
};
| 1 |
diff --git a/app/controllers/basespace_controller.rb b/app/controllers/basespace_controller.rb @@ -23,8 +23,8 @@ class BasespaceController < ApplicationController
"grant_type" => "authorization_code"
)
@access_token = response["access_token"]
- rescue StandardError
- Rails.logger.warn("Failed to get basespace access to... | 7 |
diff --git a/docs/specs/markdown.yaml b/docs/specs/markdown.yaml @@ -2,6 +2,7 @@ swagger: "2.0"
info:
title: Markdown Content
version: 1.0.0
+ description: Test case to show markdown support. For more info check specification (http://spec.openapis.org/oas/v3.0.3)
basePath: /v1
consumes:
- application/json
| 7 |
diff --git a/lib/node_modules/@stdlib/math/base/special/flipsign/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/flipsign/docs/repl.txt {{alias}}( x, y )
Returns a double-precision floating-point number with the magnitude of `x`
- and the sign of `x*y`; i.e., only return `-x` when `y` is a negative number.
+... | 10 |
diff --git a/packages/idyll-components/src/svg.js b/packages/idyll-components/src/svg.js @@ -3,25 +3,28 @@ import InlineSVG from 'react-inlinesvg';
class SVG extends React.PureComponent {
render() {
- return (
- <InlineSVG {...this.props} />
- );
+ if (!this.props.src) {
+ return <svg {...this.props} />;
+ }
+ return <... | 4 |
diff --git a/.github/workflows/test-cdn.yml b/.github/workflows/test-cdn.yml @@ -19,7 +19,7 @@ jobs:
with:
node-version: "${{ env.NODE }}"
- - run: curl -s4 https://ifconfig.co/
+ - run: curl -s4 https://ip.seeip.org/
- name: Set up npm cache
uses: actions/cache@v2
| 14 |
diff --git a/README.md b/README.md @@ -113,7 +113,7 @@ const axios = require('axios').default;
Performing a `GET` request
```js
-const axios = require('axios');
+const axios = require('axios').default;
// Make a request for a user with a given ID
axios.get('/user?ID=12345')
| 3 |
diff --git a/controllers/BaseController.php b/controllers/BaseController.php @@ -15,18 +15,20 @@ class BaseController
$localizationService = new LocalizationService(GROCY_CULTURE);
$this->LocalizationService = $localizationService;
- $applicationService = new ApplicationService();
- $versionInfo = $applicationService->... | 4 |
diff --git a/src/extension/screen-sharing-chrome-extension/script.js b/src/extension/screen-sharing-chrome-extension/script.js @@ -10,7 +10,7 @@ chrome.runtime.onMessageExternal.addListener(
} else if (request.getStream) {
// Gets chrome media stream token and returns it in the response.
chrome.desktopCapture.chooseDes... | 11 |
diff --git a/tools/super-publisher/tasks/check-deps.ts b/tools/super-publisher/tasks/check-deps.ts @@ -48,6 +48,7 @@ export const checkDependenciesTask = createTask('Dependency check', async (opt)
const warnings = await Promise.all(
Object.keys(dependencies).map(async (name) => {
const selfVersion = dependencies[name];... | 7 |
diff --git a/js/bitget.js b/js/bitget.js @@ -21,13 +21,14 @@ module.exports = class bitget extends Exchange {
'CORS': undefined,
'spot': true,
'margin': false,
- 'swap': undefined, // has but unimplemented
- 'future': undefined, // has but unimplemented
+ 'swap': true,
+ 'future': false,
'option': false,
'addMargin': t... | 12 |
diff --git a/src/js/controllers/tab-settings.js b/src/js/controllers/tab-settings.js @@ -40,7 +40,7 @@ angular.module('copayApp.controllers').controller('tabSettingsController', funct
$scope.openExternalLink = function() {
var appName = appConfigService.name;
- var url = appName == 'copay' ? 'https://github.com/bitpay/... | 3 |
diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk <head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="icon" type="image/png" sizes="96x96" href="/img/favicon.png">
<title>{{ subtitle + ' - ' if subtitle}} Eleventy</title>
{%- set css %}
{%... | 5 |
diff --git a/test/unit/app/account-import-strategies.spec.js b/test/unit/app/account-import-strategies.spec.js @@ -7,11 +7,14 @@ describe('Account Import Strategies', function () {
const privkey = '0x4cfd3e90fc78b0f86bf7524722150bb8da9c60cd532564d7ff43f5716514f553'
const json = '{"version":3,"id":"dbb54385-0a99-437f-83... | 7 |
diff --git a/token-metadata/0xa1d65E8fB6e87b60FECCBc582F7f97804B725521/metadata.json b/token-metadata/0xa1d65E8fB6e87b60FECCBc582F7f97804B725521/metadata.json "symbol": "DXD",
"address": "0xa1d65E8fB6e87b60FECCBc582F7f97804B725521",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/playground-react/index.html b/playground-react/index.html <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Swiper React</title>
+ <style>
+ body,
+ html {
+ padding: 0;
+ margin: 0;
+ position: relative;
+ height: 100%;
+ }
+
+ .swiper-container {
+ width... | 0 |
diff --git a/src/plots/cartesian/layout_attributes.js b/src/plots/cartesian/layout_attributes.js @@ -290,8 +290,8 @@ module.exports = {
'Examples:',
'- { pattern: \'day of week\', bounds: [6, 0] }',
' breaks from Saturday to Monday (i.e. skips the weekends).',
- '- { pattern: \'hour\', bounds: [16, 8] }',
- ' breaks fr... | 13 |
diff --git a/examples/canvas/app/boot.js b/examples/canvas/app/boot.js @@ -62,9 +62,9 @@ function randomMoves(n = 1) {
}
}
+let label = document.getElementById('label')
function updateLabel() {
let events = rows * columns * writes
- let label
label.innerHTML =
`${rows}x${columns} (${size}px grid)` +
| 1 |
diff --git a/src/ApiGateway.js b/src/ApiGateway.js @@ -519,15 +519,7 @@ module.exports = class ApiGateway {
)
}
- try {
process.env._HANDLER = functionObj.handler
- } catch (err) {
- return this._reply500(
- response,
- `Error while loading ${functionName}`,
- err,
- )
- }
/* REQUEST TEMPLATE PROCESSING (event populati... | 2 |
diff --git a/data.js b/data.js @@ -5128,5 +5128,13 @@ module.exports = [
description: "Predictable state container for JavaScript apps",
url: "http://redux.js.org/",
source: "https://unpkg.com/redux@3.6.0/dist/redux.js"
+ },
+ {
+ name: "Animatelo",
+ github: "gibbok/animatelo",
+ tags: ["animation", "animate", "web an... | 0 |
diff --git a/src/screens/FilterScreen/component.js b/src/screens/FilterScreen/component.js @@ -32,8 +32,6 @@ const toggleTagFilter = (
return values;
};
-// import tags from "../../data/tags";
-// May want to move this to the EventFilters actions
const emptyFilters: EventFiltersPayload = {
timeOfDay: new Set(),
area: n... | 2 |
diff --git a/src/TemplateConfig.js b/src/TemplateConfig.js @@ -177,6 +177,7 @@ class TemplateConfig {
this.userConfig.logger = this.logger;
}
+ // for Nested addPlugin calls, Issue #1925
this.userConfig._enablePluginExecution();
this.userConfig.plugins.forEach(({ plugin, options }) => {
| 0 |
diff --git a/src/common/blockchain/interface-blockchain/transactions/protocol/Transactions-Download-Manager.js b/src/common/blockchain/interface-blockchain/transactions/protocol/Transactions-Download-Manager.js @@ -71,10 +71,15 @@ class TransactionsDownloadManager{
}
addSocket(socket){
+
socket.downloadFails = 0;
socke... | 14 |
diff --git a/locksmith/.eslintrc.js b/locksmith/.eslintrc.js module.exports = {
- extends: [
- 'standard',
- 'airbnb-base',
- 'eslint:recommended',
- 'prettier',
- 'prettier/standard',
- 'plugin:prettier/recommended',
- ],
- env: {
- es6: true,
- node: true,
- browser: true,
- jest: true,
- },
- plugins: ['jest', 'moch... | 4 |
diff --git a/scripts/editor/register-blocks.js b/scripts/editor/register-blocks.js @@ -122,15 +122,6 @@ export const getMergeCallback = (blockManifest) => {
return (receiver, merger) => {
let outputObject = {};
- // Remove numbers
- const receiverUnit = (receiver[attribute] ?? '0px').replace(/\d/g, '');
-
- // Remove v... | 5 |
diff --git a/applications/example/static/js/init.js b/applications/example/static/js/init.js @@ -151,13 +151,15 @@ api.dom.on('load', function() {
});
});
- api.dom.on('click', '#menuJSTP', function() {
+ api.dom.on('click', '#menuJSTP', runJstpExample);
+
+ function runJstpExample() {
panelCenter.innerHTML = (
'<div i... | 7 |
diff --git a/lib/taiko.js b/lib/taiko.js @@ -1417,7 +1417,8 @@ function match(text, ...args) {
validate();
assertType(text);
const get = async (e = '*') => {
- let elements = await $$xpath('//' + e + `[translate(normalize-space(@value),"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")=${xpath(text)} or transla... | 9 |
diff --git a/src/index.js b/src/index.js @@ -45,7 +45,7 @@ const getRouteInfo = async path => {
return data
}
try {
- await new Promise(resolve => {
+ await new Promise((resolve, reject) => {
const s = document.createElement('script')
s.type = 'text/javascript'
s.src = `${process.env.REACT_STATIC_PUBLIC_PATH}${pathJoin... | 9 |
diff --git a/core/connection.js b/core/connection.js @@ -14,6 +14,7 @@ goog.provide('Blockly.Connection');
goog.require('Blockly.Events');
goog.require('Blockly.Events.BlockMove');
+goog.require('Blockly.utils.deprecation');
goog.require('Blockly.Xml');
goog.requireType('Blockly.IASTNodeLocationWithBlock');
@@ -248,11 ... | 4 |
diff --git a/app/views/main.scala.html b/app/views/main.scala.html <script src='@routes.Assets.at("javascripts/lib/mapbox.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/leaflet-omnivore.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/js.cookie.js")'></script>
- <script type="text/ja... | 3 |
diff --git a/app/views/devise/mailer/confirmation_instructions.html.erb b/app/views/devise/mailer/confirmation_instructions.html.erb else
URI.join( site.url.to_s, site.community_guidelines_url.to_s )
end
+ teachers_url = URI.join( site.url.to_s, "pages/#{CGI.escape( "teacher's+guide" )}" )
-%>
<h1>
<%=raw t(:your_accou... | 1 |
diff --git a/tasks/sync_packages.js b/tasks/sync_packages.js @@ -68,6 +68,21 @@ packagesSpecs.forEach(function(d) {
'',
'For more info on plotly.js, go to https://github.com/plotly/plotly.js',
'',
+ '## Installation',
+ '',
+ '```',
+ 'npm install ' + d.name,
+ '```',
+ '## Usage',
+ '',
+ '```js',
+ '// ES6 module',
+... | 0 |
diff --git a/.github/workflows/php-tests-wp-4-7-php-5-6.yml b/.github/workflows/php-tests-wp-4-7-php-5-6.yml @@ -33,11 +33,6 @@ jobs:
WP_VERSION: '4.7'
steps:
- uses: actions/checkout@v2
- - name: Verify MySQL connection
- run: |
- while ! mysqladmin ping -h"$DB_HOST" -P"$DB_PORT" --silent; do
- sleep 1
- done
- name: ... | 2 |
diff --git a/packages/core/core/src/AssetGraphBuilder.js b/packages/core/core/src/AssetGraphBuilder.js @@ -161,7 +161,7 @@ export default class AssetGraphBuilder extends EventEmitter {
}
isInvalid() {
- return !!this.graph.invalidNodes.size;
+ return this.graph.invalidNodes.size > 0;
}
respondToFSEvents(events: Array<E... | 7 |
diff --git a/embark-ui/src/components/TextEditorToolbar.js b/embark-ui/src/components/TextEditorToolbar.js @@ -50,7 +50,7 @@ class TextEditorToolbar extends Component {
</React.Fragment>
}
<NavLink className={classnames('btn', { active: this.isActiveTab(TextEditorToolbarTabs.Browser)})} href="#" onClick={() => this.pro... | 14 |
diff --git a/package.json b/package.json {
- "name": "full-node-plus",
- "description": "Full node and then some",
- "version": "0.0.1",
+ "name": "bitcore-node",
+ "description": "Full node with extended capabilities using Bitcore",
+ "engines": {
+ "node": ">=8.0.0"
+ },
+ "version": "6.0.0",
"author": "Justin Langst... | 3 |
diff --git a/lib/node_modules/@stdlib/fs/write-file/docs/repl.txt b/lib/node_modules/@stdlib/fs/write-file/docs/repl.txt Returns
-------
- out: Error|null
+ err: Error|null
Error object or null.
Examples
--------
- > var out = {{alias}}.sync( './beep/boop.txt', 'beep boop' );
+ > var err = {{alias}}.sync( './beep/boop.... | 10 |
diff --git a/cravat/cravat_web.py b/cravat/cravat_web.py @@ -66,7 +66,8 @@ def result ():
check_donotopenbrowser()
global donotopenbrowser
if not donotopenbrowser:
- webbrowser.open('http://localhost:8060/result/index.html?job_id=' + runid + '&dbpath=' + dbpath)
+ server = get_server()
+ webbrowser.open('http://{host}:... | 12 |
diff --git a/.github/scripts/end2end/configure-e2e.sh b/.github/scripts/end2end/configure-e2e.sh @@ -55,7 +55,7 @@ kubectl run ${POD_NAME} \
--pod-running-timeout=5m \
--namespace=${NAMESPACE} \
--image-pull-policy=Always \
- --serviceaccount="${SERVICE_ACCOUNT}" \
+ --overrides="{ \"spec\": { \"serviceAccount\": \"${S... | 14 |
diff --git a/components/ActionBar/index.js b/components/ActionBar/index.js @@ -257,6 +257,7 @@ const ActionBar = ({
show: true
},
{
+ title: t('PodcastButtons/play'),
Icon: MdPlayCircleOutline,
onClick: e => {
e.preventDefault()
@@ -344,6 +345,7 @@ const ActionBar = ({
show: (document.userProgress && displayMinutes > 1... | 1 |
diff --git a/lib/node_modules/@stdlib/math/base/special/floor/test/test.js b/lib/node_modules/@stdlib/math/base/special/floor/test/test.js @@ -6,6 +6,8 @@ var tape = require( 'tape' );
var PINF = require( '@stdlib/math/constants/float64-pinf' );
var NINF = require( '@stdlib/math/constants/float64-ninf' );
var isnan = r... | 4 |
diff --git a/articles/clients/index.md b/articles/clients/index.md ---
description: Explains the basics of creating and using Auth0 Clients.
+toc: true
---
# Clients
@@ -20,7 +21,7 @@ There are four client types in Auth0.
- **Non Interactive Clients**: Used for server to server applications like CLIs, daemons or servic... | 0 |
diff --git a/manual_test_websocket/README.md b/manual_test_websocket/README.md @@ -36,15 +36,10 @@ To start AWS DynamoDB locally (can run only after first deploying locally): `sls
Or,
-`let endpoint=event.apiGatewayUrl;`
-
-`if (!endpoint) endpoint = event.requestContext.domainName+'/'+event.requestContext.stage;`
+`co... | 2 |
diff --git a/packages/app/src/utils/vo/transfer-key.ts b/packages/app/src/utils/vo/transfer-key.ts -const generalErrorPhrase = 'Failed to parse TransferKey from string';
-
+/**
+ * VO for TransferKey which has appUrl and key as its public member
+ */
export class TransferKey {
private static _internalSeperator = '__grw... | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.