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
'use strict'; | |
angular.module('Component', []) | |
.factory('Component', function () { | |
return function(bindings, template, linkFn, options) { | |
var directive = { | |
scope: parseBindings(bindings), | |
template: parseTemplate(template), | |
link: linkFn |
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
import List, Queue, Hash from lang.data | |
import fetch, normalize_url from http.utils | |
import write_file from lang.io | |
function crawl(start_url) { | |
crawled = new List | |
queue = new Queue | |
visited = new Hash | |
start_url = normalize_url(start_url) |
OlderNewer