code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/js/controllers/buy-bitcoin/home.controller.js b/src/js/controllers/buy-bitcoin/home.controller.js @@ -22,10 +22,6 @@ angular
// Functions
vm.onBuyInstantly = onBuyInstantly;
- // Functions - Short because the appear in translatable strings
- vm.onPp = onPrivacyPolicy;
- vm.onTos = onTermsOfService;
-
f... | 1 |
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -37,6 +37,7 @@ jobs:
echo "APPCENTER_NAME=GoodDollar/GoodDollar-Android-development" >> $GITHUB_ENV
echo "APPCENTER_TOKEN=${{ secrets.APPCENTER_ANDROID_DEV }}" >> $GITHUB_ENV
echo "APPCENTER_CODEPUSH_TOKEN=${{ secrets.APPCENTER_CODEPUSH_DEV }... | 0 |
diff --git a/src/abstract-ops/array-objects.mjs b/src/abstract-ops/array-objects.mjs @@ -46,10 +46,6 @@ export function ArrayCreate(length, proto) {
proto = surroundingAgent.intrinsic('%ArrayPrototype%');
}
const A = new ArrayExoticObjectValue();
-
- // Set A's essential internal methods except for [[DefineOwnProperty]... | 2 |
diff --git a/app/i18n.js b/app/i18n.js const zhLocaleData = require('react-intl/locale-data/zh');
const koLocaleData = require('react-intl/locale-data/ko');
const viLocaleData = require('react-intl/locale-data/vi');
+ const ruLocaleData = require('react-intl/locale-data/ru');
const enTranslationMessages = require('./tr... | 0 |
diff --git a/src/js/controllers/walletSelectorController.js b/src/js/controllers/walletSelectorController.js @@ -17,7 +17,7 @@ angular.module('copayApp.controllers').controller('walletSelectorController', fu
sendFlowService.popState();
}
- $scope.params = sendFlowService.getState();
+ var stateParams = sendFlowService.... | 13 |
diff --git a/docs/development.md b/docs/development.md @@ -7,17 +7,17 @@ git clone https://github.com/r-spacex/SpaceX-API.git && cd SpaceX-API
2. Install dependencies
```bash
-yarn install
+npm install
```
3. Run ESlint and all tests
```bash
-yarn test
+npm test
```
4. Start the app
```bash
-yarn start
+npm start
```
#... | 3 |
diff --git a/src/botPage/view/blockly/blocks/trade/tradeOptions.js b/src/botPage/view/blockly/blocks/trade/tradeOptions.js @@ -95,11 +95,14 @@ export default () => {
}
return 'BARRIEROFFSETTYPE_LIST';
};
- const otherBarrierList = this.getInput(otherBarrierListName());
+ const otherBarrierList = this.getField(otherBarr... | 11 |
diff --git a/src/bundler/bundle.imba b/src/bundler/bundle.imba @@ -235,6 +235,7 @@ export default class Bundle < Component
stdin: o.stdin
minify: o.minify ?? program.minify
incremental: !!watcher
+ charset: 'utf8'
loader: Object.assign({
".png": "file",
".apng": "file",
| 12 |
diff --git a/README.md b/README.md @@ -23,7 +23,6 @@ The code here will be under continual audit and improvement as the project progr
- https://mintr.synthetix.io
- https://synthetix.exchange
- https://dashboard.synthetix.io
-- https://swappr.io
## Branching
| 2 |
diff --git a/assets/js/googlesitekit/datastore/modules/index.js b/assets/js/googlesitekit/datastore/modules/index.js * Internal dependencies
*/
import Data from 'googlesitekit-data';
-import { createNotificationsStore } from '../../data/create-notifications-store';
import modules from './modules';
-const notifications ... | 2 |
diff --git a/config/sidebar.yml b/config/sidebar.yml @@ -14,32 +14,76 @@ articles:
- title: Developer Videos
url: /videos
+ children:
+
+ - title: Developer Overview
+ url: /videos/developer-overview
+
+ - title: Rules
+ url: /videos/rules
+
+ - title: Session & Cookies
+ url: /videos/session-and-cookies
- title: Archi... | 0 |
diff --git a/src/js/views/commandViews.js b/src/js/views/commandViews.js @@ -70,12 +70,17 @@ var CommandPromptView = Backbone.View.extend({
var el = e.target;
const shadowEl = document.querySelector('#shadow');
- const uc = el.value.replace(/ {2,}/g, ' ');
+
+ const currentValue = el.value;
+ const allCommand = current... | 1 |
diff --git a/src/scripts/interactive-video.js b/src/scripts/interactive-video.js @@ -2854,7 +2854,8 @@ var getxAPIDefinition = function () {
* @return {boolean}
*/
const isSameElementOrChild = ($parent, $child) => {
- return $parent !== undefined && $parent.is($child) || $.contains($parent.get(0), $child.get(0));
+ ret... | 0 |
diff --git a/src/connectors/vk.js b/src/connectors/vk.js @@ -5,7 +5,7 @@ let isPlaying = false;
const vkFilter = new MetadataFilter({
all: MetadataFilter.decodeHtmlEntities
-});
+}).extend(MetadataFilter.getRemasteredFilter());
Connector.isPlaying = () => isPlaying;
| 7 |
diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE <!--
-We appreciate the effort for this pull request but before that please make sure you read the contribution guidelines given above, then fill out the blanks below.
+Please explain WHAT you changed and WHY.
+The title should be descriptive, f... | 13 |
diff --git a/test/server/integration/lobby.spec.js b/test/server/integration/lobby.spec.js const Lobby = require('../../../server/lobby.js');
const _ = require('underscore');
-xdescribe('lobby', function() {
+describe('lobby', function() {
beforeEach(function() {
this.socketSpy = jasmine.createSpyObj('socket', ['joinCh... | 1 |
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -55,6 +55,7 @@ import dropManager from './drop-manager.js';
import hitManager from './character-hitter.js';
import dcWorkerManager from './dc-worker-manager.js';
import cardsManager from './cards-manager.js';
+import * as geometryAllocators from './geometry-al... | 0 |
diff --git a/app/hotels/src/map/MapView.js b/app/hotels/src/map/MapView.js @@ -35,10 +35,12 @@ type MarkerPressEvent = {|
|};
type LatLng = {|
- latitude: number,
longitude: number,
+ latitude: number,
|};
+const NO_OF_MARKERS_IN_REGION = 15;
+
const styles = StyleSheet.create({
map: StyleSheet.absoluteFillObject,
});
... | 12 |
diff --git a/lib/carto/connector/context.rb b/lib/carto/connector/context.rb @@ -47,29 +47,28 @@ module Carto
# Commands with no results (e.g. UPDATE, etc.) will return an empty array (`[]`).
# Result rows are returned as hashes with indifferent access.
def execute_in_user_database(command, *args)
- statement_timeout =... | 1 |
diff --git a/components/notification.js b/components/notification.js @@ -7,10 +7,10 @@ import Button from './button'
function Notification({message, type, style, isFullWidth, onClose, children}) {
return (
<div style={style} className={`notification ${type || ''} ${onClose ? 'closable' : ''} ${isFullWidth ? 'full-width... | 5 |
diff --git a/app/pages/lab/social-links-editor.jsx b/app/pages/lab/social-links-editor.jsx @@ -4,6 +4,8 @@ import DragReorderable from 'drag-reorderable';
import AutoSave from '../../components/auto-save.coffee';
import SOCIAL_ICONS from '../../lib/social-icons';
+const ROUTE_BEFORE_DOMAIN = ['wordpress'];
+
export def... | 9 |
diff --git a/src/main/java/de/uniwue/web/io/PageXMLWriter.java b/src/main/java/de/uniwue/web/io/PageXMLWriter.java @@ -151,8 +151,10 @@ public class PageXMLWriter {
xmlReadingOrder.getRoot().setOrdered(true);
List<String> readingOrder = result.getReadingOrder();
for (String regionID : readingOrder) {
+ if (idMap.get(re... | 11 |
diff --git a/node/lib/util/write_repo_ast_util.js b/node/lib/util/write_repo_ast_util.js @@ -77,12 +77,10 @@ const configRepo = co.wrap(function *(repo) {
* Return the tree and a map of associated subtrees corresponding to the
* specified `changes` in the specified `repo`, and based on the optionally
* specified `paren... | 2 |
diff --git a/src/pages/EnablePayments/IdologyQuestions.js b/src/pages/EnablePayments/IdologyQuestions.js @@ -35,6 +35,8 @@ const propTypes = {
additionalDetails: PropTypes.shape({
isLoading: PropTypes.bool,
+ errors: PropTypes.arrayOf(PropTypes.string),
+ errorCode: PropTypes.string,
}),
};
@@ -43,6 +45,8 @@ const defa... | 4 |
diff --git a/src/components/explorer/builder/LoggedInQueryContainer.js b/src/components/explorer/builder/LoggedInQueryContainer.js @@ -4,18 +4,17 @@ import { connect } from 'react-redux';
import { push } from 'react-router-redux';
import * as d3 from 'd3';
import { selectQuery, selectBySearchId, selectBySearchParams, f... | 9 |
diff --git a/brands/amenity/fuel.json b/brands/amenity/fuel.json }
},
"amenity/fuel|Auchan": {
- "locationSet": {"include": ["001"]},
+ "locationSet": {
+ "include": ["039", "151", "155", "cn"]
+ },
"nomatch": ["shop/supermarket|Auchan"],
"tags": {
"amenity": "fuel",
| 14 |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -18,7 +18,7 @@ Bower is a large community project with many different developers contributing a
## Team Meetings
-We communicate through a channel on slack: https://gitter.im/bower
+We communicate through a channel on Discord https://discord.gg/0fFM7QF0KpZRh2cY
If you'd... | 14 |
diff --git a/src/components/viewscreens/Communications/index.js b/src/components/viewscreens/Communications/index.js @@ -5,7 +5,6 @@ import { Container, Row, Col } from "reactstrap";
import gql from "graphql-tag";
import { graphql, withApollo } from "react-apollo";
import tinycolor from "tinycolor2";
-import { Asset } ... | 1 |
diff --git a/stories/module-pagespeed-insights-components.stories.js b/stories/module-pagespeed-insights-components.stories.js @@ -26,10 +26,6 @@ import { storiesOf } from '@storybook/react';
*/
import DashboardPageSpeedWidget from '../assets/js/modules/pagespeed-insights/components/dashboard/DashboardPageSpeedWidget';... | 2 |
diff --git a/src/pages/strategy/tabs/mstship/mstship.js b/src/pages/strategy/tabs/mstship/mstship.js // TODO: for all following `.single || .multiple`, should merge them instead of OR, and show a 'one-time' indicator
bonusStats = bonus.single || bonus.multiple;
totalStats = addObjects(totalStats, bonusStats);
- if (bon... | 1 |
diff --git a/public/javascripts/SVLabel/css/svl-context-menu.css b/public/javascripts/SVLabel/css/svl-context-menu.css .severity-level .severity-icon svg {
fill: white;
+}
+
+/* We should add transition only when the cursor is on the context menu. */
+/* Otherwise, it causes a delay when the context menu is closed and ... | 1 |
diff --git a/README.md b/README.md @@ -256,6 +256,60 @@ Example response velocity template:
},
```
+### Request body validation
+
+[AWS doc](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html)
+
+You can enable request body validation against a request model for lamb... | 0 |
diff --git a/app/src/pages/admin/allUsersPage/allUsersGrid/allUsersGrid.jsx b/app/src/pages/admin/allUsersPage/allUsersGrid/allUsersGrid.jsx @@ -64,7 +64,7 @@ const LastLoginColumn = ({ className, value }) => (
<span className={cx('mobile-label', 'last-login-label')}>
<FormattedMessage id={'AllUsersGrid.loginCol'} defa... | 1 |
diff --git a/token-metadata/0xd559f20296FF4895da39b5bd9ADd54b442596a61/metadata.json b/token-metadata/0xd559f20296FF4895da39b5bd9ADd54b442596a61/metadata.json "symbol": "FTX",
"address": "0xd559f20296FF4895da39b5bd9ADd54b442596a61",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/assets/js/components/setup/SetupUsingProxy.js b/assets/js/components/setup/SetupUsingProxy.js @@ -81,6 +81,7 @@ function SetupUsingProxy() {
const onButtonClick = useCallback(
async ( event ) => {
event.preventDefault();
+
if ( proxySetupURL ) {
await trackEvent(
VIEW_CONTEXT_DASHBOARD_SPLASH,
@@ -88,6 +89... | 2 |
diff --git a/src/containers/ApplicationIndex.js b/src/containers/ApplicationIndex.js @@ -77,14 +77,19 @@ const ApplicationCard = props => {
<CustomCard>
<p>
Welcome to your Hack Club application. You should fill this out with
- the group of people you'll be leading your club with. Once you submit
- your application you... | 7 |
diff --git a/src/renderer/layer/ImageGLRenderable.js b/src/renderer/layer/ImageGLRenderable.js @@ -64,6 +64,8 @@ const ImageGLRenderable = Base => {
const x2 = x + w;
const y1 = y;
const y2 = y + h;
+ gl.bindBuffer(gl.ARRAY_BUFFER, this.posBuffer);
+ this.enableVertexAttrib(['a_position', 3]);
gl.bufferData(gl.ARRAY_BU... | 10 |
diff --git a/tests/backstop/scenarios.js b/tests/backstop/scenarios.js @@ -47,7 +47,7 @@ const storyFiles = flatten(
.map( ( storiesPattern ) =>
path.resolve( storybookDir, storiesPattern )
)
- .map( ( absGlob ) => glob.sync( absGlob, { cwd: storybookDir } ) )
+ .map( ( absGlob ) => glob.sync( absGlob ) )
);
const csfS... | 2 |
diff --git a/assets/js/modules/adsense/index.js b/assets/js/modules/adsense/index.js /**
* WordPress dependencies
*/
-import { addFilter } from '@wordpress/hooks';
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import { AREA_DASHBOARD_EARNINGS } from '../../googlesitekit/widgets/default-areas';
-i... | 2 |
diff --git a/src/react/table/plugins/footer-row.js b/src/react/table/plugins/footer-row.js @@ -6,7 +6,7 @@ import {TablePlugin} from '../table-plugin';
export function withFooterRow(Table) {
return class TableWithFooterRow extends TablePlugin {
- static propTypes = {footerRow: PropTypes.node};
+ static propTypes = {foo... | 11 |
diff --git a/hyperapp.d.ts b/hyperapp.d.ts @@ -75,7 +75,7 @@ export type ActionsType<State, Actions> = {
* @memberOf [App]
*/
export interface View<State, Actions> {
- (state: State, actions: Actions): VNode<object>
+ (state: State, actions: Actions): VNode<object> | null
}
/** The app() call creates and renders a new ... | 11 |
diff --git a/src/components/wallet/Wallet.js b/src/components/wallet/Wallet.js @@ -212,7 +212,7 @@ export function Wallet() {
<div className='split'>
<div className='left'>
<NearWithBackgroundIcon/>
- <h1><Balance amount={balance.total} symbol={false}/></h1>
+ <h1><Balance amount={balance?.total} symbol={false}/></h1>
... | 9 |
diff --git a/apps/ha/custom.html b/apps/ha/custom.html <link rel="stylesheet" href="../../css/spectre.min.css">
</head>
<body>
- <h3>Upload Tiggers</h3>
- <p>You must upload a list of json objects -- an example is given below</p>
+ <h3>Upload Tigger</h3>
+ <p>Status: </p><p id="status"></p></p>
<p><textarea id="trigger... | 7 |
diff --git a/includes/Core/Storage/Encrypted_Options.php b/includes/Core/Storage/Encrypted_Options.php @@ -70,7 +70,6 @@ final class Encrypted_Options implements Options_Interface {
* Sets the value for a option.
*
* @since 1.0.0
- * @since n.e.x.t Added autoload parameter.
*
* @param string $option Option name.
* @par... | 2 |
diff --git a/app/components/DepositWithdraw/blocktrades/BlockTradesBridgeDepositRequest.jsx b/app/components/DepositWithdraw/blocktrades/BlockTradesBridgeDepositRequest.jsx @@ -25,6 +25,8 @@ let oidcStorage = new ls(
"oidc.user:https://blocktrades.us/:10ecf048-b982-467b-9965-0b0926330869"
);
+const POST_LOGOUT_REDIRECT... | 9 |
diff --git a/js/site.js b/js/site.js @@ -24,8 +24,9 @@ settings.ready().then(() => {
const siteScores = ['A', 'B', 'C', 'D']
-// percent of the top 500 sites a major tracking network is seen on
-const pagesSeenOn = {'google':55,'amazon':23,'facebook':20,'comscore':19,'twitter':11,'criteo':9,'quantcast':9,'adobe':8,'new... | 3 |
diff --git a/src/lib/wallet/GoodWalletClass.js b/src/lib/wallet/GoodWalletClass.js @@ -1490,11 +1490,8 @@ export class GoodWallet {
const lcAddress = address.toLowerCase()
const checksum = this.wallet.utils.toChecksumAddress(address)
const findByKey = contracts => findKey(contracts, key => [lcAddress, checksum].include... | 0 |
diff --git a/app/components/Exchange/MyOpenOrders.jsx b/app/components/Exchange/MyOpenOrders.jsx @@ -436,56 +436,57 @@ class MyOpenOrders extends React.Component {
}
_getOrders() {
- const {currentAccount, feedPrice} = this.props;
+ const {currentAccount, base, quote, feedPrice} = this.props;
const orders = currentAcco... | 13 |
diff --git a/articles/users/search/v3/migrate-search-v2-v3.md b/articles/users/search/v3/migrate-search-v2-v3.md @@ -11,7 +11,7 @@ useCase:
---
# Migrate from Search v2 to v3
-The user search engine v2 has been deprecated as of **June 6th 2018** and was removed from service on **November 13th 2018**. We highly recommen... | 2 |
diff --git a/src/commands/clone.js b/src/commands/clone.js @@ -7,7 +7,14 @@ const Feed = require('../structs/db/Feed.js')
const Subscriber = require('../structs/db/Subscriber.js')
const Translator = require('../structs/Translator.js')
-const properties = [`format`, `filters`, `misc-options`, `subscribers`, 'all']
+cons... | 14 |
diff --git a/react/src/base/inputs/Date.stories.js b/react/src/base/inputs/Date.stories.js @@ -32,7 +32,7 @@ which you may need to remove before submitting the form.
export const dateInput = () => (
<SprkInputContainer>
- <SprkLabel htmlFor="date-1">Date</SprkLabel>
+ <SprkLabel htmlFor="date-1">Date Input (No Picker)<... | 3 |
diff --git a/public/app/js/basic.js b/public/app/js/basic.js @@ -3,7 +3,7 @@ var cbus = {};
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
window.AudioContext = window.AudioContext || window.webkitAudioContext;
-var parseURL = function(url) {
+const parseURL = function(url) {
var a = d... | 14 |
diff --git a/src/services/milestones/milestones.hooks.js b/src/services/milestones/milestones.hooks.js @@ -13,21 +13,21 @@ import { updatedAt, createdAt } from '../../hooks/timestamps';
BigNumber.config({ DECIMAL_PLACES: 18 });
+const getMilestones = context => {
+ if (context.id) return context.service.get(context.id)... | 11 |
diff --git a/lib/util/timer.js b/lib/util/timer.js @@ -62,7 +62,7 @@ shaka.util.Timer = class {
}
/**
- * Have the timer call |onTick| after |seconds| has elasped unless |stop| is
+ * Have the timer call |onTick| after |seconds| has elapsed unless |stop| is
* called first.
*
* @param {number} seconds
| 1 |
diff --git a/includes/Modules/Thank_With_Google.php b/includes/Modules/Thank_With_Google.php @@ -310,11 +310,9 @@ final class Thank_With_Google extends Module
function( $publication ) {
return (
(
- // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
isset( $publication['paymentOption... | 2 |
diff --git a/src/ui/UIComponent.js b/src/ui/UIComponent.js @@ -578,6 +578,7 @@ class UIComponent extends Eventable(Class) {
const events = {};
if (this._owner && (this._owner instanceof Geometry)) {
events.positionchange = this.onGeometryPositionChange;
+ events.symbolchange = this.onGeometryPositionChange;
}
if (this.... | 3 |
diff --git a/token-metadata/0xF4134146AF2d511Dd5EA8cDB1C4AC88C57D60404/metadata.json b/token-metadata/0xF4134146AF2d511Dd5EA8cDB1C4AC88C57D60404/metadata.json "symbol": "SNC",
"address": "0xF4134146AF2d511Dd5EA8cDB1C4AC88C57D60404",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/src/app/Http/Middleware/CheckIfAdmin.php b/src/app/Http/Middleware/CheckIfAdmin.php @@ -22,8 +22,8 @@ class CheckIfAdmin
* does not have a '/home' route, use something you've built for your users
* (again - users, not admins).
*
- * @param [type] $user [description]
- * @return bool [description]
+ * @para... | 7 |
diff --git a/src/map/Map.Camera.js b/src/map/Map.Camera.js @@ -312,8 +312,7 @@ Map.include(/** @lends Map.prototype */{
_calcMatrices: function () {
// closure matrixes to reuse
const m0 = Browser.ie9 ? null : createMat4(),
- m1 = Browser.ie9 ? null : createMat4(),
- minusY = [1, -1, 1];
+ m1 = Browser.ie9 ? null : cre... | 3 |
diff --git a/docs/docs/api/model.md b/docs/docs/api/model.md @@ -99,6 +99,6 @@ quill.setText('Hello\nGood\nWorld!');
quill.formatLine(1, 1, 'list', 'bullet');
let lines = quill.getLines(2, 5);
-// array witha a ListItem and Block Blot,
+// array with a ListItem and Block Blot,
// representing the first two lines
```
| 1 |
diff --git a/app/lib/RoomClient.js b/app/lib/RoomClient.js @@ -48,6 +48,9 @@ export default class RoomClient
// Redux store getState function.
this._getState = getState;
+ // This device
+ this._device = device;
+
// My peer name.
this._peerName = peerName;
@@ -459,6 +462,16 @@ export default class RoomClient
logger.de... | 3 |
diff --git a/packages/vulcan-lib/lib/server/mutations.js b/packages/vulcan-lib/lib/server/mutations.js @@ -65,7 +65,7 @@ export const newMutation = ({ collection, document, currentUser, validate, conte
// run onInsert step
_.keys(schema).forEach(fieldName => {
- if (!newDocument[fieldName] && schema[fieldName].onInsert... | 7 |
diff --git a/src/lib/gundb/UserStorage.js b/src/lib/gundb/UserStorage.js @@ -383,7 +383,7 @@ class UserStorage {
async getStandardizedFeed(amount: number, reset: boolean): Promise<Array<StandardFeed>> {
const feed = await this.getAllFeed()
logger.info({ feed })
- return feed.map(this.standardizeFeed)
+ return feed.filt... | 0 |
diff --git a/lib/assets/javascripts/cartodb/dashboard/views/filters.jst.ejs b/lib/assets/javascripts/cartodb/dashboard/views/filters.jst.ejs <% } %>
</li>
<% } %>
- <% if (shared !== "only" && shared !== "yes" && !library && hasCreateDatasetsFeature) { %>
+ <% if (!library && hasCreateDatasetsFeature) { %>
<% if (selec... | 2 |
diff --git a/components/Discussion/NotificationOptions.js b/components/Discussion/NotificationOptions.js @@ -266,6 +266,12 @@ class NotificationOptions extends PureComponent {
<A {...styles.link}
href='/konto#benachrichtigungen'
onClick={(e) => {
+ if (e.currentTarget.nodeName === 'A' &&
+ (e.metaKey || e.ctrlKey || e.... | 8 |
diff --git a/_plugins/add-variables-to-files.rb b/_plugins/add-variables-to-files.rb @@ -9,10 +9,10 @@ module AddVariablesToFiles
def generate(site)
@site = site
- @site.pages.each do |page|
- pageURL = "#{page.url}"
- page.data["file_name"] = pageURL.split('/').last
- end
+ # @site.pages.each do |page|
+ # pageURL = "... | 2 |
diff --git a/templates/index.html b/templates/index.html <script src="{{ STATIC_URL }}js/highcharts/js/highcharts.js"></script>
<script src="{{ STATIC_URL }}js/highcharts/js/modules/exporting.js"></script>
+<script src="{{ STATIC_URL }}js/select2.min.js"></script>
<script>
+$(document).ready(function() {
+ $('#sectors'... | 3 |
diff --git a/src/reducers/__snapshots__/route.test.js.snap b/src/reducers/__snapshots__/route.test.js.snap exports[`Router reducer NAVIGATE action stores the current route 1`] = `"somewhere"`;
+exports[`Router reducer NAVIGATION action stores the current route 1`] = `"somewhere"`;
+
exports[`Router reducer initialises ... | 0 |
diff --git a/scripts/buildDebian.js b/scripts/buildDebian.js @@ -18,17 +18,6 @@ function toArch (platform) {
}
}
-function toFpm (platform) {
- switch (platform) {
- case 'armhf':
- return ['--architecture', 'armhf']
- case 'arm64':
- return ['--architecture', 'aarch64']
- default:
- return null
- }
-}
-
require('./cre... | 2 |
diff --git a/ui/component/channelThumbnail/view.jsx b/ui/component/channelThumbnail/view.jsx @@ -50,6 +50,7 @@ function ChannelThumbnail(props: Props) {
setThumbUploadError,
ThumbUploadError,
} = props;
+ const [retries, setRetries] = React.useState(3);
const [thumbLoadError, setThumbLoadError] = React.useState(ThumbUp... | 4 |
diff --git a/src/components/workshops/Carousel.js b/src/components/workshops/Carousel.js @@ -253,16 +253,18 @@ class Carousel extends Component {
{ ...exampleData },
{ ...exampleData },
]
+ }
+
+ componentDidMount() {
+ const self = this
+ const { slug } = this.props
api.get(`v1/workshops/${slug}/projects`).then(projec... | 5 |
diff --git a/src/index.js b/src/index.js @@ -111,6 +111,7 @@ const setLang = (lng) => {
// Don't set the lang if it's not the supported languages.
if (SUPPORTED_LANGS.includes(proposedLng)) {
LANG = proposedLng;
+ document.cookie = `i18next=${LANG};`;
}
}
| 12 |
diff --git a/articles/connections/database/mysql.md b/articles/connections/database/mysql.md @@ -4,6 +4,7 @@ connection: MySQL
image: /media/connections/mysql.svg
seo_alias: mysql
description: How to authenticate users with username and password using a Custom Database.
+toc: true
---
# Authenticate Users with Username... | 0 |
diff --git a/src/editors/table.js b/src/editors/table.js @@ -350,10 +350,10 @@ export class TableEditor extends ArrayEditor {
self.rows[i].copy_button.classList.add('copy', 'json-editor-btntype-copy')
self.rows[i].copy_button.setAttribute('data-i', i)
self.rows[i].copy_button.addEventListener('click', function (e) {
- ... | 7 |
diff --git a/package.json b/package.json "awsEc2ImageId": "ami-0f8cb80387454c1ff",
"awsKeyName": "natmap-kring",
"awsS3ServerConfigOverridePath": "s3://nationalmap-apps/nationalmap/privateserverconfig-2018-07-14.json",
- "awsS3ClientConfigOverridePath": "s3://nationalmap-apps/nationalmap/privateclientconfig-2020-09-03.... | 4 |
diff --git a/tests/old-unit/support/ServerlessBuilder.js b/tests/old-unit/support/ServerlessBuilder.js @@ -34,9 +34,6 @@ export default class ServerlessBuilder {
}
this.serverless = { ...serverless, ...serverlessDefaults }
- this.serverless.service.getFunction = this.serverless.service.getFunction.bind(
- this.serverle... | 2 |
diff --git a/token-metadata/0x3597bfD533a99c9aa083587B074434E61Eb0A258/metadata.json b/token-metadata/0x3597bfD533a99c9aa083587B074434E61Eb0A258/metadata.json "symbol": "DENT",
"address": "0x3597bfD533a99c9aa083587B074434E61Eb0A258",
"decimals": 8,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/docs/introduction/best-practices.md b/docs/introduction/best-practices.md @@ -247,7 +247,7 @@ performance code because they will be run 90 times per second.
## VR Design
-[oculus]: https://developer.oculus.com/documentation/intro-vr/latest/concepts/bp_intro/
+[oculus]: https://developer.oculus.com/design/l... | 1 |
diff --git a/regl.d.ts b/regl.d.ts @@ -947,7 +947,7 @@ declare namespace REGL {
interface Texture extends Resource {
readonly stats: {
- /** Size of the texture, in bytes. */
+ /** Size of the texture in bytes. */
size: number;
}
@@ -970,53 +970,95 @@ declare namespace REGL {
}
type TextureFormatType =
+ /* `gl.ALPHA`;... | 7 |
diff --git a/package.json b/package.json "babel-polyfill": "^6.26.0",
"core-js": "^3.1.4",
"formiojs": "^4.0.0-rc.23",
+ "eventemitter2": "^5.0.1",
"lodash": "^4.17.15",
"prop-types": "^15.7.2",
"recompose": "^0.30.0"
| 0 |
diff --git a/core/server/api/v3/email-preview.js b/core/server/api/v3/email-preview.js const models = require('../../models');
-const i18n = require('../../../shared/i18n');
+const tpl = require('@tryghost/tpl');
const errors = require('@tryghost/errors');
const mega = require('../../services/mega');
+const messages = ... | 14 |
diff --git a/assets/js/googlesitekit/data/create-error-store.test.js b/assets/js/googlesitekit/data/create-error-store.test.js @@ -171,21 +171,19 @@ describe( 'createErrorStore store', () => {
describe( 'selectors', () => {
describe( 'getErrorForSelector', () => {
- const baseNameParam = 'selectorName';
-
- it( `requir... | 2 |
diff --git a/userscript.user.js b/userscript.user.js @@ -25970,6 +25970,11 @@ var $$IMU_EXPORT$$;
if (!data)
cb(null);
+ if (!("imageinfo" in data)) {
+ console_error("Unable to find imageinfo in", data);
+ return cb(null);
+ }
+
var imageinfo = data.imageinfo;
if (!("album_images" in imageinfo)) {
console_error("Unabl... | 1 |
diff --git a/generators/server/templates/build.gradle.ejs b/generators/server/templates/build.gradle.ejs @@ -504,8 +504,7 @@ dependencies {
<%_ } _%>
<%_ if (databaseType === 'couchbase') { _%>
implementation "com.github.differentway:couchmove"
- implementation group: 'com.couchbase.client', name: 'java-client', versio... | 2 |
diff --git a/token-metadata/0x4575f41308EC1483f3d399aa9a2826d74Da13Deb/metadata.json b/token-metadata/0x4575f41308EC1483f3d399aa9a2826d74Da13Deb/metadata.json "symbol": "OXT",
"address": "0x4575f41308EC1483f3d399aa9a2826d74Da13Deb",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/token-metadata/0x491604c0FDF08347Dd1fa4Ee062a822A5DD06B5D/metadata.json b/token-metadata/0x491604c0FDF08347Dd1fa4Ee062a822A5DD06B5D/metadata.json "symbol": "CTSI",
"address": "0x491604c0FDF08347Dd1fa4Ee062a822A5DD06B5D",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"... | 3 |
diff --git a/src/generators/border-widths.less b/src/generators/border-widths.less .generate-border-width-utilities(@border-width-scale; @border-color; @i + 1);
}
-.generate-screen-border-width-utility(@variant; 0; @border-color; @screen-name; @screen-width) {
+.generate-screen-border-width-utility(@variant; 0; @border... | 2 |
diff --git a/contribs/gmf/src/query/windowComponent.js b/contribs/gmf/src/query/windowComponent.js @@ -309,6 +309,7 @@ QueryWindowController.prototype.$onInit = function() {
containment: this.draggableContainment
});
windowContainer.resizable({
+ handles: 'all',
minHeight: 240,
minWidth: 240
});
| 4 |
diff --git a/src/components/sidemenu/SideMenuPanel.js b/src/components/sidemenu/SideMenuPanel.js @@ -34,26 +34,26 @@ const getMenuItems = ({ API, hideSidemenu, showDialog, hideDialog, navigation })
hideSidemenu()
}
},
- {
- icon: 'person',
- name: 'Profile Privacy'
- },
- {
- icon: 'notifications',
- name: 'Notificatio... | 0 |
diff --git a/assets/js/googlesitekit/datastore/user/surveys.test.js b/assets/js/googlesitekit/datastore/user/surveys.test.js @@ -23,9 +23,6 @@ import {
createTestRegistry,
muteFetch,
} from '../../../../../tests/js/utils';
-import {
- act,
-} from '../../../../../tests/js/test-utils';
import { STORE_NAME } from './cons... | 2 |
diff --git a/app/public/config/config.example.js b/app/public/config/config.example.js @@ -145,7 +145,8 @@ var config =
maxLastN : 5,
// If truthy, users can NOT change number of speakers visible
lockLastN : false,
- // Show logo if not null, else show title
+ // Show logo if "logo" is not null, else show title
+ // Se... | 7 |
diff --git a/edit.js b/edit.js @@ -1273,6 +1273,7 @@ const _makeChunkMesh = (seedString, parcelSize, subparcelSize) => {
const texture = await new Promise((accept, reject) => {
basisLoader.load('ground-texture.basis', texture => {
// console.timeEnd('basis texture load');
+ texture.minFilter = THREE.LinearFilter;
accep... | 4 |
diff --git a/tests/e2e/specs/auth-flow.test.js b/tests/e2e/specs/auth-flow.test.js @@ -35,7 +35,7 @@ function stubGoogleSignIn( request ) {
}
}
-describe( 'authenticating with Google', () => {
+describe( 'Site Kit set up flow for the first time', () => {
beforeAll( async() => {
await deactivateAllOtherPlugins();
| 3 |
diff --git a/includes/Modules/Analytics.php b/includes/Modules/Analytics.php @@ -1419,12 +1419,11 @@ final class Analytics extends Module
$dimension_filter->setOperator( 'EXACT' );
$args['page'] = str_replace( trim( $this->context->get_reference_site_url(), '/' ), '', esc_url_raw( $args['page'] ) );
$dimension_filter->... | 2 |
diff --git a/index.js b/index.js @@ -290,6 +290,10 @@ function update() {
data.hero_tile_pos_x = parseInt(data.hero.x/maps[data.map_name].sprite.tileWidth);
data.hero_tile_pos_y = parseInt(data.hero.y/maps[data.map_name].sprite.tileHeight);
+ if (data.wating_to_step) {
+ do_step(data);
+ }
+
//check if the actual tile ... | 7 |
diff --git a/packages/vulcan-forms/lib/components/FormComponent.jsx b/packages/vulcan-forms/lib/components/FormComponent.jsx @@ -73,7 +73,9 @@ class FormComponent extends PureComponent {
} else {
if (typeof documentValue === 'object' || typeof currentValue === 'object') {
// for object, use lodash's merge
- value = mer... | 9 |
diff --git a/test/onboarding.e2e.js b/test/onboarding.e2e.js @@ -7,10 +7,10 @@ describe('Onboarding Story 1', () => {
beforeAll(async () => {
app = await startApp()
await resetData(app)
+ await app.restart()
})
afterAll(async () => {
- await resetData(app)
await stopApp(app)
})
@@ -174,6 +174,8 @@ describe('Onboarding ... | 9 |
diff --git a/test/integration/batch/job-queue.test.js b/test/integration/batch/job-queue.test.js @@ -95,7 +95,7 @@ describe('job queue', function () {
}
assert.equal(queuesFromScan.length, 1);
- assert.equal(queuesFromScan[0], 'vizzuality');
+ assert.ok(queuesFromScan.indexOf(data.user) >= 0);
self.jobQueue.getQueues(f... | 7 |
diff --git a/mip-fh-ad/mip-fh-ad.js b/mip-fh-ad/mip-fh-ad.js @@ -24,7 +24,10 @@ define(function (require) {
var loadBdAd = function () {
var html = ['<div class="fh-ad-1">', '<span class="btn-fh-ad-1" on="tap:fh-ad-1.close"></span>', '</div>'];
- html = html.concat(['<mip-ad type="ad-qwang" ', 'cpro_psid="u2355234"', '... | 14 |
diff --git a/src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx b/src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx @@ -117,26 +117,23 @@ const SlackIntegration = (props) => {
officialBot: {
name: t('admin:slack_integration.selecting_bot_types.official_bot'),
level: t('admin:slack_i... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.