Posts

Showing posts from November, 2017

DPS909 Lab6/7

Image
This week, we are doing some practice on git. For this particular lab, the language I chose is Javascript. Since I've been working with many Javascript projects, I also like to work with Javascript in this lab, not only that I'm familiar with Javascript but also that the flexibility of this language is something I always want to explore. And more importantly, nowadays, javascript are being used everywhere, because it's such a powerful language that can handle both front-end and back-end tasks. In Addition,  a lot of the frameworks and libraries are also built in javascript. Thus, I chose javascript for this lab. When I was building my javascript library for this lab. I noticed that there are actually a lot of existing codes online that can be re-used in my lab. For example, to get the size of a file I can just import the 'fs' module from the nodeJS. In the above code snippet, notice that to get the size of a file in node only need 3 line of codes import the

Working on thimble QuickEdit UI

Image
For the recent few weeks, I 've been working on another issue of Thimble online editor, this is the issue linke  https://github.com/mozilla/thimble.mozilla.org/issues/2506. This issue is a Feature request which reqtuires me to add components for the inline radius editor which is similar to the existing color inline editor. Basically I need to create a new folder containing all modules of the border radius editor, and I also need to create css and html components for the UI of the inline editor and main logics are defined in main.js, inlineBorderRadiusEditor.js and BorderRadiusEditor.js.  In general, this issue is very challenge to me. Because in order to make the inline editor working I need to read a lot of the existing codes line by line to figure out the pattern that being used in the existing inline editors.  I'm very glad that now i'm almost done with this feature. Even there are some minor issues in my codes, but the main functionalities is working fine.