Browse Source

Add links to security model

Steven Silvester 9 years ago
parent
commit
7e249f665a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/notebook/cells/model.ts

+ 6 - 0
src/notebook/cells/model.ts

@@ -97,6 +97,8 @@ interface IBaseCellModel {
 
   /**
    * Whether the cell is trusted.
+   *
+   * See http://jupyter-notebook.readthedocs.org/en/latest/security.html.
    */
   trusted: boolean;
 
@@ -267,6 +269,8 @@ class BaseCellModel implements IBaseCellModel {
 
   /**
    * The trusted state of the cell.
+   *
+   * See http://jupyter-notebook.readthedocs.org/en/latest/security.html.
    */
   get trusted(): boolean {
     return CellModelPrivate.trustedProperty.get(this);
@@ -359,6 +363,8 @@ class CodeCellModel extends BaseCellModel implements ICodeCellModel {
 
   /**
    * Set the trusted state of the model.
+   *
+   * See http://jupyter-notebook.readthedocs.org/en/latest/security.html.
    */
   set trusted(value: boolean) {
     CellModelPrivate.trustedProperty.set(this, value);