소스 검색

Add links to security model

Steven Silvester 9 년 전
부모
커밋
7e249f665a
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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);