Completed
Branch EDTR/master (1f094c)
by
unknown
09:49 queued 01:30
created
core/domain/services/assets/EspressoEditorAssetManager.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -19,51 +19,51 @@
 block discarded – undo
19 19
  */
20 20
 class EspressoEditorAssetManager extends AssetManager
21 21
 {
22
-    const JS_HANDLE_EDITOR = 'eventespresso-editor';
23
-    const JS_HANDLE_EDITOR_PROTOTYPE = 'eventespresso-editor-prototype';
24
-    const CSS_HANDLE_EDITOR = 'eventespresso-editor';
25
-    const CSS_HANDLE_EDITOR_PROTOTYPE = 'eventespresso-editor-prototype';
22
+	const JS_HANDLE_EDITOR = 'eventespresso-editor';
23
+	const JS_HANDLE_EDITOR_PROTOTYPE = 'eventespresso-editor-prototype';
24
+	const CSS_HANDLE_EDITOR = 'eventespresso-editor';
25
+	const CSS_HANDLE_EDITOR_PROTOTYPE = 'eventespresso-editor-prototype';
26 26
 
27 27
 
28
-    /**
29
-     * @throws InvalidDataTypeException
30
-     * @throws InvalidEntityException
31
-     * @throws DuplicateCollectionIdentifierException
32
-     * @throws DomainException
33
-     */
34
-    public function addAssets()
35
-    {
36
-        $this->registerJavascript();
37
-        $this->registerStyleSheets();
38
-    }
28
+	/**
29
+	 * @throws InvalidDataTypeException
30
+	 * @throws InvalidEntityException
31
+	 * @throws DuplicateCollectionIdentifierException
32
+	 * @throws DomainException
33
+	 */
34
+	public function addAssets()
35
+	{
36
+		$this->registerJavascript();
37
+		$this->registerStyleSheets();
38
+	}
39 39
 
40 40
 
41
-    /**
42
-     * Register javascript assets
43
-     *
44
-     * @throws InvalidDataTypeException
45
-     * @throws InvalidEntityException
46
-     * @throws DuplicateCollectionIdentifierException
47
-     * @throws DomainException
48
-     */
49
-    private function registerJavascript()
50
-    {
51
-        $this->addJs(self::JS_HANDLE_EDITOR)->setRequiresTranslation();
52
-        $this->addJs(self::JS_HANDLE_EDITOR_PROTOTYPE)->setRequiresTranslation();
53
-    }
41
+	/**
42
+	 * Register javascript assets
43
+	 *
44
+	 * @throws InvalidDataTypeException
45
+	 * @throws InvalidEntityException
46
+	 * @throws DuplicateCollectionIdentifierException
47
+	 * @throws DomainException
48
+	 */
49
+	private function registerJavascript()
50
+	{
51
+		$this->addJs(self::JS_HANDLE_EDITOR)->setRequiresTranslation();
52
+		$this->addJs(self::JS_HANDLE_EDITOR_PROTOTYPE)->setRequiresTranslation();
53
+	}
54 54
 
55 55
 
56
-    /**
57
-     * Register CSS assets.
58
-     *
59
-     * @throws DuplicateCollectionIdentifierException
60
-     * @throws InvalidDataTypeException
61
-     * @throws InvalidEntityException
62
-     * @throws DomainException
63
-     */
64
-    private function registerStyleSheets()
65
-    {
66
-        $this->addCss(self::CSS_HANDLE_EDITOR);
67
-        $this->addCss(self::CSS_HANDLE_EDITOR_PROTOTYPE);
68
-    }
56
+	/**
57
+	 * Register CSS assets.
58
+	 *
59
+	 * @throws DuplicateCollectionIdentifierException
60
+	 * @throws InvalidDataTypeException
61
+	 * @throws InvalidEntityException
62
+	 * @throws DomainException
63
+	 */
64
+	private function registerStyleSheets()
65
+	{
66
+		$this->addCss(self::CSS_HANDLE_EDITOR);
67
+		$this->addCss(self::CSS_HANDLE_EDITOR_PROTOTYPE);
68
+	}
69 69
 }
Please login to merge, or discard this patch.