This repository was archived by the owner on Nov 28, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 113113 // Prompt
114114 var promptBox ;
115115 var prompt ;
116- var promptLabel = config && config . promptLabel ? config . promptLabel : "> " ;
117116 var continuedPromptLabel = config && config . continuedPromptLabel ?
118117 config . continuedPromptLabel : "> " ;
119118 var column = 0 ;
143142 ////////////////////////////////////////////////////////////////////////
144143 // Main entry point
145144 ( function ( ) {
145+ extern . promptLabel = config && config . promptLabel ? config . promptLabel : "> " ;
146146 container . append ( inner ) ;
147147 inner . append ( typer ) ;
148148 typer . css ( { position :'absolute' , top :0 , left :'-9999px' } ) ;
233233 enableInput ( ) ;
234234 promptBox = $ ( '<div class="jquery-console-prompt-box"></div>' ) ;
235235 var label = $ ( '<span class="jquery-console-prompt-label"></span>' ) ;
236- var labelText = extern . continuedPrompt ? continuedPromptLabel : promptLabel ;
236+ var labelText = extern . continuedPrompt ? continuedPromptLabel : extern . promptLabel ;
237237 promptBox . append ( label . text ( labelText ) . show ( ) ) ;
238238 label . html ( label . html ( ) . replace ( ' ' , ' ' ) ) ;
239239 prompt = $ ( '<span class="jquery-console-prompt"></span>' ) ;
You can’t perform that action at this time.
0 commit comments