Questions tagged [minifiedjs]

Minified.js is a client-side JavaScript library, comparable to jQuery and MooTools in scope. Its features include DOM manipulation, animation, events, cookies and HTTP requests

From the documentation:

•Tiny JavaScript framework (<4kb gzipped)
◦7-8 times smaller than jQuery or MooTools
◦allows even smaller builds using the Builder tool

•Complete Feature Set
◦Nearly all features that jQuery and MooTools have.
◦Some extra features that jQuery and/or MooTools do not have.
◦Flexible enough to make up for missing features

•No Magic ◦Aims to be predictable
◦Never changes built-ins, no polyfills, no emulated properties
◦Simple, clean API without surprises

Project website

34 questions
14
votes
2 answers

Can I translate a stacktrace from minified code into a human readable stacktrace using sourcemaps?

I have some errors from minified code in production. I have sourcemaps not in production. I'd like to (after the fact) use source maps in a way to convert my stack trace into a human readable stack trace. Has anyone done this before?
Parris
  • 17,833
  • 17
  • 90
  • 133
8
votes
1 answer

Nextjs not minified (event in production)

I'm really going crazy becauase I read everywhere that nextjs minify js (and I think also SCSS/CSS) files, but it seems impossibile to me to see my file minified. I copy here my "next.config.js" file: const withPlugins =…
Mauro
  • 171
  • 1
  • 3
  • 7
4
votes
3 answers

TinyMCE MS MVC looking for non-minified file

I have an MS MVC deployment that is looking for a subscript for TinyMCE "theme.js" and not finding it because the file is theme.min.js. How do I get MVC to look for the minified file? The tinymce file is tinyMCE.min.js, so it is finding that one. Is…
Terry H
  • 310
  • 4
  • 19
4
votes
2 answers

What is the 'double-dot' [eg. 5..toFixed()] I see in minified js?

I'm working on a project where I need to deal with javacsript frameworks for work. We have a parser that reads through them, but errors on lines with .. such as 1..toPrecision() or 24..map(function(t){return 7..map(function(a){return…
suhmedoh
  • 103
  • 1
  • 4
3
votes
1 answer

compiled/minified jsx file is bigger than original file

The original jsx file size is 189k after removing all spaces. The compiled/minified file size js is 217k without any dependencies. I have used all webpack/babel optimization to minify code size except treeshaking. I am planning to shorten member…
poordeveloper
  • 2,272
  • 1
  • 23
  • 36
2
votes
0 answers

Sourcemaps on minified js built in Dart release mode not working

Dart application built in release mode with Sourcemaps turned on in pubspec.yaml do not work in Chrome. When I open developer tools the code is still minified. Anyone have luck with this? To workaround this I'm building my app in debug mode for my…
Jessica Wood
  • 123
  • 1
  • 8
2
votes
1 answer

MinifiedJS $.request post FormData

I'm trying to make an AJAX file uploading using MinifiedJS and $.request. I have and HTML file with an input file. And my Javascript code looks like this. $('#fileAvatar').on('change', uploadAvatar); function…
1
vote
1 answer

Postman - calling function in external JS file - 'x is not defined'

Other posts have dealt with this question, but I continue to be unable to apply this myself. I have a Postman pre-script test. I am trying to call an encryption function defined in http://some-server:port/lib/forge/forge.min.js The code calls the…
Guy
  • 666
  • 1
  • 10
  • 34
1
vote
1 answer

webpack -p error: ERROR in bundle.js from UglifyJs

I am using webpack version 3.2.0. webpack command is working fine but webpack -p raises below error stack. ERROR in bundle.js from UglifyJs Unexpected character '`' [bundle.js:1168,19] My file contains backtick in javascript file. `
Soham Navadiya
  • 403
  • 1
  • 6
  • 18
1
vote
1 answer

client host name being appended to client requests

I have the following configuration in my angular nodejs app minified javascript file // Constants .constant('config', { appName: 'My App', appVersion: 1.0, apiUrl: "someAPI" }); But when the requests are made from…
user_mda
  • 18,148
  • 27
  • 82
  • 145
1
vote
0 answers

Minifiedjs, npm and Browserify

http://minifiedjs.com Minified Website states: No matter whether you are including Minified with a script tag or you use a synchronous loader like RequireJS, it is recommended to use the following lines to define the five essential references: var…
1
vote
0 answers

Huge chunks of minified js file interpretted as block comments

I didn't see almost any support on this issue surprisingly (I'd imagine this to be a common problem) so, I'm here. I'm working on an angularFire webapp and when downloading the minified js files for the latest versions of angular (1.5.0) and…
1
vote
0 answers

MinifiedJS $.request() with Basic Authentication

I am trying to make a request with Basic Authentication using MinifiedJS. Here is my current code: $.request("get", requestURL, null, { xhr: { withCredentials: true }, user: "admin", …
David Gölzhäuser
  • 3,525
  • 8
  • 50
  • 98
1
vote
0 answers

minified JS causing ie 11 memory to grow by 1MB on page refresh

I have an application.js file that has my minified javascript. on IE11, every time I refresh my page I see 1MB heap growth until it crashes the app eventually. If I don't minify my javascript then everything is fine and the heap size stays at 250k.…
1
vote
2 answers

Repeat MinifiedJS function X times?

I am using the library at minifiedjs.com. Using that script, I have a div blinking twice: vbox1.animate({$backgroundColor: 'grey'}, 100) .then(function() { return vbox1.animate({$backgroundColor: 'transparent'}, 100) }) .then(function() { return…
Jason Axelrod
  • 7,155
  • 10
  • 50
  • 78
1
2 3