![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@divine/amd-loader
Advanced tools
This is a small, fully static AMD module loader. It does not dynamically load scripts at runtime; instead, all modules must be available up front.
define('id', ['dep1', ...], function factory(dep1, ...) {...})
syntax.define('id', function(require, exports, module) {...})
syntax.define(['dep1', ...], function factory(dep1, ...) {...})
syntax.define(function(require, exports, module) {...})
syntax.<script>
tag. The name of the module will be automatically calculated
based on the path.requre()
function
require('module')
, which returns the module
immediately.require(['dep1', ...], function resolve(dep1, ...) {...}, function reject(error) { ...})
. The last argument may be omitted.define.amd.divine.debug
may be set to true
to enable
debug/diagnostics logging.define.amd.onReady(fn)
, which will be
invoked as soon as all defined modules have been initialized.webpack
as AMD once—a
rather slow operation—and then simply concatenate or load them directly via
<script>
tags."outFile": "app.js"
and "module": "amd"
options to compile to something deployable directly, without any other build
steps. Perfect for development and viable even for production.Copyright 2017 Martin Blom. A Divine Software™ production.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
A no-magic, no-nonsense, static and synchronous AMD loader
The npm package @divine/amd-loader receives a total of 6 weekly downloads. As such, @divine/amd-loader popularity was classified as not popular.
We found that @divine/amd-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.