-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Save files back to server #159
Conversation
(later, I'll change this to work outside of the editor as well)
Cleaning up little by little. trying to better follow [johnpapa's angular styleguide](https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md)
Since require caches requests, we get the same json for the life of the server. but we want to get the updated settings on each refresh
yess!!!!! for some reason the ruler is the only thing that doesn't work..... hmmmmm
now, coded on kibibit :-)
vm.projectFolderPath = ''; | ||
sessionStorage.projectFolderPath = vm.projectFolderPath; | ||
vm.openFile = ''; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon after statement
'<p class=\'prompt\'>\' | / | : | ; |.\'; ; ; |.\'; ; : : |-, : | \\ | : | : ;_ | | \'</p>' + | ||
'<p class=\'prompt\'>| ; ; \' \' ; `----\' | | `----\' | | : | ;/| | : \' \'; | \\ \\ `. \' : |</p>' + | ||
'<p class=\'prompt\'>: \' \\ | | | \' : ; \' : ; | : .\' \' \' ;. ; `----. \\ ; | ;</p>' + | ||
'<p class=\'prompt\'>\' : |. \\ | | \' \' : | \' : | \' : ;/| \' : | ; .\' / /`--\' / `--..`; </p>' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line must be at most 80 characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line must be at most 80 characters
3b4b859
to
8696f7b
Compare
@@ -98,7 +98,7 @@ angular.module('kibibitCodeEditor') | |||
setTimeout(function() { | |||
var gif; | |||
|
|||
$.get('http://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=kittens', function(result) { | |||
$.get('//api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=kittens', function(result) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line must be at most 80 characters
This will allow us to replace the sessionStorage later if needed.
|
||
.factory('SessionStorageService', ['$window', function($window) { | ||
return $window.sessionStorage; | ||
}]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing line feed at file end
@@ -0,0 +1,5 @@ | |||
md-toast { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Files should end with a trailing newline
Change Summary
FUCKING SAVE FILES!!!! [resolves SAVE EXISTING FILES #144]
FUCKING SAVE & LOAD SETTINGS!!! [resolves Settings Feature #83]
sessionStorage
codeEditor.js
to better follow johnpapa's angular styleguideMore info
how exciting! 😁
Before you submit a PR, make sure you did the following things: