зеркало из https://github.com/mozilla/popcorn-js.git
[#568] stable target names in manifest
This commit is contained in:
Родитель
29402e7d18
Коммит
7d635d2666
|
@ -159,7 +159,7 @@
|
|||
tags : {elem:'input', type:'text', label:'Tags'},
|
||||
username : {elem:'input', type:'text', label:'Username'},
|
||||
apikey : {elem:'input', type:'text', label:'Api_key'},
|
||||
target : 'Flickr-container',
|
||||
target : 'flickr-container',
|
||||
height : {elem:'input', type:'text', label:'Height'},
|
||||
width : {elem:'input', type:'text', label:'Width'},
|
||||
padding : {elem:'input', type:'text', label:'Padding'},
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
type: "text",
|
||||
label: "Link URL"
|
||||
},
|
||||
target: "Image-container",
|
||||
target: "image-container",
|
||||
src: {
|
||||
elem: "input",
|
||||
type: "text",
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
options:{
|
||||
start : {elem:'input', type:'text', label:'In'},
|
||||
end : {elem:'input', type:'text', label:'Out'},
|
||||
target : 'Subtitle-container',
|
||||
target : 'subtitle-container',
|
||||
text : {elem:'input', type:'text', label:'Text'}
|
||||
}
|
||||
},
|
||||
|
@ -128,11 +128,11 @@
|
|||
_setup: function( options ) {
|
||||
|
||||
// Creates a div for all subtitles to use
|
||||
( !this.container && !options.target || options.target === 'Subtitle-container' ) &&
|
||||
( !this.container && !options.target || options.target === 'subtitle-container' ) &&
|
||||
createDefaultContainer( this );
|
||||
|
||||
// if a target is specified, use that
|
||||
if ( options.target && options.target !== 'Subtitle-container' ) {
|
||||
if ( options.target && options.target !== 'subtitle-container' ) {
|
||||
options.container = document.getElementById( options.target );
|
||||
} else { // use shared default container
|
||||
options.container = this.container;
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
options:{
|
||||
start : {elem:'input', type:'text', label:'In'},
|
||||
end : {elem:'input', type:'text', label:'Out'},
|
||||
target : 'tag-container',
|
||||
target : 'tagthisperson-container',
|
||||
person : {elem:'input', type:'text', label:'Name'},
|
||||
image : {elem:'input', type:'text', label:'Image Src'},
|
||||
href : {elem:'input', type:'text', label:'URL'}
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
start : {elem:'input', type:'number', label:'In'},
|
||||
end : {elem:'input', type:'number', label:'Out'},
|
||||
src : {elem:'input', type:'text', label:'Source'},
|
||||
target : 'Twitter-container',
|
||||
target : 'twitter-container',
|
||||
height : {elem:'input', type:'number', label:'Height'},
|
||||
width : {elem:'input', type:'number', label:'Width'}
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ var wikiCallback;
|
|||
src : {elem:'input', type:'text', label:'Src'},
|
||||
title : {elem:'input', type:'text', label:'Title'},
|
||||
numberofwords : {elem:'input', type:'text', label:'Num Of Words'},
|
||||
target : 'wiki-container'
|
||||
target : 'wikipedia-container'
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче