Upgrade to angularjs 1.2.0 rc1

This commit is contained in:
Colin Frei 2013-08-21 19:46:51 +02:00
parent d223dfd662
commit d6b021bfaf
674 changed files with 79667 additions and 62269 deletions

51
lib/angular/docs/partials/api/ng.$log.html Normal file → Executable file
View file

@ -1,40 +1,46 @@
<h1><code ng:non-bindable="">$log</code>
<span class="hint">(service in module <code ng:non-bindable="">ng</code>
)</span>
<a href="http://github.com/angular/angular.js/tree/v1.2.0rc1/src/ng/log.js#L3" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ng/log.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">$log</code>
<div><span class="hint">service in module <code ng:non-bindable="">ng</code>
</span>
</div>
</h1>
<div><a href="http://github.com/angular/angular.js/edit/master/src/ng/log.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Simple service for logging. Default implementation writes the message
into the browser's console (if present).</p>
<p>The main purpose of this service is to simplify debugging and troubleshooting.</p></div>
<div><h2 id="Description">Description</h2>
<div class="description"><div class="ng-log-page"><p>Simple service for logging. Default implementation writes the message
into the browser&#39;s console (if present).</p>
<p>The main purpose of this service is to simplify debugging and troubleshooting.</p>
</div></div>
<h2 id="Dependencies">Dependencies</h2>
<ul class="dependencies"><li><code ng:non-bindable=""><a href="api/ng.$window">$window</a></code>
<ul class="dependencies"><li><code ng:non-bindable=""><a href="../../../../../index.htmlndow">$window</a></code>
</li>
</ul>
<div class="member method"><h2 id="Methods">Methods</h2>
<ul class="methods"><li><h3 id="debug">debug()</h3>
<div class="debug"><p>Write a debug message</p></div>
<div class="debug"><div class="ng-log-debug-page"><p>Write a debug message</p>
</div></div>
</li>
<li><h3 id="error">error()</h3>
<div class="error"><p>Write an error message</p></div>
<div class="error"><div class="ng-log-error-page"><p>Write an error message</p>
</div></div>
</li>
<li><h3 id="info">info()</h3>
<div class="info"><p>Write an information message</p></div>
<div class="info"><div class="ng-log-info-page"><p>Write an information message</p>
</div></div>
</li>
<li><h3 id="log">log()</h3>
<div class="log"><p>Write a log message</p></div>
<div class="log"><div class="ng-log-log-page"><p>Write a log message</p>
</div></div>
</li>
<li><h3 id="warn">warn()</h3>
<div class="warn"><p>Write a warning message</p></div>
<div class="warn"><div class="ng-log-warn-page"><p>Write a warning message</p>
</div></div>
</li>
</ul>
</div>
<h2 id="Example">Example</h2>
<div class="example"><h4>Source</h4>
<div source-edit="" source-edit-deps="angular.js script.js" source-edit-html="index.html-214" source-edit-css="" source-edit-js="script.js-213" source-edit-unit="" source-edit-scenario=""></div>
<div class="example"><div class="ng-log-page"><h4>Source</h2>
<div source-edit="" source-edit-deps="angular.js script.js" source-edit-html="index.html-132" source-edit-css="" source-edit-js="script.js-131" source-edit-json="" source-edit-unit="" source-edit-scenario=""></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-214" ng-html-wrap=" angular.js script.js"></pre>
<script type="text/ng-template" id="index.html-214">
<pre class="prettyprint linenums" ng-set-text="index.html-132" ng-html-wrap=" angular.js script.js"></pre>
<script type="text/ng-template" id="index.html-132">
<div ng-controller="LogCtrl">
<p>Reload this page with open console, enter text and hit the log button...</p>
Message:
@ -47,14 +53,15 @@ into the browser's console (if present).</p>
</script>
</div>
<div class="tab-pane" title="script.js">
<pre class="prettyprint linenums" ng-set-text="script.js-213"></pre>
<script type="text/ng-template" id="script.js-213">
<pre class="prettyprint linenums" ng-set-text="script.js-131"></pre>
<script type="text/ng-template" id="script.js-131">
function LogCtrl($scope, $log) {
$scope.$log = $log;
$scope.message = 'Hello World!';
}
</script>
</div>
</div><h4>Demo</h4>
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-214" ng-eval-javascript="script.js-213"></div></div>
</div><h2>Demo</h4>
<div class="well doc-example-live animate-container" ng-embed-app="" ng-set-html="index.html-132" ng-eval-javascript="script.js-131"></div>
</div></div>
</div>