Commit Graph

51 Commits (d8a058476863077904645e534a29abd42915f8bd)

Author SHA1 Message Date
Chad Weider cfe095466f Add some comments. 2012-02-19 20:47:23 -08:00
Chad Weider 6a7a3ea3ab Provide a better last modified date for require-kernel. 2012-02-19 20:47:23 -08:00
Chad Weider 78691feec7 Drop all packaging logic from minify. 2012-02-19 20:47:23 -08:00
Chad Weider 3b2a3ad324 It is ok if the directory doesn't exist. 2012-02-19 20:47:23 -08:00
Chad Weider e0930005c3 Minify serves all static assets. 2012-02-19 20:47:23 -08:00
Chad Weider aac849f6ea Do not allow relative paths. 2012-02-19 20:43:17 -08:00
Chad Weider 494ca0560b Only add date if date exists. 2012-02-19 20:43:17 -08:00
Chad Weider ff264aa69a Combine existense and date checks. 2012-02-19 20:43:17 -08:00
Chad Weider a5006255b7 Last modification is more specific (when possible). 2012-02-19 20:43:17 -08:00
Chad Weider 3da1464ae0 Minify serves the require kernel. 2012-02-19 20:43:17 -08:00
Chad Weider e33c5a3aac Extract file existance check. 2012-02-19 20:43:17 -08:00
Chad Weider dcc0740621 Use Yajsml to combine files.
Minify only constructs individual files and optionally compresses them with UglifyJS.
2012-02-19 20:43:17 -08:00
Chad Weider b661ef5960 Inline response generation. 2012-02-19 20:43:17 -08:00
Chad Weider bb10f026ca Create CachingMiddleware for zipping and caching. 2012-02-19 20:43:17 -08:00
Chad Weider 43f4184e8d Minify specifies maxAge. 2012-02-19 20:43:17 -08:00
Chad Weider a5365f2547 Support GET and HEAD. 2012-02-19 20:43:17 -08:00
Chad Weider a09e208b0a Return 404's. 2012-02-19 20:43:17 -08:00
Chad Weider c2669360d1 Catch 304's early. 2012-02-19 20:43:17 -08:00
Chad Weider d6d4178dbc Extract lastmodified from handler. 2012-02-19 20:43:17 -08:00
Chad Weider 2797c2fc5b Use the correct expression. 2012-02-19 20:43:17 -08:00
Chad Weider 4bf9b0c805 Always include the require kernel. 2012-02-05 16:59:40 -08:00
Chad Weider 348e7ef1d5 Define packaging for iframe JS in the same way as pad.js and timeslider.js. 2012-02-05 16:59:40 -08:00
Chad Weider 458b5a4f03 Combine tar and isolate, so that everything is done in one definition. 2012-02-05 16:59:40 -08:00
Chad Weider ddc74cd0f1 Make the comment a part of the module. 2012-02-05 16:59:40 -08:00
Chad Weider ebb5055ce8 Extract file retrieval. 2012-02-05 16:59:40 -08:00
Chad Weider e68413d998 Extract Ace.js file generation. 2012-02-05 16:59:40 -08:00
booo 3f3bb95073 Revert "Optimize javascript minification, slight increase of file size, but massive performance improvement"
This reverts commit b32f883a9d.
2012-02-02 11:26:36 +01:00
Peter 'Pita' Martischka b32f883a9d Optimize javascript minification, slight increase of file size, but massive performance improvement 2012-01-31 13:27:46 +01:00
Chad Weider a408557a0e Make implicit loading of modules unnecessary.
This is one step on the way to simplifying `Minify` and allowing all of the modules within pad.js to be loaded independently in development mode (which is useful for debugging).
2012-01-28 23:11:54 -08:00
booo 87b11045e1 fix issue #281? 2012-01-25 22:00:08 +01:00
Chad Weider 62e0a8f26c Use require-kernel for require functionality. 2012-01-22 09:54:28 -08:00
Chad Weider 71dfced06d Provide filename to isolation function. 2012-01-22 09:49:13 -08:00
Chad Weider 8bf0e7c2aa Allow dashes in included file names. 2012-01-22 09:49:13 -08:00
Chad Weider da95016228 Add a fake `require` to go with the fake `exports`. 2012-01-22 09:49:13 -08:00
Chad Weider fc68a25b21 Isolate all files in a closure. 2012-01-22 09:49:13 -08:00
Chad Weider ab02135643 Factor out taring process. 2012-01-22 09:49:13 -08:00
Chad Weider 9e16b9a575 Always use the JS assets processed by Minify.
This allows the preprocessing that will restrict scope of files to be done once in Minify.
2012-01-22 09:49:13 -08:00
Chad Weider 53549b7422 Use constants and CWD-independent paths for resource directories. 2012-01-22 09:42:09 -08:00
Chad Weider c3acdbe329 Minify uses the stardard middleware interface. 2012-01-22 09:33:17 -08:00
Peter 'Pita' Martischka d391dab558 fixed merge conflict 2012-01-22 15:23:50 +01:00
Chad Weider 9c91f16c71 Improve inlining of editor content.
Instead of replacing substrings, write each included file's content into a shared dictionary for lookup later. This eliminates duplication and arguably improves readability.
2012-01-15 11:27:04 -08:00
Chad Weider 77804673d7 Move packaging info into its own file. 2012-01-15 01:52:58 -08:00
Azul b1faa8e0f8 Make sure Minify.js finds its files 2012-01-05 11:44:07 +01:00
Jordan 2a86d57e46 Add ability to export specific pad revisions 2011-12-18 00:18:35 -05:00
Peter 'Pita' Martischka 5c56e62d67 Changed all error handling to async-stacktrace style + fixed import/export on unix 2011-12-04 16:50:02 +01:00
Peter 'Pita' Martischka 307d0acdeb put expolorer canvas into minify 2011-08-21 19:20:18 +01:00
Peter 'Pita' Martischka 9d37d91ce1 added a colorPicker 2011-08-20 18:22:10 +01:00
Peter 'Pita' Martischka 0e05e58c76 changed copyright from Peter 'Pita' Martischka to Peter 'Pita' Martischka (Primary Technology Ltd) 2011-08-11 15:27:16 +01:00
Peter 'Pita' Martischka ce725ba6fc Do not try to spawn a gzip process on windows 2011-08-04 13:42:02 +01:00
Peter 'Pita' Martischka 2aafcc1027 Fixed all requires 2011-07-27 18:52:23 +01:00