微调,改界面文字

This commit is contained in:
Zhicheng Wang 2016-07-07 08:33:14 +08:00
parent 6264d3bcde
commit 6975026f0c
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ angularIO.directive('liveExample', ['$location', function ($location) {
// The hosted example and sources are in different locations for Dart.
// Also show link to sources for Dart, unless noSource is specified.
if (isForDart && !attrs.hasOwnProperty('nosource')) {
var srcText = attrs.srcText || 'view source';
var srcText = attrs.srcText || '查看源码';
var srcHref = 'http://github.com/angular-examples/' + ex;
template = span(template + ' (' + a(srcText, { href: srcHref, target: '_blank' }) + ')');
}