enter link description hereBoilerplateJS only come with old 1.0.X RequireJS. Is it able to work with the latest one?
Yes. It does work with the new RequireJS versions.
Replace the requirejs and the plugin files (text, domReady and i18n) in the libs folder. The order plugin is not needed. The path plugin is a custom plugin for BoilerplateJS and it works fine with the new versions.
Related
I have an application in Svelte that only works on versions above 84 of chrome, but I need it to work on older versions as well. Is there any way to solve this problem?
This depends on your build system and what the source of the problem is.
E.g. Vite has built-in support for transpiling to specific JS versions. However, if an API is missing, you have to add polyfills (e.g. via core-js).
I want to use Preview features of office-js Excel API (specifically DataValidation).
This page says that I should use Beta version of the library and they provide a link but I have no idea what to do with it.
What I did so far:
I have added the js path to index.html.
I copied types from ts file to file in node_modules.
But it doesn't seem like a good solution since whenever I update #types/office-js I would also have to copy source again...
If you are using angular follow these steps.
Refer to the beta office js cdn.
<script src="https://appsforoffice.microsoft.com/lib/beta/hosted/office.js" type="text/javascript"></script>
If you need type definition for beta version, install this.
npm install --save-dev #types/office-js-preview
If you were already using the production version, uninstall it:
npm uninstall --save-dev #types/office-js
Mention the following type in tsconfig.app.json like this (if types is already empty).
"types": ["office-js-preview"]
in order to use preview Api you only need:
Install latest insiders fast build, AND
refer to the BETA
CDN for office.js and if you will use typescript the typescript
library: here are the URLs you need to use, as Ricky suggests make sure you add those references to your HTML or JS files in your web app.
https://appsforoffice.microsoft.com/lib/beta/hosted/office.js
https://appsforoffice.microsoft.com/lib/beta/hosted/office.d.ts
I have built and added some new plugins to MPS and when I am trying to use them I am getting the following error "The language is not deployed 'com.abc.plugin.implementation'"
Anybody faced the similar problem and have a solution can help me?
MPS Version used: 2017.1.2
JDK: 1.8
Do you mean language plugins or other? If Yes can you find sources of your plugin (ctrl+alt+shift+S opens find module popup)? If there is no sources then plugin wasn't loaded. If you can find sources then probably some of language dependencies is not found (if any module in MPS has broken dependency then it won't be deployed). May be you build plugin with language, but didn't include it's runtime module.
This issue is a bug in MPS which is logged in youtrack as below:
https://youtrack.jetbrains.com/issue/MPS-26437
Layout node for plugin places all modules of a group under a single folder. If there's a devkit among the modules, only devkits are loaded (https://youtrack.jetbrains.com/issue/MPS-25852), and other modules are ignored.
Unless we've got devkits deployed as regular modules, not simple files, MPS could place these devkit files separately when deploying a module as a workaround.
This problem is resolved and available with commit # 2edca430f054c908eb7606bad8ac6af46e0a7352
I cannot find a replacement plugin for a videoplayer plugin I've been using for the past year.
Question:
To play local storage and/or online videos, what has been your way of implementing? (And have you tried using the PhoneGap version cli-6.5.0?) iFrame using the tag does not work for me. I have to assume it's because it's an app.
The dawsonloudon player isn't on NPM, so I'm a little stuck as to finding a suitable replacement. And example code would be appreciated, as it feels like it is lacking
What I did to resolve this:
Since PhoneGap moved its plugin repository to NPM, the DawsonLouden plugin hasn't made it over to NPM. So the build process essentially stopped because it couldn't find it.
What I did was bring the Dawson Louden plugin into the application, instead of making reference to the plugin via the config.xml. This allows the plugin to be used internally versus grabbing it externally from the plugin repository.
Not being too familiar with plugins, I found an article which stepped me through how to download the Dawson Louden plugin code (via GitHub) and then use that plugin within my solution:
https://github.com/krisrandall/streaming-media-plugin-demo
Just make reference to the VideoPlayer GitHub project instead of the streaming media plugin project:
https://github.com/dawsonloudon/VideoPlayer
(also don't worry about the last 5 steps of the example...there is no demo project to download from GitHub). You will have the plugin source code at this point anyways.
You should copy the source code for the plugin into the "plugins" folder within your PhoneGap project.
Then I instead of saying this in the config.xml:
<gap:plugin name="com.dawsonloudon.videoplayer" version="1.0.0" />
Make reference to the local plugin in the config.xml using the feature tag:
<feature name="VideoPlayer" >
<param name="android-package" value="com.dawsonloudon.videoplayer"/>
</feature>
That was all it took. One other note I discovered is that the VideoPlayer plugin didn't work on my Galaxy S5 but did on S6.
The old version of express had an option to use sass as the CSS engine for a site. I see now the version I am running (2.5.5) does not offer this up as an option, instead it has vanilla css of stylus.
Can anyone verify that support is still offered.
This GitHub issue is over 6 months old stating Express doesn't support SASS.
you have to use something like LESS, sass.js, Stylus, etc. Stylus /
LESS both support regular css syntax you can check it out here
It appears that this feature has been removed. Use of third party recommended.