This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {AreaChart, Area, XAxis, YAxis, CartesianGrid, Tooltip} = Recharts; | |
const data = [ | |
{wangs: 1.0, uv: 3}, | |
{wangs: 1.9999999999999, uv: 3}, | |
{wangs: 2.0, uv: 4}, | |
{wangs: 2.99999, uv: 4}, | |
{wangs: 3.0, uv: 2}, | |
{wangs: 3.99999, uv: 2}, | |
{wangs: 4.0, uv: 5}, | |
{wangs: 5.0, uv: 6}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" standalone="yes"?> | |
<?xml-stylesheet href="x2script.xsl" type="text/xsl"?> | |
<!-- Generated using X-Studio --> | |
<script> | |
<name>Cmd.DockAgent</name> | |
<version>308</version> | |
<engineversion>50</engineversion> | |
<description>Cmd: Manages a Sanctuary or a Dock by acquiring or distributing wares.</description> | |
<arguments /> | |
<sourcetext> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* This command frequently resets itself (gosub Reboot:) to avoid the DA getting stuck. | |
set script command: [COMMAND_DOCK_AGENT] | |
skip if [HOMEBASE]-> exists | |
return null | |
$scriptName = get script name | |
= [THIS]-> call script 'Lib.Gen.SetEIAutoStartParameters' : Args=null ScriptName=$scriptName | |
[THIS]-> connect ship command/signal [SIGNAL_ATTACKED] to script 'Sig.Attacked.DockAgent' with prio 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
** | |
** Copyright (C) 2016 The Qt Company Ltd. | |
** Contact: https://www.qt.io/licensing/ | |
** | |
** This file is part of the examples of the Qt Toolkit. | |
** | |
** $QT_BEGIN_LICENSE:BSD$ | |
** Commercial License Usage | |
** Licensees holding valid commercial Qt licenses may use this file in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { Map, TileLayer, Circle, FeatureGroup } from 'react-leaflet'; | |
import { EditControl } from '../src'; | |
let polyline; | |
const subs = [ 'a', 'b', 'c', 'd' ]; | |
export default class EditControlExample extends Component { | |
constructor(props) { | |
super(props); |
NewerOlder