This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/apps/system/js/window_manager.js b/apps/system/js/window_manager.js | |
| index 2efeea0..8b5b9f6 100644 | |
| --- a/apps/system/js/window_manager.js | |
| +++ b/apps/system/js/window_manager.js | |
| @@ -776,7 +776,7 @@ var WindowManager = (function() { | |
| // reference to the app and launch it. | |
| function retrieveFTU() { | |
| window.asyncStorage.getItem('ftu.enabled', function getItem(launchFTU) { | |
| - if (launchFTU === false) { | |
| + if (true) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Project Title</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="description" content=""> | |
| <link rel="shortcut icon" href="favicon.ico"> | |
| <!-- Twitter Bootstrap --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.fixture("/foobar.json", function(orig, settings, headers){ | |
| return [200, "success", {json: {foo: "bar" } }, {} ] | |
| }); | |
| $.fixture("PUT /tasks/{id}.json", function(original, settings, headers){ | |
| return { updatedAt : new Date().getTime() } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steal('jquery').then('jquery/resize','jquery/mousehold','jquery/event/drag').then('./my.css', function(){ | |
| //.... | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
| <script src="http://threedubmedia.googlecode.com/files/jquery.event.drag-2.0.min.js"></script> | |
| <script src="http://github.com/cowboy/jquery-resize/raw/v1.1/jquery.ba-resize.min.js"></script> | |
| <script src="http://remysharp.com/demo/mousehold.js"></script> | |
| <script src="https://raw.github.com/brandonaaron/jquery-mousewheel/master/jquery.mousewheel.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.Controller("Listener", { | |
| "something.updated subscribe" : function(called, data){ | |
| console.log(data.name); | |
| } | |
| }); | |
| // called elsewhere | |
| $.Controller("publisher", { | |
| init: function(){ | |
| var data = { name: 'lol' }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul> | |
| <% for(var i=0; i<supplies.length; i++) {%> | |
| <li><%= supplies[i] %></li> | |
| <% } %> | |
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('#div').html('<div class="event"><span class="name"></span><span class="icon"></span><span class="content"></span><span class="screenshot"></span></div>') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steal('steal/less').then('a.less', 'b.less').then(function() { | |
| // ... | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* a.css */ | |
| div.data { | |
| background-color: red; | |
| } | |
| /* b.css */ | |
| div.data { | |
| background-color: white; | |
| } |