You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by iampeter <gi...@git.apache.org> on 2016/11/11 21:06:48 UTC
[GitHub] flink pull request #2467: [FLINK-3719][web frontend] Moving the barrier betw...
Github user iampeter commented on a diff in the pull request:
https://github.com/apache/flink/pull/2467#discussion_r87658530
--- Diff: flink-runtime-web/web-dashboard/app/scripts/modules/jobs/jobs.dir.coffee ---
@@ -168,14 +168,15 @@ angular.module('flinkApp')
return
# ----------------------------------------------
-.directive 'split', () ->
- compile: jQuery () ->
- Split(['#canvas', '#job-panel'], (
- sizes: [50, 50]
- direction: 'vertical'
- ))
-
- return
+.directive 'split', () ->
+ return compile: (tElem, tAttrs) ->
+ getId = (elem) -> "#" + elem.id
+ id1 = getId tElem.children().get(0)
+ id2 = getId tElem.children().get(1)
+ Split([id1, id2], (
--- End diff --
I think that since Split.js accepts HTML elements, we could just write:
```
compile: (tElem, tAttrs) ->
Split(tElem.children(), (
...
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---