summaryrefslogtreecommitdiff
path: root/js/codeq
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq')
-rw-r--r--js/codeq/profile.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/codeq/profile.js b/js/codeq/profile.js
new file mode 100644
index 0000000..5dcda05
--- /dev/null
+++ b/js/codeq/profile.js
@@ -0,0 +1,16 @@
+/**
+ * Created by markop on 9/29/15.
+ */
+
+(function(){
+ codeq.globalStateMachine.register('profile',{
+ 'enter': function(){
+
+ $("#screen_profile").css('display', '');
+ $('#disabled').css('display', 'none');
+ },
+ 'exit' : function(){
+ $("#screen_profile").css('display', 'none');
+ }
+ });
+})(); \ No newline at end of file