Merge pull request #1047 from mailpoet/eslint-assignment
Eslint assignment [MAILPOET-1033]
This commit is contained in:
@ -5,12 +5,14 @@ define([
|
||||
'amd-inject-loader!newsletter_editor/blocks/automatedLatestContent',
|
||||
'newsletter_editor/components/communication'
|
||||
], function(
|
||||
EditorApplication,
|
||||
App,
|
||||
AutomatedLatestContentBlock,
|
||||
ContainerBlock,
|
||||
AutomatedLatestContentInjector,
|
||||
CommunicationComponent
|
||||
Communication
|
||||
) {
|
||||
var EditorApplication = App;
|
||||
var CommunicationComponent = Communication;
|
||||
|
||||
describe('Automated Latest Content Supervisor', function() {
|
||||
var model;
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/blocks/button'
|
||||
], function(EditorApplication, ButtonBlock) {
|
||||
], function(App, ButtonBlock) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe("Button", function () {
|
||||
describe("model", function () {
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/blocks/container'
|
||||
], function(EditorApplication, ContainerBlock) {
|
||||
], function(App, ContainerBlock) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe('Container', function () {
|
||||
var ModelClass = ContainerBlock.ContainerBlockModel;
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/blocks/divider'
|
||||
], function(EditorApplication, DividerBlock) {
|
||||
], function(App, DividerBlock) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe("Divider", function () {
|
||||
describe("model", function () {
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/blocks/footer'
|
||||
], function(EditorApplication, FooterBlock) {
|
||||
], function(App, FooterBlock) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe('Footer', function () {
|
||||
describe('model', function () {
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/blocks/header'
|
||||
], function(EditorApplication, HeaderBlock) {
|
||||
], function(App, HeaderBlock) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe('Header', function () {
|
||||
describe('model', function () {
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/blocks/image'
|
||||
], function(EditorApplication, ImageBlock) {
|
||||
], function(App, ImageBlock) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe('Image', function () {
|
||||
describe('model', function () {
|
||||
|
@ -3,7 +3,9 @@ define([
|
||||
'newsletter_editor/components/communication',
|
||||
'newsletter_editor/blocks/posts',
|
||||
'newsletter_editor/blocks/container'
|
||||
], function(EditorApplication, CommunicationComponent, PostsBlock, ContainerBlock) {
|
||||
], function(App, Communication, PostsBlock, ContainerBlock) {
|
||||
var EditorApplication = App;
|
||||
var CommunicationComponent = Communication;
|
||||
|
||||
describe('Posts', function () {
|
||||
Backbone.Radio = {
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/blocks/spacer'
|
||||
], function(EditorApplication, SpacerBlock) {
|
||||
], function(App, SpacerBlock) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe('Spacer', function () {
|
||||
describe('model', function () {
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/components/content'
|
||||
], function(EditorApplication, ContentComponent) {
|
||||
], function(App, ContentComponent) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe('Content', function() {
|
||||
describe('newsletter model', function() {
|
||||
|
@ -3,7 +3,8 @@ define([
|
||||
'newsletter_editor/components/save',
|
||||
'amd-inject-loader!newsletter_editor/components/save',
|
||||
'jquery'
|
||||
], function(EditorApplication, SaveComponent, SaveInjector, jQuery) {
|
||||
], function(App, SaveComponent, SaveInjector, jQuery) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe('Save', function() {
|
||||
describe('save method', function() {
|
||||
|
@ -1,7 +1,8 @@
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/components/styles'
|
||||
], function(EditorApplication, StylesComponent) {
|
||||
], function(App, StylesComponent) {
|
||||
var EditorApplication = App;
|
||||
|
||||
describe('Styles', function () {
|
||||
it('loads and stores globally available styles', function() {
|
||||
|
Reference in New Issue
Block a user