lesander / magister-calendar

:date: Automatically plan your Magister appointments in your Google calendar.
https://git.io/magister
MIT License
11 stars 6 forks source link

Use magister.js getter/setters #9

Closed lieuwex closed 9 years ago

lieuwex commented 9 years ago

Currently Magister.js uses a getter/setters (we want to remove those, see https://github.com/simplyGits/MagisterJS/issues/15), using getter/setters now will give 2 advantages:

lieuwex commented 9 years ago

I must say, I didn't test the code whatsoever, so I hope I didn't fuck up anywhere.

lesander commented 9 years ago

Hey @lieuwex thanks for the heads up, I wasn't aware of the deprecated _'s. I'll do some testing and see if the program still works with your changes.

lesander commented 9 years ago

Hey @lieuwex, I've tested your code, and it seems to be working just fine, although there seems to be a difference with _content parsed by Magister Calendar (using replaces and such), and the parsed content content() returns.

Please re-base your pull request branch to 1.4.1 and then I'll merge. Thanks again for the contribution!

lieuwex commented 9 years ago

There could be differences, what's different and is it a problem? I tried to make the returned content kinda as it would be rendered inside of Magister, limiting the amount of newlines inbetween the lines and stuff.

I will rebase