Skip to content

Commit

Permalink
Made text encoding format consistent (removed BOMs)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSanderson committed Jul 22, 2010
1 parent 0f2cd1d commit 1fb1e14
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions build/output/knockout-latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ if (!Function.prototype.bind) {
return originalFunction.apply(object, args.concat(Array.prototype.slice.call(arguments)));
};
};
}/// <reference path="utils.js" />
}/// <reference path="utils.js" />

ko.memoization = (function () {
var memos = {};
Expand Down Expand Up @@ -420,7 +420,7 @@ ko.isObservable = function (instance) {
}
ko.isWriteableObservable = function (instance) {
return (typeof instance == "function") && instance.__ko_proto__ === ko.observable;
}/// <reference path="observable.js" />
}/// <reference path="observable.js" />

ko.observableArray = function (initialValues) {
var result = new ko.observable(initialValues);
Expand Down Expand Up @@ -532,7 +532,7 @@ ko.dependentObservable = function (evaluatorFunction, evaluatorFunctionTarget, o
evaluate();
return dependentObservable;
};
ko.dependentObservable.__ko_proto__ = ko.observable;/// <reference path="../utils.js" />
ko.dependentObservable.__ko_proto__ = ko.observable;/// <reference path="../utils.js" />

ko.jsonExpressionRewriting = (function () {
var restoreCapturedTokensRegex = /\[ko_token_(\d+)\]/g;
Expand Down Expand Up @@ -898,7 +898,7 @@ ko.templateEngine = function () {
this.createJavaScriptEvaluatorBlock = function (script) {
throw "Override createJavaScriptEvaluatorBlock in your ko.templateEngine subclass";
}
};/// <reference path="templateEngine.js" />
};/// <reference path="templateEngine.js" />

ko.templateRewriting = (function () {
var memoizeBindingAttributeSyntaxRegex = /(<[a-z]+(\s+(?!data-bind=)[a-z0-9]+(=(\"[^\"]*\"|\'[^\']*\'))?)*\s+)data-bind=(["'])(.*?)\5/g;
Expand Down Expand Up @@ -1036,7 +1036,7 @@ ko.templateRewriting = (function () {
}
}
};
})();/// <reference path="../../utils.js" />
})();/// <reference path="../../utils.js" />

// Simple calculation based on Levenshtein distance.
(function () {
Expand Down Expand Up @@ -1118,7 +1118,7 @@ ko.templateRewriting = (function () {
return findEditScriptFromEditDistanceMatrix(editDistanceMatrix, oldArray, newArray);
}
};
})();/// <reference path="compareArrays.js" />
})();/// <reference path="compareArrays.js" />

(function () {
// Objective:
Expand Down
2 changes: 1 addition & 1 deletion src/binding/editDetection/arrayToDomNodeChildren.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="compareArrays.js" />
/// <reference path="compareArrays.js" />

(function () {
// Objective:
Expand Down
2 changes: 1 addition & 1 deletion src/binding/editDetection/compareArrays.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../../utils.js" />
/// <reference path="../../utils.js" />

// Simple calculation based on Levenshtein distance.
(function () {
Expand Down
2 changes: 1 addition & 1 deletion src/binding/jsonExpressionRewriting.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../utils.js" />
/// <reference path="../utils.js" />

ko.jsonExpressionRewriting = (function () {
var restoreCapturedTokensRegex = /\[ko_token_(\d+)\]/g;
Expand Down
2 changes: 1 addition & 1 deletion src/memoization.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="utils.js" />
/// <reference path="utils.js" />

ko.memoization = (function () {
var memos = {};
Expand Down
2 changes: 1 addition & 1 deletion src/subscribables/observableArray.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="observable.js" />
/// <reference path="observable.js" />

ko.observableArray = function (initialValues) {
var result = new ko.observable(initialValues);
Expand Down
2 changes: 1 addition & 1 deletion src/templating/templateRewriting.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="templateEngine.js" />
/// <reference path="templateEngine.js" />

ko.templateRewriting = (function () {
var memoizeBindingAttributeSyntaxRegex = /(<[a-z]+(\s+(?!data-bind=)[a-z0-9]+(=(\"[^\"]*\"|\'[^\']*\'))?)*\s+)data-bind=(["'])(.*?)\5/g;
Expand Down

0 comments on commit 1fb1e14

Please sign in to comment.