Test Setup Failed
Push — master ( 51607c...6b8ca8 )
by Paul
03:43
created

(   A

Complexity

Total Complexity 3
Complexity/F 1

Size

Lines of Code 1
Function Count 3

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 3
dl 0
loc 1
rs 10
c 0
b 0
f 0
cc 0
nc 1
mnd 0
bc 3
fnc 3
bpm 1
cpm 1
noi 2
1
/** global: GLSR */
2
(function( tinymce ) {
3
	'use strict';
4
	tinymce.PluginManager.add( 'glsr_shortcode', function( editor ) {
5
		editor.addCommand( 'GLSR_Shortcode', function() {
6
			GLSR.shortcode.create( editor.id );
7
		});
8
	});
9
})( window.tinymce );
10