Skip to content

Script-Modernisation (ECMAScript 6)#1

Open
DLaudenberg wants to merge 3 commits intodhkamp:masterfrom
DLaudenberg:master
Open

Script-Modernisation (ECMAScript 6)#1
DLaudenberg wants to merge 3 commits intodhkamp:masterfrom
DLaudenberg:master

Conversation

@DLaudenberg
Copy link

Scripts are upgraded to ECMAScript 6

DLaudenberg and others added 2 commits October 23, 2019 22:51
* Update ReadMe

* Update Demo

* Upgrade Scripts to ECMAScript6
** Upgrade Scripts
** Fix return values for calls without parameters
js/transition.js Outdated
else if (typeof prop === 'string' || prop instanceof Array) {

this.transitionProperties.cssProp = prop;
return transitionProperties.cssProp;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this fehlt

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

js/transition.js Outdated
}
}

export let transition = new Transition();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

raus, wird nicht benötigt

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

js/transition.js Outdated
if(i < (j - 1)) {
import Core from "./core";

class Transition {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export default class ...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. Demo ist bereits var T = new Obiwan.Transition();, die muss also nicht angepasst werden, oder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants