What would be the best way to store DB config (username, password) in an open source app that runs on node.js / Express? Two specific questions:   Shall I put it into a separate config.js file in /lib folder, for example, and never include it into th...
I am using requirejs. My main.js content is like following.  requirejs.config({     async: true,     parseOnLoad: true,     packages: [],     paths: {         jquery: 'https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min'     } });...
I'm using RequireJS on our site and before the files are deployed to production we are using rjs to minify the files. Currently I am creating several minified files, not a single file.  For better load times on our site we are also using multiple...
I need some help with the CkEditor v4.5.7. When I try to manually add some source code with the elements I'll show below, the editor strips the /css text from the text/css line, when I switch from the source area, to the normal editor area.  Befo...
Hello I've built a custom Ghost theme for a blog I'm starting and I would like create a map on a static page using d3 but I am stuck loading the geo json data. D3.json requires the data be available via a URL and I haven't been able to fi...
I am currently working with ExtJS. I have a textfield which has an emptyText set as a config.  "emptyText : 'Please enter'"  When I click on it, it doesn't disappear. Only if I enter something, it goes. Is there any way in which t...
Does anyone know how I create preset blocks of text to insert from a list in the toolbar?  I have an email API that I have integrated with a CMS and an admin can create a new email message to go out using custom tags.  When the CMS detects these cust...
Say I have a file like so:  export const dotReadme = {   config1: { // <-- I want to get this line number.     brief: 'foo1234',     title: 'foo!',   },   config2: { // <-- And I want to get this line number.     ...   }, }   I...
I have many configs in their directories which are responding for different tasks. But in some cases i need to get a config from another file. Example:  File1:  module.exports = Object.freeze({   uid: 'uid',   name: 'name',   admin: &...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.