code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/components/base-adresse-nationale/commune/index.js b/components/base-adresse-nationale/commune/index.js @@ -9,9 +9,11 @@ import AddressesList from '../addresses-list'
import Details from '@/components/base-adresse-nationale/commune/details'
import Tabs from '@/components/base-adresse-nationale/commune/tabs... | 0 |
diff --git a/common/lib/types/presencemessage.ts b/common/lib/types/presencemessage.ts @@ -30,13 +30,13 @@ class PresenceMessage {
* disconnection). This is useful because synthesized messages cannot be
* compared for newness by id lexicographically - RTP2b1
*/
- isSynthesized() {
+ isSynthesized(): boolean {
if (!this... | 7 |
diff --git a/assets/js/modules/analytics/dashboard/dashboard-widget-top-earning-pages-small.js b/assets/js/modules/analytics/dashboard/dashboard-widget-top-earning-pages-small.js @@ -37,7 +37,7 @@ import { getDataTableFromData, TableOverflowContainer } from '../../../component
import PreviewTable from '../../../compone... | 9 |
diff --git a/src/components/SettingsWindow.jsx b/src/components/SettingsWindow.jsx @@ -491,11 +491,10 @@ export default class SettingsWindow extends PureComponent {
console.log(arr[i])
if(i < 2 && isNaN(arr[i])) return false;
}
- this.state.adjustmentTimes[index] = {
- hour: arr[0],
- minute: arr[1],
- am: arr[2]
- }
+... | 1 |
diff --git a/src/components/CategoriesFilterList.js b/src/components/CategoriesFilterList.js @@ -15,15 +15,13 @@ const CategoriesFilterList = ({ locale, stagedCategories, onPress }: Props) => (
<ScrollView style={styles.container}>
{Object.keys(categories[locale]).map(key => {
const category = categories[locale][key];
... | 2 |
diff --git a/articles/tutorials/calling-an-external-idp-api.md b/articles/tutorials/calling-an-external-idp-api.md ----
+g---
title: Call an Identity Provider API
description: How to call an Identity Provider API.
---
@@ -57,6 +57,38 @@ Within the user's `identities` array, there will be an `access_token` that you c
In... | 0 |
diff --git a/module/actor-sheet.js b/module/actor-sheet.js @@ -223,7 +223,7 @@ export class GurpsActorSheet extends ActorSheet {
console.log(effectiveDR)
- this.applyDamageToSpecificLocation(location, damage, effectiveDR)
+ this.applyDamageToSpecificLocationWithDR(location, damage, effectiveDR)
}
else {
// get DR for t... | 1 |
diff --git a/articles/api/management/v2/user-search.md b/articles/api/management/v2/user-search.md @@ -123,6 +123,32 @@ Search for all users that have never logged in | `(_missing_:logins_count OR log
Search for all users who logged in before 2015 | `last_login:[* TO 2014-12-31]`
Fuzziness: Search for terms that are si... | 0 |
diff --git a/src/lib/sentry.js b/src/lib/sentry.js @@ -5,6 +5,7 @@ const initSentry = () => {
Sentry.init({
dsn: `${process.env.SENTRY_DSN}`,
+ environment: 'www',
// Do not collect global onerror, only collect specifically from React error boundaries.
// TryCatch plugin also includes errors from setTimeouts (i.e. the ... | 12 |
diff --git a/src/userscript.ts b/src/userscript.ts @@ -101542,7 +101542,7 @@ var $$IMU_EXPORT$$;
// thanks to karpuzikov on github: https://github.com/qsniyg/maxurl/issues/1075
// https://www.westerndigital.com/content/dam/store/en-us/assets/products/usb-flash-drives/ultra-luxe-usb-3-1/gallery/ultra-luxe-usb-3-1-angle-... | 7 |
diff --git a/src/parser.coffee b/src/parser.coffee @@ -83,6 +83,9 @@ class VASTParser
if node.nodeName is 'Ad'
ad = @parseAdElement node
if ad?
+ if options.determinedSequence?
+ ad.sequence = options.determinedSequence
+
response.ads.push ad
else
# VAST version of response not supported.
@@ -123,6 +126,8 @@ class VAST... | 0 |
diff --git a/packages/components/src/UnitInput/UnitInput.js b/packages/components/src/UnitInput/UnitInput.js @@ -168,7 +168,7 @@ function PresetPlaceholder({ cssProp, inputRef, onChange, value }) {
background: ui.color.admin,
color: ui.color.white,
},
- ui.opacity(isTypeAhead ? 0.5 : 1),
+ ui.opacity(!isFocused && isTy... | 7 |
diff --git a/plugins/data.rfc5322_header_checks.js b/plugins/data.rfc5322_header_checks.js @@ -17,16 +17,14 @@ exports.hook_data_post = function (next, connection) {
// Headers that MUST be present
for (let i=0,l=required_headers.length; i < l; i++) {
if (header.get_all(required_headers[i]).length === 0) {
- return nex... | 14 |
diff --git a/src/lib/wallet/GoodWallet.js b/src/lib/wallet/GoodWallet.js @@ -68,12 +68,12 @@ export class GoodWallet {
return await this.claimContract.methods.checkEntitlement().call()
}
- async balanceChanged(callback: (error: any, event: any) => any) {
- await this.ready
- let handler = this.tokenContract.events.Tran... | 2 |
diff --git a/src/components/head/index.js b/src/components/head/index.js @@ -23,6 +23,9 @@ export default ({ title, description, showUnreadFavicon }: Props) => {
id="dynamic-favicon"
href={`${process.env.PUBLIC_URL}/img/favicon_unread.ico`}
/>}
+ <meta name="apple-mobile-web-app-title" content="Spectrum" />
+ <meta nam... | 12 |
diff --git a/test/functional/specs/Data Collector/C451771.js b/test/functional/specs/Data Collector/C451771.js @@ -44,7 +44,7 @@ const consentIn = ClientFunction(
{ dependencies: { CONSENT_IN } }
);
-test("Test C2593: Event command consents to all purposes", async () => {
+test("C451771: XDM and data objects should be ... | 1 |
diff --git a/lib/nearley.js b/lib/nearley.js }
var that = this;
- return state.wantedBy.reduce(function(stack, prevState) {
- return stack.concat(that.buildStateStacks(
+ return state.wantedBy.reduce(function(stacks, prevState) {
+ return stacks.concat(that.buildStateStacks(
prevState,
[state].concat(visited))
.map(fun... | 10 |
diff --git a/binding.gyp b/binding.gyp 'deps/exokit-bindings/videocontext/src/win/*.cpp',
'deps/exokit-bindings/windowsystem/src/*.cc',
'deps/exokit-bindings/glfw/src/*.cc',
- "<!(node -e \"console.log(require.resolve('native-browser-deps').slice(0, -9) + '/lib/windows/libcef_dll/*.cc')\")",
- "<!(node -e \"console.log... | 4 |
diff --git a/src/parser/spells/ability.js b/src/parser/spells/ability.js @@ -11,15 +11,16 @@ export function convertSpellCastingAbilityId(spellCastingAbilityId) {
}
// search through classinfo and determine spellcasting ability
-export function getSpellCastingAbility(classInfo) {
+export function getSpellCastingAbility... | 11 |
diff --git a/Source/Scene/WebMapTileServiceImageryProvider.js b/Source/Scene/WebMapTileServiceImageryProvider.js @@ -228,11 +228,6 @@ function WebMapTileServiceImageryProvider(options) {
var style = options.style;
var tileMatrixSetID = options.tileMatrixSetID;
var url = resource.url;
- var templateValues = {
- style: s... | 5 |
diff --git a/content/articles/jaspersoft-reports/index.md b/content/articles/jaspersoft-reports/index.md @@ -52,7 +52,7 @@ spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
```
-The `spring.jpa.hibernate.ddl-auto` property allows us to create dat... | 1 |
diff --git a/src/pages/start.js b/src/pages/start.js @@ -131,7 +131,7 @@ export default () => (
</One>
<CTAContainer>
<LargeButton.link to="/apply" inverted f={[3, 4]}>
- Apply to Hack Club
+ Begin Your Application
</LargeButton.link>
</CTAContainer>
<Two>
@@ -233,7 +233,7 @@ export default () => (
</Modules>
<Box alig... | 7 |
diff --git a/token-metadata/0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643/metadata.json b/token-metadata/0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643/metadata.json "symbol": "CDAI",
"address": "0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md @@ -5,7 +5,7 @@ TL;DR? The `winston` project is actively working towards getting `3.0.0` out of
- [What makes up `winston@3.0.0`?](#what-makes-up-winston-3.0.0)
- [What about `winston@2.x`?!](#what-about-winston-2.x)
- [Roadmap](#roadmap)
- - [Bugs][#bugs]
+ - [Bugs](#bugs... | 1 |
diff --git a/src/components/userAvatar/view/userAvatarView.tsx b/src/components/userAvatar/view/userAvatarView.tsx @@ -60,7 +60,11 @@ const UserAvatarView = ({
const uri = avatarUrl ? avatarUrl : getResizedAvatar(username, 'large');
const _avatar = username
- ? { uri : `${uri}?stamp=${avatarCacheStamp}` }
+ ? {
+ uri :... | 4 |
diff --git a/packages/frontend/src/actions/account.js b/packages/frontend/src/actions/account.js @@ -569,6 +569,13 @@ export const refreshAccount = (basicData = false) => async (dispatch, getState)
}
};
+export const switchAccount = (accountId) => async (dispatch, getState) => {
+ dispatch(makeAccountActive(accountId))... | 5 |
diff --git a/styleguide.config.js b/styleguide.config.js const path = require("path");
const fs = require("fs");
-const theme = require("./styleguide/src/styles/themes.js")
+const theme = require("./styleguide/src/styles/themes")
// const snapguidist = require("snapguidist");
const componentsDir = path.join(__dirname, ... | 1 |
diff --git a/planet.js b/planet.js @@ -762,6 +762,7 @@ const _connectRoom = async roomName => {
const {peerId, hash} = j;
if (peerId === peerConnection.connectionId && hash !== modelHash) {
modelHash = hash;
+ _loadAvatar(hash);
}
} else {
console.warn('unknown method', method);
@@ -776,7 +777,7 @@ const _connectRoom =... | 12 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -213,10 +213,6 @@ workflows:
context: Development
requires:
- setup
- - delegate_factory_tests:
- context: Development
- requires:
- - setup
- order_utils_tests:
context: Development
requires:
@@ -240,7 +236,6 @@ workflows:
- indexer_tests
- index_tests
- dele... | 2 |
diff --git a/articles/quickstart/backend/rails/01-authentication.md b/articles/quickstart/backend/rails/01-authentication.md @@ -6,8 +6,7 @@ description: This tutorial demonstrates how to add authentication to Ruby on Rai
<%= include('../../../_includes/_package', {
org: 'auth0-samples',
repo: 'auth0-rubyonrails-api-sa... | 3 |
diff --git a/docs-src/tutorials/02-usage.md b/docs-src/tutorials/02-usage.md @@ -186,7 +186,7 @@ the step will execute. For example:
- `text`: The HTML text of the button
- `classes`: Extra classes to apply to the `<a>`
- `secondary`: A boolean, that when true, adds a `shepherd-button-secondary` class to the button
- -... | 0 |
diff --git a/components/commit/commit.js b/components/commit/commit.js @@ -31,7 +31,11 @@ function CommitViewModel(gitNode) {
this.fileLineDiffs = ko.observable();
this.numberOfAddedLines = ko.observable();
this.numberOfRemovedLines = ko.observable();
- this.authorGravatar = ko.computed(function() { return md5(self.aut... | 1 |
diff --git a/src/pages/item/index.js b/src/pages/item/index.js @@ -198,7 +198,7 @@ function Item() {
{t('Calculated over the average for the last 24 hours')}
</div>
- {t('This item is currently being sold for')} {formatPrice(currentItemData.avg24hPrice)} {t('on the Flea Market.')}
+ {t('This item was sold for')} {forma... | 7 |
diff --git a/README.md b/README.md @@ -24,6 +24,12 @@ npm install
npm install -g
```
+## Using with TypeScript
+
+```sh
+npm install --save-dev @types/minio
+```
+
## Initialize Minio Client
You need five items in order to connect to Minio object storage server.
| 0 |
diff --git a/assets/js/googlesitekit/datastore/user/user-input-settings.js b/assets/js/googlesitekit/datastore/user/user-input-settings.js @@ -54,8 +54,6 @@ const fetchSaveUserInputSettingsStore = createFetchStore( {
// Actions
const SET_USER_INPUT_SETTINGS = 'SET_USER_INPUT_SETTINGS';
const SET_USER_INPUT_SETTING = 'S... | 2 |
diff --git a/assets/js/components/setup/CompatibilityChecks/CompatibilityErrorNotice.js b/assets/js/components/setup/CompatibilityChecks/CompatibilityErrorNotice.js @@ -24,9 +24,10 @@ import { __, sprintf } from '@wordpress/i18n';
/**
* Internal dependencies
*/
+import Data from 'googlesitekit-data';
import { sanitizeH... | 4 |
diff --git a/public/app/js/main.js b/public/app/js/main.js @@ -331,16 +331,17 @@ $(document).ready(function() {
/* update audio time */
- var playerTimeNow = document.querySelector(".player_time--now");
+ let playerTimeNowElem = document.getElementsByClassName("player_time--now")[0];
+ let playerTimeTotalElem = documen... | 7 |
diff --git a/src/components/general/character/character.module.css b/src/components/general/character/character.module.css /* */
-.bigButton {
- display: flex;
- margin: 15px 30px;
- margin-top: auto;
- padding: 10px;
- border: 2px solid #FFF;
- font-family: 'GeoSans';
- font-size: 20px;
- justify-content: center;
- co... | 2 |
diff --git a/lib/source/polkadotV0-source.js b/lib/source/polkadotV0-source.js @@ -183,9 +183,9 @@ class polkadotAPI {
async getBalancesFromAddress(address) {
const api = await this.getAPI()
const account = await api.query.system.account(address)
- const freeBalance = account.data.free
- const totalBalance = BigNumber(... | 1 |
diff --git a/assets/js/modules/idea-hub/components/dashboard/DashboardCTA/index.js b/assets/js/modules/idea-hub/components/dashboard/DashboardCTA/index.js @@ -72,8 +72,8 @@ function DashboardCTA() {
<p>
<BulbIcon
className="googlesitekit-idea-hub__dashboard-cta__learnmore-bulb"
- width="16px"
- height="16px"
+ width="1... | 2 |
diff --git a/src/pages/slack_invite.js b/src/pages/slack_invite.js @@ -17,14 +17,6 @@ import Sheet from 'components/Sheet'
import SlackForm from 'components/SlackForm'
import { ColoredHeadline } from '../components/Content'
-/*
-const Stats = styled(Flex)`
- flex-wrap: wrap;
- align-items: center;
- justify-content: ce... | 7 |
diff --git a/src/menelaus_stats.erl b/src/menelaus_stats.erl @@ -1507,7 +1507,7 @@ do_couchbase_index_stats_descriptions(BucketId, IndexNodes) ->
{title, <<"data size">>},
{name, per_index_stat(Id, <<"data_size">>)},
{desc, <<"Actual data size consumed by the index">>}]},
- {struct, [{title, <<"total items remaining">>... | 10 |
diff --git a/assets/js/modules/pagespeed-insights/components/common/ReportDetailsLink.js b/assets/js/modules/pagespeed-insights/components/common/ReportDetailsLink.js @@ -46,7 +46,6 @@ export default function ReportDetailsLink() {
),
{
a: <Link
- key="link"
href={ pagespeedInsightsURL }
external
/>,
| 2 |
diff --git a/js/gdax.js b/js/gdax.js @@ -397,14 +397,14 @@ module.exports = class gdax extends Exchange {
// deposit from a payment_method, like a bank account
if ('payment_method_id' in params){
- response = await this.privatePostDepositPaymentMethod (this.extend ({
+ response = await this.privatePostDepositsPaymentMe... | 4 |
diff --git a/services/backend-api/client/src/mocks/handlers.ts b/services/backend-api/client/src/mocks/handlers.ts @@ -172,10 +172,27 @@ const handlers = [
}),
)),
- rest.delete('/api/v1/user-feeds/:feedId', (req, res, ctx) => res(
+ rest.delete('/api/v1/user-feeds/:feedId', (req, res, ctx) => {
+ const { feedId } = re... | 9 |
diff --git a/packages/react-scripts/scripts/utils/createJestConfig.js b/packages/react-scripts/scripts/utils/createJestConfig.js @@ -26,7 +26,18 @@ module.exports = (resolve, rootDir, isEjecting) => {
setupFiles: [resolve('config/polyfills.js')],
setupTestFrameworkScriptFile: setupTestsFile,
testPathIgnorePatterns: [
-... | 8 |
diff --git a/js/cloud/bisweb_awsmodule.js b/js/cloud/bisweb_awsmodule.js @@ -840,11 +840,24 @@ class AWSModule extends BaseServerClient {
//create edit modal and update UI with the changed values
tableRow.find('.btn').on('click', () => {
- this.createAWSEditModal(selectedItemId, selectedItemInfo.bucketName, selectedIte... | 1 |
diff --git a/packages/core/src/models/devided-page-path.js b/packages/core/src/models/devided-page-path.js @@ -2,8 +2,9 @@ import * as pathUtils from '../utils/path-utils';
// https://regex101.com/r/BahpKX/2
const PATTERN_INCLUDE_DATE = /^(.+\/[^/]+)\/(\d{4}|\d{4}\/\d{2}|\d{4}\/\d{2}\/\d{2})$/;
-// https://regex101.com... | 7 |
diff --git a/source/views/containers/PanZoomView.js b/source/views/containers/PanZoomView.js @@ -49,11 +49,9 @@ const PanZoomView = Class({
const layer = this.get('layer');
if (this.get('isInDocument')) {
layer.addEventListener('load', this, true);
- layer.addEventListener('webkitTransitionEnd', this, true);
layer.addE... | 2 |
diff --git a/server/handlers/awsJobs.js b/server/handlers/awsJobs.js @@ -264,19 +264,10 @@ let handlers = {
return
}
- //Pair the job data with the scitran user info
- scitran.getUser(job.userId, (err, response) => {
- if (err) next(err)
-
- job.userMetadata = {}
- if (response.statusCode == 200) {
- job.userMetadata =... | 13 |
diff --git a/test/test.js b/test/test.js @@ -109,12 +109,14 @@ describe('ELASTICDUMP', () => {
}
}
+ const isNew = /[6-9]\.\d+\..+/.test(process.env.ES_VERSION)
+
const templateSettings = {
- index_patterns: [
+ [isNew ? 'index_patterns' : 'template']: isNew ? [
'source_index',
'another_index',
'destination_index'
- ],... | 9 |
diff --git a/src/plots/layout_attributes.js b/src/plots/layout_attributes.js @@ -269,7 +269,7 @@ module.exports = {
role: 'style',
dflt: colorAttrs.background,
editType: 'plot',
- description: 'Sets the color of paper where the graph is drawn.'
+ description: 'Sets the background color of the paper where the graph is d... | 0 |
diff --git a/token-metadata/0xDea67845A51E24461D5fED8084E69B426AF3D5Db/metadata.json b/token-metadata/0xDea67845A51E24461D5fED8084E69B426AF3D5Db/metadata.json "symbol": "HTRE",
"address": "0xDea67845A51E24461D5fED8084E69B426AF3D5Db",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/components/dashboard/FeedActions.js b/src/components/dashboard/FeedActions.js import React from 'react'
import { StyleSheet } from 'react-native'
import { Alert, TouchableHighlight, Text, View } from 'react-native-web'
+import { utils } from 'web3'
import type { FeedEventProps } from './FeedItems/Event... | 3 |
diff --git a/site/rabbit.ent b/site/rabbit.ent @@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!ENTITY version-java-client "5.7.2">
+<!ENTITY version-java-client "5.7.3">
<... | 12 |
diff --git a/packages/@uppy/webcam/types/index.d.ts b/packages/@uppy/webcam/types/index.d.ts @@ -18,6 +18,7 @@ export interface WebcamOptions extends PluginOptions {
locale?: WebcamLocale
title?: string
videoConstraints?: MediaTrackConstraints
+ showRecordingLength?: boolean
}
declare class Webcam extends UIPlugin<Webc... | 0 |
diff --git a/world.js b/world.js @@ -884,7 +884,7 @@ world.addEventListener('trackedobjectadd', async e => {
const token = await res.json();
const file = await (async () => {
- if (typeof contentId === 'number' || /^\d+$/.test(contentId)) {
+ if (typeof contentId === 'number') {
const {hash, filename} = token.propertie... | 2 |
diff --git a/lime/system/ThreadPool.hx b/lime/system/ThreadPool.hx @@ -30,6 +30,7 @@ class ThreadPool {
public var onProgress = new Event<Dynamic->Void> ();
#if (cpp || neko)
+ private var __synchronous:Bool;
private var __workCompleted:Int;
private var __workIncoming = new Deque<ThreadPoolMessage> ();
private var __wo... | 7 |
diff --git a/lib/ui/components/common/Tabs.js b/lib/ui/components/common/Tabs.js @@ -18,6 +18,11 @@ const Tab = styled.div`
cursor: ${(props) => props.isSelected ? 'default' : 'pointer'};
border: ${(props) => props.isSelected ? '1px solid #f0f0f0' : 'none'};
border-bottom: ${(props) => props.isSelected ? '1px solid whi... | 7 |
diff --git a/token-metadata/0x5Ca381bBfb58f0092df149bD3D243b08B9a8386e/metadata.json b/token-metadata/0x5Ca381bBfb58f0092df149bD3D243b08B9a8386e/metadata.json "symbol": "MXC",
"address": "0x5Ca381bBfb58f0092df149bD3D243b08B9a8386e",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/packages/vulcan-core/lib/modules/default_resolvers.js b/packages/vulcan-core/lib/modules/default_resolvers.js @@ -117,7 +117,7 @@ export function getDefaultResolvers(options) {
if (!doc) {
if (allowNull) {
- return null;
+ return { result: null };
} else {
const MissingDocumentError = createError('app.miss... | 1 |
diff --git a/weapons-manager.js b/weapons-manager.js @@ -1143,7 +1143,10 @@ const keyTab5El = document.getElementById('key-tab-5');
e.preventDefault();
e.stopPropagation();
- if (editedObject) {
+ if (appManager.grabbedObjects[0]) {
+ appManager.grabbedObjects[0] = null;
+ _updateMenu();
+ } else if (editedObject) {
ed... | 0 |
diff --git a/docs/readme.md b/docs/readme.md - [Pagination](api/graphql/pagination.md)
- [Testing](api/graphql/testing.md)
- [Tips & Tricks](api/graphql/tips-and-tricks.md)
-- [Hyperion (server side rendering)](hyperion/intro.md)
- - [Development](hyperion/development.md)
+- [Hyperion (server side rendering)](hyperion%... | 1 |
diff --git a/lib/router/bind.js b/lib/router/bind.js @@ -145,8 +145,8 @@ function bindAction(path, target, verb, options) {
return;
}
- // Add "action" property to the route options.
- _.extend(options || {}, {action: actionIdentity});
+ // Add "action" property to the route options, and set the _middlewareType propert... | 12 |
diff --git a/source/tab/Popup.js b/source/tab/Popup.js @@ -260,6 +260,7 @@ class Popup extends EventEmitter {
fontFamily: "Buttercup-OpenSans",
height: `${LIST_ITEM_HEIGHT}px`,
lineHeight: `${LIST_ITEM_HEIGHT}px`,
+ margin: "0",
paddingLeft: "30px",
backgroundImage: `url(${ICON_KEY})`,
backgroundSize: "20px",
| 2 |
diff --git a/2-js-basics/3-making-decisions/README.md b/2-js-basics/3-making-decisions/README.md @@ -28,9 +28,9 @@ Operators are used to evaluate conditions by making comparisons that will create
| Symbol | Description | Example |
| ------ | ------------------------------------------------------------------------------... | 3 |
diff --git a/modules/exstats.js b/modules/exstats.js @@ -110,7 +110,7 @@ Bangle.on("GPS", function(fix) {
if (stats["dist"]) stats["dist"].emit("changed",stats["dist"]);
var duration = Date.now() - state.startTime; // in ms
state.avrSpeed = state.distance * 1000 / duration; // meters/sec
- state.curSpeed = state.curSpe... | 1 |
diff --git a/controllers/ChoresController.php b/controllers/ChoresController.php @@ -49,7 +49,7 @@ class ChoresController extends BaseController
public function ChoreEditForm(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args)
{
- if ($args['choredId'] == 'new')
+ if ($args['choreId'] == 'new')
{
r... | 1 |
diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -2414,11 +2414,16 @@ RED.view = (function() {
// This is not a virtualLink - which means it started
// on a regular node port. Need to ensure the this isn't
// connecting to ... | 1 |
diff --git a/src/components/stencil.config.js b/src/components/stencil.config.js @@ -2,7 +2,7 @@ const path = require('path');
const sass = require('@stencil/sass');
exports.config = {
- namespace: 'mycomponent',
+ namespace: 'airship',
outputTargets:[
{
type: 'dist'
| 10 |
diff --git a/src/core/lib/Base64.mjs b/src/core/lib/Base64.mjs @@ -95,6 +95,7 @@ export function fromBase64(data, alphabet="A-Za-z0-9+/=", returnType="string", r
const output = [];
let chr1, chr2, chr3,
+ encChr1, encChr2, encChr3, encChr4,
enc1, enc2, enc3, enc4,
i = 0;
@@ -103,15 +104,39 @@ export function fromBase64... | 0 |
diff --git a/src/components/nodes/dataOutputAssociation/dataOutputAssociation.vue b/src/components/nodes/dataOutputAssociation/dataOutputAssociation.vue @@ -21,6 +21,7 @@ import linkConfig from '@/mixins/linkConfig';
import get from 'lodash/get';
import associationHead from '!!url-loader!@/assets/association-head.svg';... | 2 |
diff --git a/app/modules/handler/containers/Stage.js b/app/modules/handler/containers/Stage.js @@ -32,6 +32,7 @@ import PromptActionUnlock from '../components/Actions/Unlock';
import URIActions from '../actions/uri';
import WhitelistActions from '../actions/whitelist';
+import GlobalTransactionMessageError from '../../... | 4 |
diff --git a/ui/watch.sh b/ui/watch.sh @@ -18,8 +18,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
fi
# run sass once without --watch to force update. then run with --watch to keep watching
- node_modules/.bin/node-sass --sourcemap=none $DIR/scss/all.scss $DIR/../app/dist/themes/light.css
- node_modules/.... | 13 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -23,8 +23,9 @@ import postProcessing from './post-processing.js';
import {getRandomString, memoize} from './util.js';
import * as mathUtils from './math-utils.js';
import JSON6 from 'json-6';
-import * as materials from './materials.js';
import * as geometries... | 0 |
diff --git a/html/settings/_settings.scss b/html/settings/_settings.scss /// Setting for the background
/// color of any text when selected.
-$sprk-selection-bg-color: $sprk-purple-light !default;
+$sprk-selection-bg-color: $sprk-purple-lightest !default;
/// Setting for the
/// color of any text when selected.
$sprk-s... | 4 |
diff --git a/old-ui/app/css/index.css b/old-ui/app/css/index.css @@ -720,7 +720,11 @@ div.message-container > div:first-child {
transform: scale(1.1);
}
-//Notification Modal
+.app-bar {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+}
.notification-modal-wrapper {
display: flex;
| 5 |
diff --git a/aws/step/step.go b/aws/step/step.go @@ -1030,7 +1030,7 @@ func (sm *StateMachine) MarshalJSON() ([]byte, error) {
Comment: sm.comment,
StartAt: sm.startAt.Name(),
States: sm.uniqueStates,
- End: (len(sm.uniqueStates) == 1) && !sm.disableEndState,
+ //End: (len(sm.uniqueStates) != 1) && !sm.disableEndState,... | 2 |
diff --git a/.gitignore b/.gitignore @@ -15,11 +15,11 @@ lib
**/__tests__/_output*
# docs
-*/docs/**/*.mov
-*/docs/**/*.pxm
-*/docs/node_modules
-*/docs/dist
-*/docs/content/assets/showcases/*
+**/docs/**/*.mov
+**/docs/**/*.pxm
+**/docs/node_modules
+**/docs/dist
+**/docs/content/assets/showcases/*
# phenomic-theme-ba... | 8 |
diff --git a/magda-minion-broken-link/src/index.ts b/magda-minion-broken-link/src/index.ts @@ -5,6 +5,8 @@ import commonYargs from "@magda/minion-framework/dist/commonYargs";
const ID = "minion-broken-link";
+const coerceJson = (path?: string) => path && require(path);
+
const argv = commonYargs(ID, 6111, "http://local... | 11 |
diff --git a/test/server/cards/cancreatecards.spec.js b/test/server/cards/cancreatecards.spec.js @@ -87,7 +87,6 @@ describe('All Cards:', function() {
this.actionSpy = spyOn(this.card, 'action');
this.card.setupCardAbilities(AbilityDsl);
this.calls = _.flatten(this.actionSpy.calls.allArgs());
- console.log(this.calls)
... | 11 |
diff --git a/README.md b/README.md @@ -521,28 +521,11 @@ axios.get('/user/12345', {
}
});
-// cancel the request (the message parameter is optional)
-source.cancel('Operation canceled by the user.');
-```
-
-```js
-var CancelToken = axios.CancelToken;
-var source = CancelToken.source();
-
-axios(
- method: 'POST',
- ur... | 3 |
diff --git a/src/client/modules/post/graphql/PostsSubscription.graphql b/src/client/modules/post/graphql/PostsSubscription.graphql #import "./Post.graphql"
-subscription onPostUpdated($endCursor: Int!) {
+subscription onPostsUpdated($endCursor: Int!) {
postsUpdated(endCursor: $endCursor) {
mutation
node {
| 10 |
diff --git a/site/rabbit.ent b/site/rabbit.ent @@ -15,7 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<!ENTITY version-java-client "5.4.1">
+<!ENTITY version-java-client "5.4.2">
<... | 12 |
diff --git a/userscript.user.js b/userscript.user.js @@ -2971,6 +2971,19 @@ var $$IMU_EXPORT$$;
// doesn't work for some urls:
// https://i.ytimg.com/vi/o-gVbQHG0Ck/hqdefault.jpg
// https://i.ytimg.com/vi/o-gVbQHG0Ck/sddefault.jpg -- different image
+
+ // Transforms private signed URLs into public ones. Only works for... | 7 |
diff --git a/AjaxControlToolkit/ToolkitResourceManager.cs b/AjaxControlToolkit/ToolkitResourceManager.cs @@ -20,6 +20,18 @@ namespace AjaxControlToolkit {
_scriptsCache = new Dictionary<Type, List<ResourceEntry>>(),
_cssCache = new Dictionary<Type, List<ResourceEntry>>();
+ static readonly Type[] _controlTypesWithBackg... | 7 |
diff --git a/renderer/components/onboard/__tests__/Sections.test.js b/renderer/components/onboard/__tests__/Sections.test.js @@ -118,8 +118,11 @@ describe('Tests for Screens 3 and Screen 4 of Sections component', () => {
const lottiePlayerSecond = screen.getByTestId("quiz-steps-animation");
await waitForElementToBeRemo... | 7 |
diff --git a/articles/integrations/aws-api-gateway-2/part-3.md b/articles/integrations/aws-api-gateway-2/part-3.md @@ -31,3 +31,11 @@ Under **Settings**, click the **pencil** icon to the right **Authorization** and
Click the **check mark** icon to save your choice of custom authorizer. Make sure the **API Key Required*... | 0 |
diff --git a/src/selectors/events.js b/src/selectors/events.js @@ -7,6 +7,10 @@ export const selectEvents = (state: State) =>
getEventsState(state).data.entries.filter(
entry => entry.sys.contentType.sys.id === "event"
);
+export const selectFeaturedEvents = (state: State) =>
+ getEventsState(state).data.entries.filter... | 0 |
diff --git a/Deal-Init/script.json b/Deal-Init/script.json {
-"name": "DealInit",
-"script":"Deal-Init.js",
-"version": "1.4",
-"previousversions": [ "1.3","1.2" ],
-"description": "Handles Savage Worlds card-based Inititive by dealing cards to Turn Order, automatically handling Jokers and Initiative Edges and sorting ... | 3 |
diff --git a/magda-web-client/src/Components/Dataset/Add/DatasetAddCommon.ts b/magda-web-client/src/Components/Dataset/Add/DatasetAddCommon.ts @@ -528,7 +528,9 @@ export function createBlankState(user: User): State {
defaultLicense: "world"
},
datasetPublishing: {
- state: "draft",
+ state: config.featureFlags.datasetA... | 12 |
diff --git a/dapp/src/components/layout.js b/dapp/src/components/layout.js @@ -166,7 +166,7 @@ const Layout = ({
<div className="container d-flex flex-column flex-md-row align-items-center">
{showStakingBanner ? (
<>
- <div className="d-flex flex-column mt-0 justify-content-center">
+ <div className="d-flex flex-column... | 7 |
diff --git a/ui/component/viewers/videoViewer/view.jsx b/ui/component/viewers/videoViewer/view.jsx @@ -22,6 +22,7 @@ const SEEK_STEP = 10; // time to seek in seconds
const VIDEO_JS_OPTIONS: { poster?: string } = {
controls: true,
+ autoplay: true,
preload: 'auto',
playbackRates: [0.25, 0.5, 0.75, 1, 1.1, 1.25, 1.5, 2],... | 13 |
diff --git a/source/sourcePane.js b/source/sourcePane.js @@ -146,7 +146,7 @@ const thisPane = {
var contentType, allowed, eTag
if (response.headers && response.headers.get('content-type')) {
contentType = response.headers.get('content-type') // Should work but headers may be empty
- allow = response.headers.get('allow'... | 11 |
diff --git a/test/unit/seed-phrase-verifier-test.js b/test/unit/seed-phrase-verifier-test.js @@ -13,20 +13,23 @@ describe('SeedPhraseVerifier', function () {
let hdKeyTree = 'HD Key Tree'
let keyringController
- beforeEach(function () {
+ let vault
+ let primaryKeyring
+
+ beforeEach(async function () {
keyringControll... | 5 |
diff --git a/articles/integrations/aws-api-gateway/custom-authorizers/part-4.md b/articles/integrations/aws-api-gateway/custom-authorizers/part-4.md @@ -48,10 +48,6 @@ You can test your deployment by making a `GET` call to the **Invoke URL** you co
{
"method": "GET",
"url": "https://YOUR_INVOKE_URL/pets",
- "headers": ... | 2 |
diff --git a/packages/insomnia-app/app/ui/containers/app.js b/packages/insomnia-app/app/ui/containers/app.js @@ -534,11 +534,11 @@ class App extends PureComponent {
const header = getContentDispositionHeader(headers);
const nameFromHeader = header ? header.value : null;
- if (!responsePatch.bodyPath) {
- return;
- }
-
... | 9 |
diff --git a/Source/Renderer/ModernizeShader.js b/Source/Renderer/ModernizeShader.js @@ -55,7 +55,8 @@ define([
var variableMap = {};
var negativeMap = {};
- for (var a = 0; a < variablesThatWeCareAbout.length; ++a) {
+ var numVariablesWeCareAbout = variablesThatWeCareAbout.length;
+ for (var a = 0; a < numVariablesWeC... | 10 |
diff --git a/jobs/starlink.js b/jobs/starlink.js @@ -131,7 +131,7 @@ module.exports = async () => {
LAUNCH_DATE: sat.LAUNCH_DATE,
SITE: sat.SITE,
DECAY_DATE: sat.DECAY_DATE,
- DECAYED: sat.DECAYED,
+ DECAYED: !!(sat.DECAY_DATE),
FILE: sat.FILE,
GP_ID: sat.GP_ID,
TLE_LINE0: sat.TLE_LINE0,
| 12 |
diff --git a/articles/api-auth/tutorials/authorization-code-grant.md b/articles/api-auth/tutorials/authorization-code-grant.md @@ -11,8 +11,8 @@ https://${account.namespace}/authorize?
audience={API_AUDIENCE}&
scope={SCOPE}&
response_type=code&
- client_id={AUTH0_CLIENT_ID}&
- redirect_uri={CALLBACK_URL}&
+ client_id=$... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.