| Commit message (Collapse) | Author | Age |
|
|
|
| |
Fixed parsing files to have correct URLs with RegEx, inner content of CSS files still needs to be fixed.
|
|
|
|
| |
Created a class level variable for the URL to be parsed out of the user files.
|
|
|
|
| |
Setting up logic to include attributes in <link> for the <style> duplicates and add attributes created in Ninja back to <link> tag on save.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also cleaned up URL getter for app in cleaning string code.
|
|
|
|
| |
Added logic to load cross-domain CSS from CDN, but need to explore how to load without impacting permissions.
|
|
|
|
| |
This is a possible set of methods to be used to prettify code. Added temporarily until approved.
|
|
|
|
| |
This is only the IO aspect, the data getter seems broken for 2D canvas and does not allow for save, and nothing works for setting the data on load. However, the IO aspect of saving and opening the data are not incorporated.
|
| |
|
|
|
|
| |
Added a temp fix to parse out the app url that is placed in the CSS styles.
|
| |
|
|
|
|
| |
Saving CSS in <style> tags, need to implement saving CSS to files.
|
| |
|
| |
|
|
|
|
| |
This function will need to be cleaned up and possibly moved once the MVC structure is in-place for the document.
|
| |
|
|
|
|
| |
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
|
|
|
| |
Added functionality (temp) to save files in code view.
|
|
|
|
| |
Temp fix for saving styles in <style> of HTML document.
|
|
|
|
| |
Added the ability to save an HTML file from design view, need to add CSS detection and saving (of styles in <style> only). Also need to add 'Save All' for all file attached to the HTML file.
|
| |
|
| |
|
|
|
|
| |
Adding file open functionality.
|
|
|
|
| |
Adding new file functionality, awaiting UI to implement correct file path for templates to hook into mediator.
|
| |
|
|
|
|
|
|
| |
with io mediator
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
|
|
|
|
|
| |
integrated file open with io mediator
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
|
|
|
|
|
| |
integrated new file dialog with io mediator to open the new file in a new tab
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
|
|
|
| |
Doing benchmark testing of the native HTML5 FileSystem API available in Chrome. Need to run testing of local XHR requests and also getting files from packaged app.
|
| |
|
|
Cleaned up file IO templates and removed app-caching from Ninja since it would be needed. Setting up io-mediator to hook up to controller. Still need to address naming conventions and clean up more in the io directory.
|