Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2025 from adobe/randy/fix-unit-test
Browse files Browse the repository at this point in the history
Fix Live Development unit test
  • Loading branch information
jasonsanjose committed Nov 1, 2012
2 parents ad169d6 + 9f0da09 commit 22df335
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions src/LiveDevelopment/LiveDevelopment.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ define(function LiveDevelopment(require, exports, module) {
// Agents
var agents = {
"console" : require("LiveDevelopment/Agents/ConsoleAgent"),
"css" : require("LiveDevelopment/Agents/CSSAgent"),
"remote" : require("LiveDevelopment/Agents/RemoteAgent"),
"network" : require("LiveDevelopment/Agents/NetworkAgent"),
"dom" : require("LiveDevelopment/Agents/DOMAgent"),
"edit" : require("LiveDevelopment/Agents/EditAgent"),
"goto" : require("LiveDevelopment/Agents/GotoAgent"),
"css" : require("LiveDevelopment/Agents/CSSAgent"),
"script" : require("LiveDevelopment/Agents/ScriptAgent"),
"highlight" : require("LiveDevelopment/Agents/HighlightAgent"),
"network" : require("LiveDevelopment/Agents/NetworkAgent"),
"remote" : require("LiveDevelopment/Agents/RemoteAgent"),
"script" : require("LiveDevelopment/Agents/ScriptAgent")
"goto" : require("LiveDevelopment/Agents/GotoAgent"),
"edit" : require("LiveDevelopment/Agents/EditAgent")
};

// Some agents are still experimental, so we don't enable them all by default
Expand All @@ -101,10 +101,10 @@ define(function LiveDevelopment(require, exports, module) {
// Property names should match property names in the 'agents' object.
var _enabledAgentNames = {
"console" : true,
"css" : true,
"dom" : true,
"remote" : true,
"network" : true,
"remote" : true
"dom" : true,
"css" : true
};

// store the names (matching property names in the 'agent' object) of agents that we've loaded
Expand Down
2 changes: 1 addition & 1 deletion test/spec/LiveDevelopment-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ define(function (require, exports, module) {
});
});

xit("should reapply in-memory css changes after saving changes in html document", function () {
it("should reapply in-memory css changes after saving changes in html document", function () {
var localCssText,
browserCssText,
origHtmlText,
Expand Down

0 comments on commit 22df335

Please sign in to comment.