Skip to content

Instantly share code, notes, and snippets.

@anemos474
anemos474 / errors.js
Last active October 9, 2017 12:31
eclipse
window.onerror = function(text, file, line){
alert('An error occured in file ' + file
+ ' at line ' + line
+ ':\n'
+ text
);
}
@anemos474
anemos474 / bemmake.php
Last active October 9, 2017 12:00
bemmake
<!doctype html>
<html>
<head>
<title>BEM make</title>
<meta charset='utf-8'>
</head>
<body>
<textarea id='bemstruct'>container
container__contact-us