This file contains 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
require(['config'], function(){ | |
require(['require', | |
'walk', | |
'chai', | |
'mocha'], | |
function(require, walk, chai, mocha){ | |
var tests = []; | |
var walker = walk.walk('./', { followLinks: false }); |
This file contains 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
(function($) { | |
$.extend($.fn, { | |
removeStyle: function() { | |
this.each(function() { | |
return $(this).removeAttr('style'); | |
}); | |
} | |
}); | |
})(Mobify.$); |
This file contains 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
public class Tree<K, V> | |
where K : class, IComparable<K> | |
where V : class | |
{ | |
private Node<K, V> root; | |
public V BreadthFirstSearch(K key) | |
{ | |
Queue<Node<K, V>> queue = new Queue<Node<K, V>>(); | |
root.Visited = true; |
This file contains 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
public class Tree<K, V> | |
where K : class, IComparable<K> | |
where V : class | |
{ | |
private Node<K, V> root; | |
public V DepthFirstSearch(K key) | |
{ | |
Stack<Node<K, V>> stack = new Stack<Node<K, V>>(); | |
root.Visited = true; |
This file contains 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
/* | |
Instructions: | |
Implement the structure that makes this code runnable. To read the output, simply write | |
the result of the shout call to the console. You can use the developer tools to view | |
the result of the console call. | |
The result of the shout call should be "MOBIFY", without quotations. | |
How many different ways can you modify your syntax to make this code work? |
This file contains 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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
toggleCheckbox() { | |
alert('toggled!'); | |
} | |
} | |
}); |
This file contains 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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
click() { | |
this.onTopLevel(); | |
} | |
}); |
This file contains 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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
click() { | |
this.sendAction('onTopLevel'); | |
} | |
}); |
OlderNewer