Removes a file
rm app.js| (function(document){ | |
| if(!document.getElementsByClassName){ | |
| document.getElementsByClassName = function(str){ | |
| return document.querySelectorAll('.' + str); | |
| }; | |
| } | |
| })(document); |
| /* --- CLEARFIX --- */ | |
| .clearfix() { | |
| *zoom: 1; | |
| &:before, | |
| &:after { | |
| display: table; | |
| line-height: 0; | |
| content: ""; | |
| } |
| document.head = (function(d) { | |
| return d.head || d.getElementsByTagName('head')[0]; | |
| })(document); |
| shuffle = function (arr) { | |
| var newArr = [], | |
| origArr, | |
| len; | |
| if (!!arr && ) { | |
| origArr = arr.slice(); | |
| len = arr.length; | |
| while (len) { |
| function getFromPath(obj, path, defaultValue) { | |
| var props = path.split('.'), | |
| newObj = obj; | |
| for (var i = 0, len = props.length; i < len; i++) { | |
| if (newObj[props[i]] !== null && newObj[props[i]] !== undefined) { | |
| newObj = newObj[props[i]]; | |
| } else { | |
| return defaultValue || null; | |
| } |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>box-sizing samples</title> | |
| <style> | |
| body { | |
| text-align: center; | |
| } |
| { | |
| // http://eslint.org/docs/rules/ | |
| "env": { | |
| "es6": true, | |
| "browser": true, | |
| "jasmine": true | |
| }, | |
| "globals": {}, |
| import action from './other-module.js'; | |
| var value = action(); | |
| export default value; |
| (function(module, exports, WEBPACK_REQUIRE_METHOD) { | |
| 'use strict'; | |
| var action = WEBPACK_REQUIRE_METHOD(1); | |
| var value = action(); | |
| exports.default = value; | |
| }); |