<commit_before>"use strict";

require("./fixtures/env")
var zeroClipboard, clip;

exports.dom = {
  setUp: function (callback) {
    zeroClipboard = require("../ZeroClipboard");
    clip = new zeroClipboard.Client();
    callback();
  },

  tearDown: function (callback) {
    zeroClipboard.destroy();
    callback();
  },

  "Changing movie path works": function (test) {

    // Test the client has default path
    test.equal(zeroClipboard._moviePath, "ZeroClipboard.swf");

    // change the path
    zeroClipboard.setMoviePath("new/movie/path.swf");
    test.equal(zeroClipboard._moviePath, "new/movie/path.swf");

    test.done();
  },

  "Set trusted domain": function (test) {

    // Test the _trustedDomain is undefined
    test.equal(zeroClipboard._trustedDomain, undefined);
<commit_msg>core not dom<commit_after>"use strict";

require("./fixtures/env")
var zeroClipboard, clip;

exports.core = {
  setUp: function (callback) {
    zeroClipboard = require("../ZeroClipboard");
    clip = new zeroClipboard.Client();
    callback();
  },

  tearDown: function (callback) {
    zeroClipboard.destroy();
    callback();
  },

  "Changing movie path works": function (test) {

    // Test the client has default path
    test.equal(zeroClipboard._moviePath, "ZeroClipboard.swf");

    // change the path
    zeroClipboard.setMoviePath("new/movie/path.swf");
    test.equal(zeroClipboard._moviePath, "new/movie/path.swf");

    test.done();
  },

  "Set trusted domain": function (test) {

    // Test the _trustedDomain is undefined
    test.equal(zeroClipboard._trustedDomain, undefined);

{'fraction_non_alphanumeric': 0.1414267834793492, 'fraction_numerical': 0.0, 'mean_word_length': 3.5816618911174785, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1818126', 'n_tokens_mistral': 513, 'n_tokens_neox': 490, 'n_words': 110}