zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject incubator-zeppelin git commit: Zeppelin-web-docs] angular (beta) description fix
Date Thu, 12 Nov 2015 10:56:49 GMT
Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master 76cdcd8cd -> c877cd9d0


Zeppelin-web-docs] angular (beta) description fix

Modify the incorrect description of the angular parts of the document unbind.

original
```
// bind my 'object' as angular scope variable 'name' in current notebook.
z.angularBind(String name, Object object)

// bind my 'object' as angular scope variable 'name' in all notebooks related to current interpreter.
z.angularBindGlobal(String name, Object object)

// unbind angular scope variable 'name' in current notebook.
z.angularBind(String name)

// unbind angular scope variable 'name' in all notebooks related to current interpreter.
z.angularBindGlobal(String name)
In the example, let's bind "world" variable 'name'. Then you can see AngularJs view are updated
immediately.
```

fix
```
// bind my 'object' as angular scope variable 'name' in current notebook.
z.angularBind(String name, Object object)

// bind my 'object' as angular scope variable 'name' in all notebooks related to current interpreter.
z.angularBindGlobal(String name, Object object)

// unbind angular scope variable 'name' in current notebook.
z.angularUnbind(String name)

// unbind angular scope variable 'name' in all notebooks related to current interpreter.
z.angularUnbindGlobal(String name)
In the example, let's bind "world" variable 'name'. Then you can see AngularJs view are updated
immediately.

```

unbind description
**angularBind -> angularUnbind**
global unbind description
**angularBindGlobal -> angularUnbindGlobal**

Author: Chae-Sung Lim <estail7s@gmail.com>

Closes #421 from cloverhearts/modify_docs/angularbinddocs_fix and squashes the following commits:

6dabd02 [Chae-Sung Lim] Zeppelin document , Angular (beta) part : modified unbind context


Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/c877cd9d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/c877cd9d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/c877cd9d

Branch: refs/heads/master
Commit: c877cd9d0d1e53a347c90acec249f0c6a2ae4196
Parents: 76cdcd8
Author: Chae-Sung Lim <estail7s@gmail.com>
Authored: Thu Nov 12 11:47:45 2015 +0900
Committer: Lee moon soo <moon@apache.org>
Committed: Thu Nov 12 19:56:59 2015 +0900

----------------------------------------------------------------------
 docs/docs/displaysystem/angular.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/c877cd9d/docs/docs/displaysystem/angular.md
----------------------------------------------------------------------
diff --git a/docs/docs/displaysystem/angular.md b/docs/docs/displaysystem/angular.md
index 8471e3e..c0ea196 100644
--- a/docs/docs/displaysystem/angular.md
+++ b/docs/docs/displaysystem/angular.md
@@ -40,10 +40,10 @@ z.angularBind(String name, Object object)
 z.angularBindGlobal(String name, Object object)
 
 // unbind angular scope variable 'name' in current notebook.
-z.angularBind(String name)
+z.angularUnbind(String name)
 
 // unbind angular scope variable 'name' in all notebooks related to current interpreter.
-z.angularBindGlobal(String name)
+z.angularUnbindGlobal(String name)
 
 ```
 


Mime
View raw message