core.js: Documenting the crash event on runtime with @event
Also loading fonts from https
Change-Id: I9fff486f309b10c0a87ccc7b935bf2e2eec41943
diff --git a/jsdocs/docstrap-template/compiled/site.vanadium.css b/jsdocs/docstrap-template/compiled/site.vanadium.css
index cbfe468..b82562c 100755
--- a/jsdocs/docstrap-template/compiled/site.vanadium.css
+++ b/jsdocs/docstrap-template/compiled/site.vanadium.css
@@ -2,7 +2,7 @@
/* Use of this source code is governed by a BSD-style */
/* license that can be found in the LICENSE file. */
-@import url(http://fonts.googleapis.com/css?family=Roboto);
+@import url(https://fonts.googleapis.com/css?family=Roboto);
/*!
* Bootstrap v2.3.2
*
diff --git a/jsdocs/docstrap-template/styles/bootswatch.less b/jsdocs/docstrap-template/styles/bootswatch.less
index 78b763b..bdde85d 100644
--- a/jsdocs/docstrap-template/styles/bootswatch.less
+++ b/jsdocs/docstrap-template/styles/bootswatch.less
@@ -6,7 +6,7 @@
// TYPOGRAPHY
// -----------------------------------------------------
-@import url(http://fonts.googleapis.com/css?family=Roboto);
+@import url(https://fonts.googleapis.com/css?family=Roboto);
body {
font-weight: 300;
diff --git a/src/runtime/index.js b/src/runtime/index.js
index ca6b0a8..8f4a379 100644
--- a/src/runtime/index.js
+++ b/src/runtime/index.js
@@ -70,6 +70,13 @@
}
/**
+ * Crash event.
+ * <p>Emitted when the runtime crashes in an unexpected way. Recovery from
+ * crash event requires restarting the application.<p>
+ * @event module:vanadium~Runtime#crash
+ */
+
+/**
* @summary
* Runtime exposes entry points to create servers, client, namespace client and
* other Vanadium functionality.
@@ -77,12 +84,10 @@
* <p>This constructor should not be used directly, instead use
* [vanadium.init]{@link module:vanadium.init}</p>
*
- * <p>Runtime is also an EventEmitter:</p>
- * <p>
- * Event: 'crash':
- * Emitted when the runtime crashes in an unexpected way. Recovery from
- * crash event requires restarting the application.
- * </p>
+ * <p>Runtime is also an EventEmitter and emits
+ * [crash event]{@link module:vanadium~Runtime#event:crash} when it crashes in
+ * an unexpected way.</p>
+ *
* @property {string} accountName The accountName that the user associated to
* this runtime.
* @property {module:vanadium.security~Principal} principal The principal