daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. store.each(function(rec) {
  2.     var layers = [];
  3.  
  4.     var node = LayerTree.root.findChild('text', rec.text, true);
  5.     if (node === null) {
  6.         layers.push(
  7.             new Ext.tree.TreeNode({
  8.                 text: rec.data.abstract,
  9.                 layer: rec.data.abstract,
  10.                 leaf: true,
  11.                 checked: true
  12.             })
  13.         );
  14.     }
  15.    
  16.     LayerTree.root.appendChild(layers);
  17. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top