Make Flash embedding optional.
This commit is contained in:
parent
8138644fbf
commit
9aec2129ef
@ -117,6 +117,10 @@ Config =
|
|||||||
true
|
true
|
||||||
'<%= meta.name %> is NOT designed to work with the native extension.'
|
'<%= meta.name %> is NOT designed to work with the native extension.'
|
||||||
]
|
]
|
||||||
|
'Enable Native Flash Embedding': [
|
||||||
|
true
|
||||||
|
'Activate the native extension\'s Flash embedding if the native extension is disabled.'
|
||||||
|
]
|
||||||
|
|
||||||
'Linkification':
|
'Linkification':
|
||||||
'Linkify': [
|
'Linkify': [
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Flash =
|
Flash =
|
||||||
init: ->
|
init: ->
|
||||||
if g.BOARD.ID is 'f'
|
if g.BOARD.ID is 'f' and Conf['Enable Native Flash Embedding']
|
||||||
$.ready Flash.initReady
|
$.ready Flash.initReady
|
||||||
|
|
||||||
initReady: ->
|
initReady: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user