dynamically loading tizen apis #5

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@ypzhao

dynamically loading tizen apis

@zhizhangchen zhizhangchen commented on the diff Mar 28, 2013
src/extensions/default/AutoComplete/main.js
@@ -101,7 +98,10 @@ define(function (require, exports, module) {
}
cmEditor = curEditor._codeMirror;
- cmEditor.getOption("extraKeys")["Ctrl-P"] = "autocomplete";
+ var extraKeys = cmEditor.getOption("extraKeys");
+
+ if (extraKeys)
+ extraKeys["Ctrl-P"] = "autocomplete";
@zhizhangchen
zhizhangchen Mar 28, 2013

These lines are for checking extraKeys' existence before assigning "Ctrl-P" property to it. Please put them into another commit.

@ypzhao ypzhao closed this Mar 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment