Skip to main content
2 of 10
added 23 characters in body
Laurel
  • 785
  • 6
  • 7

This smells extremely fishy. I did some digging, and I discovered that it's a small world. Not only do many of these users answer each other's questions, they also have a similar style of coding.

Let me give some hard evidence.

"robert the bruce"

Excerpt of code from here:

/****************************************************************************************************
invokeTest
****************************************************************************************************/

Another excerpt:

// note
//   - on a func truthy match returns true and on no match returns false
//   - on a func or obj validation fail will returns false

var Pub = {};
Pub.someKey = Pub.forSomeKey = function (obj, func, con) {
    var key;
    if (!Pub.isFunction(func)) {
        return false;
    }
    for (key in obj) {
        if (obj.hasOwnProperty(key)) {
            if (func.call(con, obj[key], key, obj)) {
                return true;
            }
        }
    }
    return false;
};

Answered this question: http://stackoverflow.com/questions/36728820/. But do you want to know who asked this?

That would be...

"a. b1c1c1d"

Excerpt:

// on a truthy match returns true and breaks from loop
Pub.someKey = function (obj, func, con) {
    var key;
    if (!Pub.isFunction(func)) {
        return false;
    }
    for (key in obj) {
        if (obj.hasOwnProperty(key)) {
            if (func.call(con, obj[key], key, obj)) {
                return true;
            }
        }
    }
    return false;
};
Pub.forSomeKey = Pub.someKey;

Excerpt of code from here

/******************************************************************************************************************(120)
** TitleMaker
** - Dependency - DOM
**
*/

Answered this question http://stackoverflow.com/q/37040111. But do you want to know who asked this question this time?

"arc.slate .0"

Excerpt of code:

/******************************************************************************************************************(120)
** Storage
** - Dependencies - None
** - Basically creates a namespace for Storage facilities
** - Used to manage local and session storage for login purposes
** - Note - underscore each() will error on web storage because of the length property
*/

But I found something else. There's ANOTHER user that I found on SO, but they're deleted. But they may be the most important piece there is.

"user3293653"

// *Pub is released to $A.
// does not extend through the prototype chain like similar underscore version
Pub.extend = function (obj) {

    // loop through elements beyond obj
    Pub.someIndex(nativeSlice.call(arguments, 1), function (val) {

        // extend it
        Pub.someKey(val, function (val_inner, key) {
            obj[key] = val_inner;
        });
    });
    return obj;
};

/***************************************************************************************************
**CArcmarks
*/

    var CArcmarks = $A.Class.create({

I may have a lead to what the mysterious "private library" is. Given the information that I found in their one post, I found these links:

https://github.com/arc-frame/arcframe

http://arcmarks.com/

Compare this file: https://github.com/arc-frame/arcframe/blob/844fc8b5e3dccf42f2995fb547ca0bf1745a64c7/web/source/js/object.00.Storage.js

To this one: object.Storage.js - creates a namespace for Storage

Laurel
  • 785
  • 6
  • 7