mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 15:54:42 +00:00
fix(docs): disable appcache - causing too much trouble
This commit is contained in:
parent
fcf95a47d1
commit
22309c312f
2 changed files with 3 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ function writeTheRest(writesFuture) {
|
||||||
var manifest = 'manifest="/build/docs/appcache.manifest"';
|
var manifest = 'manifest="/build/docs/appcache.manifest"';
|
||||||
|
|
||||||
writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index.html',
|
writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index.html',
|
||||||
writer.replace, {'doc:manifest': manifest}));
|
writer.replace, {'doc:manifest': ''})); //manifest //TODO(i): enable
|
||||||
|
|
||||||
writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index-nocache.html',
|
writesFuture.push(writer.copy('docs/src/templates/index.html', 'build/docs/index-nocache.html',
|
||||||
writer.replace, {'doc:manifest': ''}));
|
writer.replace, {'doc:manifest': ''}));
|
||||||
|
|
|
||||||
|
|
@ -131,8 +131,10 @@
|
||||||
ng:href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md#{{versionNumber}}"
|
ng:href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md#{{versionNumber}}"
|
||||||
ng:bind-template="v{{version}}">
|
ng:bind-template="v{{version}}">
|
||||||
</a>
|
</a>
|
||||||
|
<!-- TODO(i): enable
|
||||||
<a ng:hide="offlineEnabled" ng:click ="subpage = true">(enable offline support)</a>
|
<a ng:hide="offlineEnabled" ng:click ="subpage = true">(enable offline support)</a>
|
||||||
<span ng:show="offlineEnabled">(offline support enabled)</span>
|
<span ng:show="offlineEnabled">(offline support enabled)</span>
|
||||||
|
-->
|
||||||
<span id="copyright">© 2010-2012 AngularJS</span>
|
<span id="copyright">© 2010-2012 AngularJS</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue