Make Flash embedding optional.

This commit is contained in:
ccd0 2015-03-14 18:23:34 -07:00
parent 8138644fbf
commit 9aec2129ef
2 changed files with 5 additions and 1 deletions

View File

@ -117,6 +117,10 @@ Config =
true
'<%= 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':
'Linkify': [

View File

@ -1,6 +1,6 @@
Flash =
init: ->
if g.BOARD.ID is 'f'
if g.BOARD.ID is 'f' and Conf['Enable Native Flash Embedding']
$.ready Flash.initReady
initReady: ->