Guest User

Untitled

a guest
Oct 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1.  
  2. Ext.Array,each(views, function(view) {
  3. var viewStore = view.store;
  4. var matchedStore = 0;
  5. Ext.Array.each(views, function(mview) {
  6. if(mview.store === view.store) {
  7. matchedStore ++;
  8. }
  9. });
  10. if(matchedStore > 1) {
  11. alert("shit");
  12. }
  13. }
Add Comment
Please, Sign In to add comment