mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-13 23:42:13 +09:00
grunt jshint 설정 변경
This commit is contained in:
parent
46863a8a47
commit
080bbcb0f7
5 changed files with 17 additions and 16 deletions
|
|
@ -797,6 +797,7 @@ jQuery(function($){
|
|||
});
|
||||
|
||||
if(typeof console == 'undefined'){
|
||||
/* jshint -W020 */
|
||||
console={log:function(){}};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
<script>
|
||||
(function($){
|
||||
"use strict";
|
||||
var editor_primary_key_name = '{$editor_primary_key_name}';
|
||||
var editor_content_key_name = '{$editor_content_key_name}';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,22 +1,20 @@
|
|||
(function($){
|
||||
var xeEditorApp = xe.createApp('xeEditorApp', {
|
||||
init : function() {
|
||||
console.log('INIT @ xeEditorApp')
|
||||
"use strict";
|
||||
var XeEditorApp = xe.createApp('xeEditorApp', {
|
||||
init : function() {
|
||||
},
|
||||
API_ONREADY : function() {
|
||||
console.log('ONREADY @ xeEditorApp');
|
||||
},
|
||||
getContent : function(seq) {
|
||||
this.cast('GET_CONTENT');
|
||||
},
|
||||
API_EDITOR_CREATED : function(){
|
||||
console.log('APP @ API_EDITOR_CREATED');
|
||||
},
|
||||
});
|
||||
|
||||
// Shortcut function in jQuery
|
||||
$.fn.xeEditorApp = function(opts) {
|
||||
var u = new xeEditorApp(this.eq(0), opts);
|
||||
var u = new XeEditorApp(this.eq(0), opts);
|
||||
if(u) xe.registerApp(u);
|
||||
|
||||
return u;
|
||||
|
|
@ -24,12 +22,11 @@
|
|||
|
||||
// Shortcut function in XE
|
||||
window.xe.createXeEditor = function() {
|
||||
var u = new xeEditorApp();
|
||||
// if(u) xe.registerApp(u);
|
||||
var u = new XeEditorApp();
|
||||
|
||||
return u;
|
||||
};
|
||||
var u = new xeEditorApp();
|
||||
var u = new XeEditorApp();
|
||||
xe.registerApp(u);
|
||||
|
||||
})(jQuery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue