Commit Graph

149 Commits

Author SHA1 Message Date
Andreas Hocevar a58f66a9a9 Fix usage of mocha-phantomjs-core after update 2015-11-06 20:34:30 +01:00
Tim Schaub 6c813020c2 Correct error message for missing layout property 2015-11-01 08:15:05 -07:00
Tim Schaub 0149924551 Update Metalsmith and layout plugin 2015-11-01 02:18:09 -07:00
Tim Schaub 98c9b0eb39 Update phantomjs and use mocha-phantomjs-core 2015-11-01 01:18:59 -07:00
Tim Schaub ad3ee7cb33 Correctly resolve path to jsdoc 2015-10-31 15:10:05 -06:00
Tim Schaub dc0e37b782 Use require.resolve() to find jsdoc 2015-10-30 06:21:21 -06:00
Andreas Hocevar 1c1010a65d Create standalone versions of ol.ext packages 2015-10-20 14:00:18 +02:00
Andreas Hocevar 53704379fa Make relative urls work for jsfiddle 2015-10-14 14:46:33 +02:00
Andreas Hocevar 3d82da1c7e Allow cloaking of API keys and apply to Bing keys 2015-10-14 14:31:42 +02:00
Éric Lemoine f30744c0b8 Simplify test-rendering.js
Now that https://github.com/laurentj/slimerjs/issues/333 is properly fixed (see https://github.com/laurentj/slimerjs/commit/911fcb671a36049bd3ca5e7b8d5824a8d7f01dc7) we can no longer read Slimer's exit code from a file. Instead, we can just use the process exit code, which simplifies the test-rendering.js script.
2015-09-24 13:30:54 +02:00
Frederic Junod bf35b32a20 Suppress extraRequire compiler check in generated exports 2015-09-07 14:48:48 +02:00
Tim Schaub 4d5cf372b0 Always look for ol deps in the root of the ol repo 2015-09-01 21:43:22 -06:00
Tim Schaub 91d6844ecd Install latest dependencies before building 2015-08-04 00:30:39 -06:00
Andreas Hocevar 80c4809aee Do not provide an AMD environment to ol.ext modules
This fixes issues with ol.source.Vector being unable to use ol.ext.rbush,
but it also means that potential future external modules without node
module loader support will not work. If we ever depend on such a module,
we can replace "var define;" with a minimal AMD define shim.
2015-07-17 18:07:39 +02:00
Tim Schaub 4549d2f7a8 Try multiple ports 2015-07-09 10:49:24 -06:00
Tim Schaub bfaac061c8 Provide a debug loader for the library 2015-07-09 10:16:15 -06:00
Tim Schaub 1b01efc08b Check for exports before define 2015-06-24 21:53:52 -06:00
bill-chadwick 51c8bcae57 Updates for building on Windows using Cygwin.
Tested on Windows 7.
2015-05-14 07:08:16 +01:00
Éric Lemoine 762bb0f055 More specific regex in serve.js
This is to be able to use the dev server (`npm start`) to serve the hosted examples (located in the `build/hosted/<branch>` dir after `make host-examples`).
2015-04-30 09:14:40 +02:00
Éric Lemoine 6a16920378 Use graceful-fs in place of fs
Change generate-requires.js to use the graceful-fs module instead of fs. This is to avoid EMFILE errors on OSX because the maximum number of file descriptors have been reached.
2015-04-29 13:27:25 +02:00
Éric Lemoine e40a51574b Fix test-coverage.js script
Fix test-coverage by only replacing the last occurence of `/src/` when deriving the instrumented file path from the original file path.
2015-04-29 12:00:06 +02:00
Éric Lemoine 4c2c21a5d6 Add Makefile 2015-04-26 20:20:59 +02:00
Tim Schaub c31ae25892 Replace non-breaking space (U+00A0) with regular space (U+0020) 2015-04-22 10:41:10 -06:00
Frederic Junod 288392c8a7 Remove externs/vbarray.js 2015-04-18 17:10:24 -06:00
Tim Schaub 2dd3fbf307 Renaming and docs for clarity 2015-04-17 16:09:43 -06:00
Tim Schaub bc1bde6a86 Index what the examples require 2015-04-17 16:03:55 -06:00
Marc Jansen fedceb9a05 Automatically add links to API-docs in examples
When we create the examples, we know exactly which specific `ol.…` symbols
we `goog.require(…)`. We can create links to the API documentation of these
symbols automatically.
2015-04-17 21:50:50 +02:00
Tim Schaub c5cf709c55 The common.js script makes a "common" object available 2015-04-17 09:49:53 -06:00
Tim Schaub 84f3bea766 Upgrade Metalsmith to get new concurrency option 2015-04-17 06:22:38 -06:00
Tim Schaub 89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Tim Schaub 8fd2e9f79f Untangle resources and put built examples in the build dir 2015-04-17 06:22:38 -06:00
Tim Schaub 5dfa9e0a67 Merge pull request #3548 from tschaub/slimer-error
Write the error stack instead of the error itself.
2015-04-13 06:49:28 -06:00
Tim Schaub b9198f1f7b Write the stack instead of an error 2015-04-13 06:32:36 -06:00
Tim Schaub 8ddec98075 Rebuild examples when the sources change 2015-04-12 15:42:55 -06:00
Tim Schaub aaba58ceb0 Generate index.js when building examples 2015-04-12 15:42:48 -06:00
Tim Schaub 0789604e88 Merge pull request #3504 from tschaub/build-examples
Rework build-examples.js task.
2015-04-06 11:27:00 -06:00
Tim Schaub 121a83f19e Explicitly helper use instead of implicitly converting from markdown 2015-04-06 11:13:45 -06:00
Tim Schaub 3b96071096 Metadata names 2015-04-06 11:13:45 -06:00
Tim Schaub 30c04cf8ab Maintain resource list order (principle of least surprise) 2015-04-06 11:13:45 -06:00
Tim Schaub 75fcec15ec Simplify plugin
The augmentExamples just adds metadata to the example markup files.  If we also want to support example markdown files, we can use the metalsmith-markdown plugin before this one.
2015-04-06 11:13:32 -06:00
Tim Schaub 9f1e0f001a Proper lists for example resources 2015-04-06 09:18:32 -06:00
Tim Schaub 6d318dce78 Rework plugin 2015-04-06 09:18:28 -06:00
Tobias Sauerwein c36c67779e Merge pull request #3470 from tsauerwein/rendering-tests
Add rendering tests
2015-04-06 13:49:51 +02:00
Tim Schaub c265676f67 Avoid reading css and js files twice 2015-04-06 04:21:12 -06:00
Tim Schaub cdc4283cbf Use global metadata for ol version 2015-04-06 04:10:17 -06:00
Tim Schaub 8afb5698f1 Allow script to be run from anywhere 2015-04-06 04:09:46 -06:00
tsauerwein 8e0c21eb58 Add test-suite using SlimerJS 2015-04-04 17:30:38 +02:00
tsauerwein 921fd3ed3b Support generic ext. modules with browserify 2015-04-04 09:17:11 +02:00
Andreas Hocevar cd266f35ab Add verbatim template and throw error on invalid front-matter 2015-04-02 20:28:32 +02:00
Andreas Hocevar 78ce9de4af Better error reporting 2015-04-02 19:10:14 +02:00