Merge pull request #1047 from mailpoet/eslint-assignment

Eslint assignment [MAILPOET-1033]
This commit is contained in:
amine-mp
2017-08-22 09:59:35 +02:00
committed by GitHub
57 changed files with 240 additions and 169 deletions

View File

@ -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;

View File

@ -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 () {

View File

@ -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;

View File

@ -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 () {

View File

@ -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 () {

View File

@ -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 () {

View File

@ -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 () {

View File

@ -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 = {

View File

@ -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 () {

View File

@ -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() {

View File

@ -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() {

View File

@ -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() {