code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/src/feed.ts b/src/feed.ts @@ -108,7 +108,7 @@ export type EnrichedActivity<
latest_reactions?: ReactionsRecords<ReactionType, ChildReactionType, UserType>;
latest_reactions_extra?: Record<string, { next?: string }>;
- own_reactions?: ReactionsRecords<ReactionType, ChildReactionType, UserType>[];
+ own_reac... | 1 |
diff --git a/assets/js/modules/analytics/components/dashboard/DashboardUniqueVisitorsWidget.stories.js b/assets/js/modules/analytics/components/dashboard/DashboardUniqueVisitorsWidget.stories.js @@ -69,8 +69,7 @@ const optionsCompareEntityURL = {
const WidgetAreaTemplate = ( args ) => {
return (
<WithRegistrySetup func... | 2 |
diff --git a/src/navigation/checkout/CreditCard.js b/src/navigation/checkout/CreditCard.js @@ -65,12 +65,16 @@ class CreditCard extends Component {
return (
<Container>
- <Content padder contentContainerStyle={ styles.content }>
- <Text style={{ marginBottom: 10 }}>
+ <View style={ styles.content }>
+ <View style={{ al... | 7 |
diff --git a/src/components/dashboard/Dashboard.js b/src/components/dashboard/Dashboard.js @@ -14,7 +14,7 @@ import TabsView from '../appNavigation/TabsView'
import { Avatar, BigGoodDollar, Section, Wrapper } from '../common'
import Amount from './Amount'
import Claim from './Claim'
-import FaceRecognition from './face... | 1 |
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 @@ -35,24 +35,31 @@ limitations under the License.
# - SPRING_CLOUD_DISCOVERY_CLIENT_SIMPLE_INSTANCES_MYAPP_1_URI=http://host.docker.internal:8082
# Or a... | 7 |
diff --git a/server/interpreter.js b/server/interpreter.js @@ -551,12 +551,9 @@ Interpreter.prototype.initBuiltins_ = function() {
// Initialize ES standard global functions.
var intrp = this;
- var eval_ = new this.NativeFunction;
- eval_.setName('eval');
- intrp.setProperty(eval_, 'length', 1, Descriptor.c);
-
- /** ... | 4 |
diff --git a/package.json b/package.json "babel-plugin-transform-amd-system-wrapper": "^0.3.3",
"babel-plugin-transform-cjs-system-wrapper": "^0.5.0",
"babel-plugin-transform-es2015-modules-systemjs": "^6.6.5",
- "babel-plugin-transform-global-system-wrapper": "^0.2.0",
+ "babel-plugin-transform-global-system-wrapper":... | 3 |
diff --git a/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js b/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js @@ -117,18 +117,15 @@ function buildDiagnosticReport(scope, callback) {
adminAuth: runtime.settings.adminAuth ? "SET" : "UNSET",
- httpAdminRoot: runtime.settings.adminAuth ? "SET... | 1 |
diff --git a/pages/search.js b/pages/search.js @@ -144,6 +144,11 @@ class Search extends React.Component {
query.until = until
}
+ const since = moment(query.until).utc().subtract(30, 'day').format('YYYY-MM-DD')
+ if (!query.since) {
+ query.since = since
+ }
+
[testNamesR, countriesR] = await Promise.all([
client.get(... | 12 |
diff --git a/components/core/SlatePreviewBlock.js b/components/core/SlatePreviewBlock.js @@ -57,7 +57,7 @@ const STYLES_PLACEHOLDER = css`
export class SlatePreviewRow extends React.Component {
render() {
let objects = this.props.objects;
- let components = objects.map((each) => (
+ let components = objects.slice(1).ma... | 2 |
diff --git a/src/server/routes/apiv3/notification-setting.js b/src/server/routes/apiv3/notification-setting.js @@ -212,9 +212,7 @@ module.exports = (crowi) => {
notification.slackChannels = slackChannels;
break;
default:
- logger.error('GlobalNotificationSetting Type Error: undefined type');
- req.flash('errorMessage',... | 14 |
diff --git a/create-snowpack-app/cli/README.md b/create-snowpack-app/cli/README.md @@ -31,4 +31,5 @@ npx create-snowpack-app new-dir --template @snowpack/app-template-NAME [--use-ya
- [hyperapp-snowpack](https://github.com/bmartel/hyperapp-snowpack) (Hyperapp + Snowpack + TailwindCSS)
- [snowpack-vue-capacitor-2-demo](... | 0 |
diff --git a/src/components/templates/Articles/index.js b/src/components/templates/Articles/index.js @@ -11,14 +11,12 @@ import { colors } from 'theme'
export default class Articles extends Component {
render() {
const post = this.props.data.mdx
+ const seoDescription = `${post.frontmatter.title}` + '— an article... | 7 |
diff --git a/src/platforms/app-plus/service/framework/page.js b/src/platforms/app-plus/service/framework/page.js @@ -59,7 +59,7 @@ export function registerPage ({
route,
options: Object.assign({}, query || {}),
$getAppWebview () {
- return webview
+ return plus.webview.getWebviewById(webview.id)
},
$page: {
id: parseIn... | 1 |
diff --git a/src/node.js b/src/node.js @@ -487,6 +487,16 @@ var _ = Mavo.Node = $.Class({
return path.reduce((acc, cur) => acc.children[cur], this);
},
+ getAll: function() {
+ if (this.closestCollection) {
+ var relativePath = this.pathFrom(this.closestItem);
+ return this.closestCollection.children.map(item => item.g... | 1 |
diff --git a/src/dashboard/dashboard.tmpl b/src/dashboard/dashboard.tmpl <% if (privateConfig.sentry && privateConfig.sentry.enabled) { %>
<script src="/bower_components/raven-js/dist/raven.min.js"></script>
<script type="text/javascript">
- Raven.config('<%- privateConfig.sentry.publicDsn %>', <%= JSON.stringify(raven... | 3 |
diff --git a/server/game/cards/01 - Core/MirumotosFury.js b/server/game/cards/01 - Core/MirumotosFury.js @@ -14,7 +14,7 @@ class MirumotosFury extends DrawCard {
},
handler: context => {
let tmp = _.size(this.game.allCards.filter(card => card.isProvince && card.facedown && card.controller === this.controller));
- this.... | 2 |
diff --git a/package.json b/package.json "scripts": {
"preinstall": "make pre-install",
"test": "make test-all",
- "docker-test": "docker run -v `pwd`:/srv carto/nodejs6-xenial-pg101 bash run_tests_docker.sh && docker ps --filter status=dead --filter status=exited -aq | xargs -r docker rm -v",
- "docker-bash": "docker ... | 4 |
diff --git a/spark/components/masthead/vanilla/masthead.stories.js b/spark/components/masthead/vanilla/masthead.stories.js @@ -472,9 +472,7 @@ export const extended = () => {
</li>
</ul>
</nav>
-
</div>
-
<nav class="sprk-c-Masthead__narrow-nav sprk-u-Display--none" data-sprk-mobile-nav="mobileNav2" role="navigation" d... | 1 |
diff --git a/js/kraken.js b/js/kraken.js @@ -836,8 +836,13 @@ module.exports = class kraken extends Exchange {
}
}
return {
- 'info': response,
'id': id,
+ 'info': response,
+ 'symbol': symbol,
+ 'type': type,
+ 'side': side,
+ 'price': order['price'],
+ 'amount': order['volume'],
};
}
| 7 |
diff --git a/scripts/dependency_checker.py b/scripts/dependency_checker.py @@ -84,34 +84,22 @@ class DependencyChecker:
return is_stable
def write_fixes(self):
+ # go through the package.jsons and write the updated dependencies
for package in self.dependency_graph.keys():
filename = self.dependency_graph[package]['file... | 2 |
diff --git a/renderer.js b/renderer.js @@ -113,7 +113,7 @@ dolly.add(camera);
// dolly.add(avatarCamera);
scene.add(dolly);
-// const orthographicCamera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0.1, 100);
+const orthographicCamera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0.01, 100);
// scene.add(orthographicCam... | 0 |
diff --git a/vis/js/io.js b/vis/js/io.js @@ -229,7 +229,7 @@ IO.prototype = {
return d.x;
});
var mean_y = d3.mean(papers, function (d) {
- return d.y;
+ return d.y*(-1);
});
area_x.push(mean_x);
| 1 |
diff --git a/assets/js/components/GoogleChartV2.js b/assets/js/components/GoogleChartV2.js @@ -73,7 +73,7 @@ export default function GoogleChartV2( props ) {
// Remove all event listeners after the component has unmounted.
return () => {
// eslint-disable-next-line no-unused-expressions
- googleRef.current?.visualizati... | 2 |
diff --git a/src/core/cff_parser.js b/src/core/cff_parser.js @@ -792,6 +792,12 @@ class CFFParser {
);
parentDict.privateDict = privateDict;
+ if (privateDict.getByName("ExpansionFactor") === 0) {
+ // Firefox doesn't render correctly such a font on Windows (see issue
+ // 15289), hence we just reset it to its default ... | 12 |
diff --git a/generators/server/templates/src/main/java/package/security/jwt/TokenProvider.java.ejs b/generators/server/templates/src/main/java/package/security/jwt/TokenProvider.java.ejs @@ -100,8 +100,9 @@ public class TokenProvider {
}
public Authentication getAuthentication(String token) {
- Claims claims = Jwts.par... | 1 |
diff --git a/contractsSol5/KyberNetwork.sol b/contractsSol5/KyberNetwork.sol @@ -515,46 +515,40 @@ contract KyberNetwork is Withdrawable2, Utils4, IKyberNetwork, ReentrancyGuard {
//no need to handle fees if no fee paying reserves
if ((tData.numFeePayingReserves == 0) && (tData.platformFeeWei == 0)) return true;
- // c... | 10 |
diff --git a/docs/source/docs/flexbox-align-items.blade.md b/docs/source/docs/flexbox-align-items.blade.md @@ -46,7 +46,7 @@ features:
</tr>
<tr>
<td class="p-2 border-t border-smoke-light font-mono text-xs text-purple-dark">.items-baseline</td>
- <td class="p-2 border-t border-smoke-light font-mono text-xs text-blue-d... | 1 |
diff --git a/packages/saasify-cli/lib/parse-project.js b/packages/saasify-cli/lib/parse-project.js @@ -83,7 +83,7 @@ module.exports.getReadme = async (config) => {
const readmeFiles = await globby('readme.md', {
cwd: config.root,
gitignore: true,
- nocase: true
+ caseSensitiveMatch: false
})
if (readmeFiles.length) {
| 1 |
diff --git a/src/scripts/interaction.js b/src/scripts/interaction.js @@ -713,7 +713,6 @@ function Interaction(parameters, player, previousState) {
var visuals = getVisuals();
$interaction = $('<div/>', {
- 'role': 'group',
'aria-label': player.l10n.interaction,
'tabindex': '-1',
'class': 'h5p-interaction h5p-poster ' +... | 2 |
diff --git a/README.md b/README.md @@ -280,47 +280,57 @@ sql.on('error', err => {
## Connection Pools
+Using a single connection pool for your application/service is recommended.
+Instantiating a pool with a callback, or immediately calling `.connect`, is asynchronous to ensure a connection can be
+established before r... | 7 |
diff --git a/docs/getting-started.md b/docs/getting-started.md @@ -117,7 +117,7 @@ If you want to learn more about blocks we suggest to read its dedicated article:
Technically, once you drop your HTML block inside the canvas each element of the content is transformed into a GrapesJS Component. A GrapesJS Component is a... | 1 |
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.2.0">
+<!ENTITY version-java-client "5.3.0">
<... | 12 |
diff --git a/docs/faq.jade b/docs/faq.jade @@ -297,7 +297,7 @@ block content
**Q**. How can I change mongoose's default behavior of initializing an array
path to an empty array so that I can require real data on document creation?
- **A**. You can set the default of the array to a function that returns null.
+ **A**. Y... | 1 |
diff --git a/js/gatecoin.js b/js/gatecoin.js @@ -463,14 +463,7 @@ module.exports = class gatecoin extends Exchange {
async cancelOrder (id, symbol = undefined, params = {}) {
await this.loadMarkets ();
const response = await this.privateDeleteTradeOrdersOrderID ({ 'OrderID': id });
- // At this point response.responseS... | 13 |
diff --git a/structs/ScheduleManager.js b/structs/ScheduleManager.js @@ -53,7 +53,7 @@ class ScheduleManager {
run (refreshTime) { // Run schedules with respect to their refresh times
for (var feedSchedule of this.scheduleList) {
- if (feedSchedule.refreshTime === refreshTime) {
+ if (feedSchedule.refreshTime === refre... | 11 |
diff --git a/tests/e2e/config/bootstrap.js b/tests/e2e/config/bootstrap.js @@ -64,7 +64,7 @@ function capturePageEventsForTearDown() {
* @link https://tools.google.com/dlpage/gaoptout
*/
function optOutOfEventTracking() {
- page.on( 'load', () => {
+ page.on( 'domcontentloaded', () => {
page.evaluate( () => {
window._g... | 12 |
diff --git a/www/src/components/layer-model/layer-content-sections.js b/www/src/components/layer-model/layer-content-sections.js @@ -281,7 +281,7 @@ const ViewLayerContent = ({ index }) => (
<div>
<p>
React powers components in Gatsby sites that are{` `}
- <Link to="/docs/glossary#rehydrate"> rehydrated</Link>, whateve... | 14 |
diff --git a/articles/connections/social/microsoft-account.md b/articles/connections/social/microsoft-account.md @@ -101,5 +101,5 @@ If you see the **It Works!** page, you have successfully configured your connect
<%= include('../_quickstart-links.md') %>
::: panel-warning Single log out
-Microsoft connections does not... | 0 |
diff --git a/articles/tutorials/building-multi-tenant-saas-applications-with-azure-active-directory.md b/articles/tutorials/building-multi-tenant-saas-applications-with-azure-active-directory.md @@ -66,8 +66,6 @@ The SIGN-ON URL is the url of your application that users will see when adding t
The APP ID URI is the uniq... | 2 |
diff --git a/html/components/card.stories.js b/html/components/card.stories.js @@ -53,7 +53,8 @@ export const standout = () =>
class="
sprk-o-Stack__item
sprk-c-Card__content
- sprk-o-Stack sprk-o-Stack--medium
+ sprk-o-Stack
+ sprk-o-Stack--medium
"
>
Standout Card Content
@@ -138,7 +139,8 @@ export const teaser = () ... | 3 |
diff --git a/articles/compliance/gdpr/features-aiding-compliance/index.md b/articles/compliance/gdpr/features-aiding-compliance/index.md @@ -9,7 +9,10 @@ In this article, you will find a list of GDPR regulations and how Auth0 can help
## Conditions for consent
-According to Article 7 of GDPR, you must ask users to cons... | 14 |
diff --git a/src/screens/DateFilterScreen/DateRangePickerDay.js b/src/screens/DateFilterScreen/DateRangePickerDay.js @@ -38,7 +38,7 @@ type DayMarking = {
};
type DayProps = {
- state?: "disabled",
+ disabled: boolean,
marking: DayMarking,
date: CalendarDay,
onPress: Function,
@@ -81,19 +81,19 @@ const dotStyle = (mark... | 2 |
diff --git a/src/components/ProductDetailAddToCart/ProductDetailAddToCart.js b/src/components/ProductDetailAddToCart/ProductDetailAddToCart.js @@ -57,7 +57,7 @@ const styles = (theme) => ({
});
-@withStyles(styles, { withTheme: true })
+@withStyles(styles)
@inject("pdpStore")
@observer
export default class ProductDetai... | 2 |
diff --git a/config/redirects.js b/config/redirects.js @@ -2043,6 +2043,10 @@ module.exports = [
},
{ from: '/analytics/integrations/facebook-analytics', to: '/' },
{ from: '/analytics/integrations/google-analytics', to: '/' },
- { from: '/analytics/integrations', to: '/' }
+ { from: '/analytics/integrations', to: '/' ... | 1 |
diff --git a/assets/js/modules/analytics-4/utils/validation.js b/assets/js/modules/analytics-4/utils/validation.js @@ -113,8 +113,6 @@ export function isValidGoogleTagID( googleTagID ) {
/**
* Checks whether the given googleTagAccountID appears to be valid.
*
- * @alias module:tagmanager/utils/validation.isValidAccount... | 2 |
diff --git a/components/app/app.js b/components/app/app.js @@ -120,7 +120,7 @@ AppViewModel.prototype.showDialog = function(dialog) {
return dialog;
}));
}
-var gitSetUserConfig = function(bugTracking, sendUsageStatistics) {
+AppViewModel.prototype.gitSetUserConfig = function(bugTracking, sendUsageStatistics) {
var sel... | 1 |
diff --git a/cors-rules.js b/cors-rules.js @@ -2,13 +2,14 @@ const cors = require('cors')
const config = require('./config')
var allowed = ['https://app.lunie.io']
-if (config.env === 'development') {
- allowed.push('http://localhost:9080')
-}
var corsOptions = {
origin: function(origin, callback) {
- if (allowed.index... | 11 |
diff --git a/config/sidebar.yml b/config/sidebar.yml @@ -1078,9 +1078,6 @@ articles:
- title: "Private SaaS Management Workshop"
url: "/services/private-saas-management"
- - title: "Jumpstart"
- url: "/services/jumpstart"
-
apis:
- title: "Overview"
| 2 |
diff --git a/lib/runtime/plots.coffee b/lib/runtime/plots.coffee @@ -39,25 +39,28 @@ module.exports =
plotSize: ->
@ensureVisible().then => @pane.size()
- ploturl: (url) ->
+ webview: (url) ->
v = views.render webview
class: 'blinkjl',
disablewebsecurity: true,
+ nodeintegration: true,
src: url,
style: 'width: 100%; he... | 11 |
diff --git a/angular/projects/spark-angular/schematics/README.md b/angular/projects/spark-angular/schematics/README.md @@ -5,7 +5,7 @@ This is where we configure Angular CLI Schematics for Spark Design System.
## Utilize Schematics
```shell
-ng add @sparkdesignsystem/spark-design-system
+ng add @sparkdesignsystem/spark... | 4 |
diff --git a/README.md b/README.md @@ -115,8 +115,9 @@ connection.execute(
## Using connection pools
-Connection pools provide automatic ways of managing multiple connections. A pool maintains a queue of *free* connections, allowing the use of multiple connections in parallel.
+Connection pools help reduce the time spe... | 7 |
diff --git a/userscript.user.js b/userscript.user.js @@ -41029,7 +41029,7 @@ if (domain_nosub === "lystit.com" && domain.match(/cdn[a-z]?\.lystit\.com/)) {
if (popups.length === 0)
return;
- var style = popups[0].querySelector("img").style;
+ var style = popups[0].querySelector("img").parentElement.parentElement.style;... | 7 |
diff --git a/src/utils/conversationAndEmailHandler.js b/src/utils/conversationAndEmailHandler.js @@ -97,7 +97,7 @@ const handleMilestoneConversationAndEmail = () => async context => {
ARCHIVED,
} = MilestoneStatus;
const { status, _id, prevStatus, message, mined } = result;
- logger.info('sendNotification', {
+ logger.... | 10 |
diff --git a/ui/app/components/send/send.utils.js b/ui/app/components/send/send.utils.js @@ -163,20 +163,20 @@ function getGasFeeErrorObject ({
}) {
let gasFeeError = null
- if (gasTotal && conversionRate) {
- const insufficientFunds = !isBalanceSufficient({
- amount: '0',
- amountConversionRate,
- balance,
- conversio... | 8 |
diff --git a/packages/spark-core/spark-core.js b/packages/spark-core/spark-core.js @@ -14,6 +14,8 @@ import { pagination } from './components/pagination';
// Polyfills
import NodeListForEach from './utilities/polyfills/NodeListForEach';
+NodeListForEach();
+
// Init
requiredSelect();
requiredTick();
@@ -27,4 +29,3 @@ d... | 5 |
diff --git a/gulpfile.js b/gulpfile.js @@ -314,8 +314,6 @@ function formattingCheck(allItems) {
let data = item.data;
let pack = item.pack;
-
-
if(!data || !data.data || !data.type) {
continue; // Malformed data or journal entry - outside the scope of the formatting check
}
@@ -329,7 +327,6 @@ function formattingCheck(... | 2 |
diff --git a/index.js b/index.js @@ -36,17 +36,27 @@ const params = yargs
.usage('Usage: $0 <command> [options]')
.command('$0', 'Run BGPalerter (default)', function () {
- yargs.alias('c', 'config')
+ yargs
+ .alias('v', 'version')
+ .nargs('v', 0)
+ .describe('v', 'Show version number')
+
+ .alias('c', 'config')
.nar... | 10 |
diff --git a/app/tasks/usage.php b/app/tasks/usage.php @@ -83,7 +83,7 @@ $logError = function (Throwable $error, string $action = 'syncUsageStats') use (
$version = App::getEnv('_APP_VERSION', 'UNKNOWN');
$log = new Log();
- $log->setNamespace("realtime");
+ $log->setNamespace("usage");
$log->setServer(\gethostname());... | 12 |
diff --git a/README.md b/README.md @@ -30,52 +30,52 @@ GET https://api.spacexdata.com/v1/launches/latest
```json
{
- "flight_number": 44,
+ "flight_number": 45,
"launch_year": "2017",
- "launch_date_utc": "2017-07-05T23:35:00Z",
- "launch_date_local": "2017-07-05T19:35:00-04:00",
+ "launch_date_utc": "2017-08-14T16:31:... | 3 |
diff --git a/pages/11.searching/docs.md b/pages/11.searching/docs.md @@ -22,6 +22,11 @@ function matchCustom(params, data) {
return data;
}
+ // Do not display the item if there is no 'text' property
+ if (typeof data.text === 'undefined') {
+ return null;
+ }
+
// `params.term` should be the term that is used for sear... | 7 |
diff --git a/assets/js/modules/tagmanager/hooks/useGAPropertyIDEffect.test.js b/assets/js/modules/tagmanager/hooks/useGAPropertyIDEffect.test.js @@ -36,12 +36,12 @@ import useGAPropertyIDEffect from './useGAPropertyIDEffect';
describe( 'useGAPropertyIDEffect', () => {
let registry;
- describe( 'with empty tagmanager se... | 10 |
diff --git a/test/integration/cloud/object_store.js b/test/integration/cloud/object_store.js var { CloudContext } = require('./utils');
var randUserId = require('../utils/hooks').randUserId;
-describe('Object Store CRUD behaviours', () => {
+describe('Collection CRUD behaviours', () => {
let ctx = new CloudContext();
l... | 10 |
diff --git a/src/createReducer.js b/src/createReducer.js @@ -44,7 +44,7 @@ import type { Action, Structure } from './types.js.flow'
const shouldDelete = ({ getIn }) => (state, path) => {
let initialValuesPath = null
- if (path.startsWith('values')) {
+ if (/^values/.test(path)) {
initialValuesPath = path.replace('value... | 14 |
diff --git a/src/rapidoc.js b/src/rapidoc.js @@ -667,15 +667,24 @@ export default class RapiDoc extends LitElement {
}
`;
}
-
/* eslint-enable indent */
- observeExpandedContent(tryCount = 0) {
+ // Cleanup
+ disconnectedCallback() {
+ super.connectedCallback();
+ if (this.intersectionObserver) {
+ this.intersectionObs... | 7 |
diff --git a/metaverse-components.js b/metaverse-components.js import wear from './metaverse_components/wear.js';
-import npc from './metaverse_components/npc.js';
+// import npc from './metaverse_components/npc.js';
import pet from './metaverse_components/pet.js';
import drop from './metaverse_components/drop.js';
-im... | 2 |
diff --git a/docs/source/guides/core-concepts/cypress-in-a-nutshell.md b/docs/source/guides/core-concepts/cypress-in-a-nutshell.md @@ -396,7 +396,7 @@ it("changes the URL when 'awesome' is clicked", function() {
})
```
-Big difference! The Promise demonstration is not real code (so don't try it), but it shows the magni... | 0 |
diff --git a/src/encoded/tests/data/inserts/user.json b/src/encoded/tests/data/inserts/user.json "/labs/j-michael-cherry/"
],
"uuid": "56ad466b-8711-4b82-8f2c-8db3dc5862fd"
+ },
+ {
+ "email": "weiwei.zhong@stanford.edu",
+ "first_name": "Weiwei",
+ "groups": [
+ "admin"
+ ],
+ "job_title": "Data Wrangler",
+ "lab": "/... | 0 |
diff --git a/stories/module-analytics-settings.stories.js b/stories/module-analytics-settings.stories.js @@ -454,13 +454,6 @@ storiesOf( 'Analytics Module/Settings', module )
dispatch( MODULES_ANALYTICS ).receiveGetExistingTag(
existingTag.propertyID
);
- dispatch( MODULES_ANALYTICS ).receiveGetTagPermission(
- {
- acc... | 1 |
diff --git a/packages/idyll-compiler/src/grammar.ne b/packages/idyll-compiler/src/grammar.ne @@ -102,7 +102,7 @@ Paragraph -> (ParagraphItem __):* ParagraphItem {%
// children merge them to avoid issues with
// Equation and other components that
// consume their children programatically.
- children = children.reduce((a... | 2 |
diff --git a/examples/extended-item.json b/examples/extended-item.json "gsd": 0.66,
"eo:cloud_cover": 1.2,
"proj:epsg": 32659,
+ "proj:shape": [5558, 9559],
+ "proj:transform": [0.5, 0.0, 712710.0, 0.0, -0.5, 151406.0, 0.0, 0.0, 1.0],
"sat:orbit_state": "ascending",
"sat:relative_orbit": 34523,
"view:sun_elevation": 54... | 0 |
diff --git a/articles/rules/index.md b/articles/rules/index.md @@ -26,7 +26,9 @@ Among many possibilities, Rules can be used to:
* Enable counters or persist other information. (For information on storing user data, see: [Metadata in Rules](/rules/metadata-in-rules).)
* Enable __multifactor__ authentication, based on c... | 14 |
diff --git a/pages/overview.js b/pages/overview.js @@ -2,8 +2,8 @@ import React, { Component, Fragment } from 'react'
import { graphql, compose } from 'react-apollo'
import gql from 'graphql-tag'
import { withRouter } from 'next/router'
-
-import { nest } from 'd3-collection'
+import { max } from 'd3-array'
+import { t... | 14 |
diff --git a/src/react/projects/spark-react/src/SprkInput/SprkTextInput/components/SprkTextareaCheck.js b/src/react/projects/spark-react/src/SprkInput/SprkTextInput/components/SprkTextareaCheck.js @@ -51,7 +51,7 @@ class SprkTextareaCheck extends Component {
'sprk-b-TextInput--has-svg-icon':
type !== 'textarea' && lead... | 3 |
diff --git a/lib/api.js b/lib/api.js @@ -206,8 +206,8 @@ setTimeout(function() {
}, 500);
// Compile .scss files to .css
-var sass = require('node-sass');
-app.use(sass.middleware({
+var sassMiddleware = require('node-sass-middleware');
+app.use(sassMiddleware({
src: path.join(__dirname, '../public/angular/sass'),
dest... | 14 |
diff --git a/x/swingset/handler.go b/x/swingset/handler.go @@ -88,6 +88,10 @@ func handleMsgDeliverInbound(ctx sdk.Context, keeper Keeper, msg MsgDeliverInbou
}
storageHandler := NewStorageHandler(ctx, keeper)
+
+ // Allow the storageHandler to consume unlimited gas.
+ storageHandler.Context = storageHandler.Context.Wi... | 4 |
diff --git a/modules/xerte/parent_templates/Nottingham/models_html5/interactiveText.html b/modules/xerte/parent_templates/Nottingham/models_html5/interactiveText.html //If the type is Find(Mark at End), add a button to let the user finish up
if (intType=="find2"){
- $("<div id='buttonHolder'><button disabled id = markA... | 1 |
diff --git a/src/domain/navigation/index.js b/src/domain/navigation/index.js @@ -132,10 +132,12 @@ export function parseUrlPath(urlPath, currentNavPath, defaultSessionId) {
segments.push(roomsSegmentWithRoom(rooms, roomId, currentNavPath));
}
segments.push(new Segment("room", roomId));
- if (currentNavPath.get("details... | 7 |
diff --git a/README.md b/README.md @@ -49,7 +49,7 @@ Moleculer is a fast, modern and powerful microservices framework for [Node.js](h
- built-in caching solution (Memory, MemoryLRU, Redis)
- pluggable loggers (Console, File, Pino, Bunyan, Winston, Debug, Datadog, Log4js)
- pluggable transporters (TCP, NATS, MQTT, Redis... | 3 |
diff --git a/assets/js/components/dashboard-sharing/DashboardSharingSettingsButton.stories.js b/assets/js/components/dashboard-sharing/DashboardSharingSettingsButton.stories.js */
import DashboardSharingSettingsButton from './DashboardSharingSettingsButton';
-const Template = ( args ) => <DashboardSharingSettingsButton... | 2 |
diff --git a/articles/tutorials/generic-oauth2-connection-examples.md b/articles/tutorials/generic-oauth2-connection-examples.md @@ -204,20 +204,24 @@ After the call completes successfully, you will be able to login using these new
* [Create an application](https://www.tumblr.com/oauth/apps)
* Copy `OAuth Consumer Key`... | 0 |
diff --git a/embed.html b/embed.html @@ -152,8 +152,8 @@ body {
<div class="panel-body">
</div>
</div>
- <a class="link edit-link" target="_blank" data-i18n="[title]wdqs-embed-button-edit-query-title"><small data-i18n="wdqs-embed-button-edit-query"></small></a>
- <a href="#" class="edit edit-link" data-toggle="popover"... | 9 |
diff --git a/SuspiciousVotingHelper.user.js b/SuspiciousVotingHelper.user.js // @description Assists in building suspicious votes CM messages. Highlight same users across IPxref table.
// @homepage https://github.com/samliew/SO-mod-userscripts
// @author @samliew
-// @version 1.0.2
+// @version 1.0.3
//
// @include htt... | 7 |
diff --git a/src/components/navigation/navigation.scss b/src/components/navigation/navigation.scss @each $navColorName, $navColorValue in $colors {
.swiper-button-prev,
.swiper-button-next {
- &.swiper-button-#{$navColorName} {
- --swiper-navigation-color: #{$navColorValue};
+ &.swiper-button-#{'' + $navColorName} {
+ ... | 1 |
diff --git a/src/system/timer.js b/src/system/timer.js @@ -14,14 +14,12 @@ class Timer {
/**
* Last game tick value.<br/>
* Use this value to scale velocities during frame drops due to slow
- * hardware or when setting an FPS limit. (See {@link timer.maxfps})
- * This feature is disabled by default. Enable me.timer.int... | 1 |
diff --git a/configs/bootstrap.json b/configs/bootstrap.json {
"url": "https://getbootstrap.com/docs/4.0/",
"extra_attributes": {
- "language": [
- "en"
- ],
- "version": [
- "4.0"
- ]
+ "language": ["en"],
+ "version": ["4.0"]
}
},
{
"url": "https://getbootstrap.com/docs/4.1/",
"extra_attributes": {
- "language": [
- ... | 6 |
diff --git a/packages/react-static-plugin-sass/src/node.api.js b/packages/react-static-plugin-sass/src/node.api.js @@ -75,6 +75,10 @@ export default ({ includePaths = [], ...rest }) => ({
use: loaders,
})
+ if (config.optimization.splitChunks.cacheGroups.styles) {
+ config.optimization.splitChunks.cacheGroups.styles.te... | 1 |
diff --git a/vis/js/templates/Paper.jsx b/vis/js/templates/Paper.jsx @@ -266,9 +266,7 @@ class Paper extends React.Component {
el.transition(this.props.animation.transition)
.attr("d", path)
- .on("end", () => {
- this.setState({ ...this.state, path: path });
- });
+ .on("end", () => this.setState({ ...this.state, path... | 1 |
diff --git a/Gruntfile.js b/Gruntfile.js 'use strict';
module.exports = function(grunt) {
+ let isTravisCi = (process.env.TRAVIS === 'true');
var jsConnectorFiles = ['connectors/v2/*.js'];
var jsCoreFiles = ['Gruntfile.js', 'core/**/*.js', 'options/options.js', 'popups/*.js'];
@@ -60,7 +61,8 @@ module.exports = functio... | 11 |
diff --git a/docs/api/Settings.md b/docs/api/Settings.md @@ -146,7 +146,7 @@ Return the value of a variable which is persisted when the plugin finishes to ru
The setting that was stored for the given key. `undefined` if there was nothing.
-## Set a plugin setting
+## Set a session variable
```js
Settings.setSessionVari... | 1 |
diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb @@ -39,7 +39,7 @@ class Admin::UsersController < Admin::AdminController
PASSWORD_DOES_NOT_MATCH_MESSAGE = 'Password does not match'
def profile
- return render(file: "public/static/profile/index.html", layout: false) if c... | 14 |
diff --git a/articles/tokens/access-token.md b/articles/tokens/access-token.md @@ -21,6 +21,10 @@ The [Auth0 Management API v1](/api/management/v1) (which has been deprecated) us
Access tokens are issued via Auth0's OAuth 2.0 endpoints: [/authorize](/api/authentication#authorize-client) and [/oauth/token](/api/authenti... | 0 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -73,17 +73,6 @@ jobs:
yarn ganache > /dev/null &
cd source/indexer && yarn test
- index_tests:
- <<: *container_config
- steps:
- - attach_workspace:
- at: *working_directory
- - run:
- name: Run Tests
- command: |
- yarn ganache > /dev/null &
- cd source/inde... | 2 |
diff --git a/History.md b/History.md * Fixes giving `breakWith` option via a string.
-[4.2.0 / 2018-08-02](https://github.com/jakubpawlowicz/clean-css/compare/4.1...4.2.0)
+[4.2.0 / 2018-08-02](https://github.com/jakubpawlowicz/clean-css/compare/4.1...v4.2.0)
==================
* Adds `process` method for compatibility... | 1 |
diff --git a/publish/src/commands/deploy.js b/publish/src/commands/deploy.js @@ -537,7 +537,7 @@ const deploy = async ({
}
// setup exchange gasPriceLimit on Synthetix
- const gasPriceLimit = w3utils.toWei('35');
+ const gasPriceLimit = w3utils.toWei('35', 'gwei');
if (network === 'local') {
await runStep({
contract: '... | 3 |
diff --git a/packages/@uppy/companion/README.md b/packages/@uppy/companion/README.md @@ -95,5 +95,36 @@ When you are all set install the dependencies and deploy your function:
npm install && sls deploy
```
+### Deploy to heroku
+
+Companion can also be deployed to [Heroku](https://www.heroku.com)
+```
+mkdir uppy-compa... | 0 |
diff --git a/edit.js b/edit.js @@ -932,13 +932,31 @@ const [
noInitialRun: true,
noExitRuntime: true,
onRuntimeInitialized() {
- console.log('geometry module', this);
threadPool = this._makeThreadPool(2);
moduleInstance = this;
- modulePromise.accept(this);
+ modulePromise.accept();
},
});
+ class Allocator {
+ constru... | 0 |
diff --git a/src/js/services/correspondentListService.js b/src/js/services/correspondentListService.js @@ -235,7 +235,7 @@ angular.module('copayApp.services').factory('correspondentListService', function
}
function escapeQuotes(text){
- return text.replace(/(['\\])/g, "\\$1").replace(/"/, """);
+ return text.repla... | 14 |
diff --git a/server/models/community.js b/server/models/community.js @@ -310,7 +310,6 @@ const editCommunity = ({
if (file || coverFile) {
if (file && !coverFile) {
- const { coverPhoto } = getRandomDefaultPhoto();
return uploadImage(
file,
'communities',
@@ -325,7 +324,6 @@ const editCommunity = ({
{
...community,
pro... | 1 |
diff --git a/public/templates/sovereign/extra.css b/public/templates/sovereign/extra.css @@ -22,18 +22,9 @@ input:-webkit-autofill:active {
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
transition: #442f58 5000s ease-in-out 0s;
- -webkit-text-fill-color: #5a0075 !important;
- -webkit-box-shadow: 0 0 0px... | 13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.