微调,改界面文字
This commit is contained in:
parent
6264d3bcde
commit
6975026f0c
|
@ -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' }) + ')');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue