skypager-project
Version:
skypager project framework
1,624 lines (1,601 loc) • 30.5 kB
JavaScript
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // identity function for calling harmory imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/ // define getter function for harmory exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ };
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 178);
/******/ })
/************************************************************************/
/******/ ({
/***/ 178:
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(87);
/***/ },
/***/ 87:
/***/ function(module, exports) {
module.exports = {
"path": "/Users/jonathan/Skypager/packages/skypager-project/test-example-spec.js",
"ast": {
"type": "File",
"start": 0,
"end": 169,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 169,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"start": 0,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 6,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 13
},
"identifierName": "project"
},
"name": "project"
},
"init": {
"type": "CallExpression",
"start": 16,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 46
}
},
"callee": {
"type": "Identifier",
"start": 16,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "require"
},
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"start": 24,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 45
}
},
"extra": {
"rawValue": "../skypager/current",
"raw": "'../skypager/current'"
},
"value": "../skypager/current"
}
]
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 47,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 53,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 6
},
"end": {
"line": 2,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 53,
"end": 60,
"loc": {
"start": {
"line": 2,
"column": 6
},
"end": {
"line": 2,
"column": 13
},
"identifierName": "example"
},
"name": "example"
},
"init": {
"type": "CallExpression",
"start": 63,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 63,
"end": 79,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 63,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "project"
},
"name": "project"
},
"property": {
"type": "Identifier",
"start": 71,
"end": 79,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 32
},
"identifierName": "document"
},
"name": "document"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 80,
"end": 94,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 47
}
},
"extra": {
"rawValue": "EXAMPLE.spec",
"raw": "'EXAMPLE.spec'"
},
"value": "EXAMPLE.spec"
}
]
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 97,
"end": 168,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 71
}
},
"expression": {
"type": "CallExpression",
"start": 97,
"end": 168,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 97,
"end": 108,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 11
}
},
"object": {
"type": "Identifier",
"start": 97,
"end": 104,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 7
},
"identifierName": "console"
},
"name": "console"
},
"property": {
"type": "Identifier",
"start": 105,
"end": 108,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 11
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 109,
"end": 167,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 109,
"end": 165,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 68
}
},
"object": {
"type": "CallExpression",
"start": 109,
"end": 150,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 109,
"end": 148,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 51
}
},
"object": {
"type": "CallExpression",
"start": 109,
"end": 144,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 109,
"end": 142,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 109,
"end": 122,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 109,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 19
},
"identifierName": "example"
},
"name": "example"
},
"property": {
"type": "Identifier",
"start": 117,
"end": 122,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"column": 25
},
"identifierName": "ready"
},
"name": "ready"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 123,
"end": 142,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 45
},
"identifierName": "sectionHeadingNodes"
},
"name": "sectionHeadingNodes"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 145,
"end": 148,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 51
},
"identifierName": "pop"
},
"name": "pop"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 151,
"end": 165,
"loc": {
"start": {
"line": 4,
"column": 54
},
"end": {
"line": 4,
"column": 68
},
"identifierName": "getHeadingPath"
},
"name": "getHeadingPath"
},
"computed": false
},
"arguments": []
}
]
}
}
],
"directives": [
{
"type": "Directive",
"value": {
"type": "DirectiveLiteral",
"value": "use strict"
}
}
]
},
"comments": [],
"tokens": [
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 0,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "project",
"start": 6,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "require",
"start": 16,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 23,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../skypager/current",
"start": 24,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 45,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 45
},
"end": {
"line": 1,
"column": 46
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 47,
"end": 52,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "example",
"start": 53,
"end": 60,
"loc": {
"start": {
"line": 2,
"column": 6
},
"end": {
"line": 2,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 61,
"end": 62,
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "project",
"start": 63,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 70,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 71,
"end": 79,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 79,
"end": 80,
"loc": {
"start": {
"line": 2,
"column": 32
},
"end": {
"line": 2,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "EXAMPLE.spec",
"start": 80,
"end": 94,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 94,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 47
},
"end": {
"line": 2,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "console",
"start": 97,
"end": 104,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 104,
"end": 105,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 105,
"end": 108,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 108,
"end": 109,
"loc": {
"start": {
"line": 4,
"column": 11
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "example",
"start": 109,
"end": 116,
"loc": {
"start": {
"line": 4,
"column": 12
},
"end": {
"line": 4,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 116,
"end": 117,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ready",
"start": 117,
"end": 122,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 122,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sectionHeadingNodes",
"start": 123,
"end": 142,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 142,
"end": 143,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 143,
"end": 144,
"loc": {
"start": {
"line": 4,
"column": 46
},
"end": {
"line": 4,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 144,
"end": 145,
"loc": {
"start": {
"line": 4,
"column": 47
},
"end": {
"line": 4,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pop",
"start": 145,
"end": 148,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 148,
"end": 149,
"loc": {
"start": {
"line": 4,
"column": 51
},
"end": {
"line": 4,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 4,
"column": 52
},
"end": {
"line": 4,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 150,
"end": 151,
"loc": {
"start": {
"line": 4,
"column": 53
},
"end": {
"line": 4,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHeadingPath",
"start": 151,
"end": 165,
"loc": {
"start": {
"line": 4,
"column": 54
},
"end": {
"line": 4,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 165,
"end": 166,
"loc": {
"start": {
"line": 4,
"column": 68
},
"end": {
"line": 4,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 166,
"end": 167,
"loc": {
"start": {
"line": 4,
"column": 69
},
"end": {
"line": 4,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 167,
"end": 168,
"loc": {
"start": {
"line": 4,
"column": 70
},
"end": {
"line": 4,
"column": 71
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 169,
"end": 169,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 0
}
}
}
]
},
"meta": {
"usedHelpers": [],
"marked": [],
"modules": {
"imports": [],
"exports": {
"exported": [],
"specifiers": []
}
}
},
"query": {
"": true
}
};
/***/ }
/******/ });