|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
<div bat-vertical-split ng-controller="ModelCtrl">
|
|
|
|
|
|
|
|
|
|
<div bat-vertical-left>
|
|
|
|
|
<h2>Scopes</h2>
|
|
|
|
|
<div bat-vertical-left class="source-code">
|
|
|
|
|
<div ng-show="roots().length > 1">
|
|
|
|
|
<label for="select-root">Root
|
|
|
|
|
<select
|
|
|
|
@ -9,154 +8,31 @@
|
|
|
|
|
ng-model="selectedRoot"></select>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<pre>
|
|
|
|
|
<bat-scope-tree
|
|
|
|
|
val="scopeTree()"
|
|
|
|
|
inspect="inspect"
|
|
|
|
|
select="select"
|
|
|
|
|
selected-scope="selectedScope"
|
|
|
|
|
edit="edit"></bat-scope-tree>
|
|
|
|
|
</pre>
|
|
|
|
|
<bat-scope-tree
|
|
|
|
|
class=""
|
|
|
|
|
val="scopeTree()"
|
|
|
|
|
inspect="inspect"
|
|
|
|
|
select="select"
|
|
|
|
|
selected-scope-id="selectedScopeId"
|
|
|
|
|
edit="edit"></bat-scope-tree>
|
|
|
|
|
|
|
|
|
|
<div class="span6">
|
|
|
|
|
<button class="btn" ng-click="enableInspector()">Enable Inspector</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="source-code">
|
|
|
|
|
<ol class="elements-tree-outline">
|
|
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-doctype"><!DOCTYPE html></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-comment"><!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 ng-app: docsApp;" lang="en" ng-controller="DocsController"> <![endif]--></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-comment"><!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ng-app: docsApp;" lang="en" ng-controller="DocsController"> <![endif]--></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-comment"><!--[if IE 8]> <html class="no-js lt-ie9 ng-app: docsApp;" lang="en" ng-controller="DocsController"> <![endif]--></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-comment"><!--[if gt IE 8]><!--></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="parent expanded">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">html</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">no-js ng-app: docsApp; ng-scope</span>"</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">lang</span>="<span class="webkit-html-attribute-value">en</span>"</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">ng-controller</span>="<span class="webkit-html-attribute-value">DocsController</span>"</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<ol class="children expanded">
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-comment"><!--<![endif]--></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="parent">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">head</span>></span><span class="webkit-html-text-node bogus">…</span><span class="webkit-html-tag"><<span>/head</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="parent expanded">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">body</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<ol class="children expanded">
|
|
|
|
|
<li class="parent expanded">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">header</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">header</span>"</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<ol class="children expanded">
|
|
|
|
|
<li class="parent">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">navbar navbar-fixed-top</span>"</span>></span><span class="webkit-html-text-node bogus">…</span><span class="webkit-html-tag"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag close"><<span>/header</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
</ol>
|
|
|
|
|
<li class="parent expanded">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">role</span>="<span class="webkit-html-attribute-value">main</span>"</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">container</span>"</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<ol class="children expanded">
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">row clear-navbar</span>"</span>></span><span class="webkit-html-tag"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="parent selected">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">row</span>"</span>></span><span class="webkit-html-text-node bogus">…</span><span class="webkit-html-tag"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<ol class="children">
|
|
|
|
|
<li class="parent">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">span12</span>"</span>></span><span class="webkit-html-text-node bogus">…</span><span class="webkit-html-tag"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<ol class="children">
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-comment"><!--[if lt IE 7]>
|
|
|
|
|
<p class="alert alert-error">Your browser is <em>ancient!</em>
|
|
|
|
|
<a href="http://browsehappy.com/">Upgrade to a different browser</a> or
|
|
|
|
|
<a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to
|
|
|
|
|
experience this site.
|
|
|
|
|
</p>
|
|
|
|
|
<![endif]--></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-comment"><!--[if lt IE 9]>
|
|
|
|
|
<div class="alert">
|
|
|
|
|
You are using an old version of Internet Explorer.
|
|
|
|
|
For better and safer browsing experience please <a href="http://www.microsoft.com/IE9">upgrade IE</a>
|
|
|
|
|
or install <a href="http://google.com/chrome">Google Chrome browser</a>.
|
|
|
|
|
</div>
|
|
|
|
|
<![endif]--></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag close"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
</ol>
|
|
|
|
|
<li><span class="highlight"><span class="webkit-html-tag close"><<span>/div</span>></span></span></li>
|
|
|
|
|
</ol>
|
|
|
|
|
<li class="parent">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">row</span>"</span>></span><span class="webkit-html-text-node bogus">…</span><span class="webkit-html-tag"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag close"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
</ol>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">id</span>="<span class="webkit-html-attribute-value">fader</span>"</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">ng-show</span>="<span class="webkit-html-attribute-value">subpage</span>"</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">style</span>="<span class="webkit-html-attribute-value">display: none;</span>"</span>></span><span class="webkit-html-tag"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="parent">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">id</span>="<span class="webkit-html-attribute-value">subpage</span>"</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">ng-show</span>="<span class="webkit-html-attribute-value">subpage</span>"</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">style</span>="<span class="webkit-html-attribute-value">display: none;</span>"</span>></span><span class="webkit-html-text-node bogus">…</span><span class="webkit-html-tag"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="parent">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">footer</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">class</span>="<span class="webkit-html-attribute-value">footer</span>"</span>></span><span class="webkit-html-text-node bogus">…</span><span class="webkit-html-tag"><<span>/footer</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="parent">
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag"><<span class="webkit-html-tag-name">div</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">id</span>="<span class="webkit-html-attribute-value">__ngDebugElement</span>"</span> <span class="webkit-html-attribute"><span class="webkit-html-attribute-name">style</span>="<span class="webkit-html-attribute-value">display: none;</span>"</span>></span><span class="webkit-html-text-node bogus">…</span><span class="webkit-html-tag"><<span>/div</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<span class="highlight"><span class="webkit-html-tag close"><<span>/body</span>></span></span>
|
|
|
|
|
</li>
|
|
|
|
|
</ol>
|
|
|
|
|
<li><span class="highlight"><span class="webkit-html-tag close"><<span>/html</span>></span></span></li>
|
|
|
|
|
</ol>
|
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div bat-vertical-right>
|
|
|
|
|
<div class="sidebar-pane-stack fill visible">
|
|
|
|
|
|
|
|
|
|
<!-- not sure about this -->
|
|
|
|
|
<div class="sidebar-pane-title">Computed Style
|
|
|
|
|
<div class="sidebar-pane-toolbar">
|
|
|
|
|
<label class="sidebar-pane-subtitle">
|
|
|
|
|
<input type="checkbox">Show inherited
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="sidebar-pane-title">Models</div>
|
|
|
|
|
<div class="sidebar-pane-title"
|
|
|
|
|
ng-class="{expanded: selectedScopeId && modelsExpanded}"
|
|
|
|
|
ng-click="modelsExpanded = !modelsExpanded">Models</div>
|
|
|
|
|
|
|
|
|
|
<div class="sidebar-pane visible">
|
|
|
|
|
<div class="sidebar-pane visible" ng-show="modelsExpanded">
|
|
|
|
|
<div class="body">
|
|
|
|
|
<div class="section expanded">
|
|
|
|
|
<div ng-repeat="(key, val) in watching">
|
|
|
|
|
<h2>{{key}}</h2>
|
|
|
|
|
<bat-json-tree
|
|
|
|
|
val="val"
|
|
|
|
|
scope-id="key"
|
|
|
|
@ -166,6 +42,20 @@ or install <a href="http://google.com/chrome">Google Chrome browser</a&
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="sidebar-pane-title"
|
|
|
|
|
ng-class="{expanded: selectedScopeId && watchExpanded && watchers}"
|
|
|
|
|
ng-click="watchExpanded = !watchExpanded">Watchers</div>
|
|
|
|
|
|
|
|
|
|
<div class="sidebar-pane visible" ng-show="watchExpanded">
|
|
|
|
|
<div class="body">
|
|
|
|
|
<div class="section expanded">
|
|
|
|
|
<div class="watcher-list">
|
|
|
|
|
<li ng-repeat="watcher in watchers">{{watcher}}</li>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|