1.0.4 • Published 8 years ago

lemon-probe-extension-project v1.0.4

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
8 years ago

lemon-probe-extension-project

This project is used together with probe-core & cloud-core.

Install

Probe.html

<!DOCTYPE html>
<html ng-app="probe">
<head>

<!-- Suggest to use 'utf-8' -->
	<meta charset="utf-8" />
	<title>[Any]</title>

<!-- All script can be from relative/absolute url or inline JavaScript -->

<!-- Some config items in window.config, must in the first. -->
	<script src="./config.js"></script>

<!-- Load the probe-core. -->
	<script src="[path/lemon-probe-core.js]"></script>

<!-- other extensions -->
	<script src="[lemon-probe-extension-project.js]"></script>

</head><body></body></html>

Use NPM:

npm install --save-dev lemon-probe-extension-project

<script src="./node_modules/lemon-probe-extension-project/dist/lemon-probe-extension-project.js"></script>

config.js

Here to provide a configuration template.

var config = {
    api: {
        // if use public service "//probe2.lemonce.net"
        domain: '[cloud-core server]',

        // If probe work in http protocol
        HttpPort: '81',

        // If probe work in https protocol
        HttpsPort: '443',

        // If your service has custom pathname.
        pathname: 'probe/'
    },
    language: 'en_US'
};

If you use the public service from offical, Lemonce

var config = {
    api: {
        domain: '//probe2.lemonce.net',
        HttpPort: '81',
        HttpsPort: '443',
        pathname: 'probe/'
    },
    language: 'en_US'
};

Effection

  • Override the core.ide.case.open.
  • Override the core.ide.case.save.
  • Add "Open - Case" dialog.
  • Probe would crash if can not be authed by cloud-core.
  • Use location hash to transmit porbe & tokon for auth.
  • Use location hash(caseId) for quick open a case from cloud-core.
1.0.4

8 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago